==28977== Memcheck, a memory error detector. ==28977== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==28977== Using LibVEX rev 1367, a library for dynamic binary translation. ==28977== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==28977== Using valgrind-3.0.1, a dynamic binary instrumentation framework. ==28977== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. --28977-- Valgrind library directory: /usr/lib64/valgrind --28977-- Command line --28977-- /home/fca/bin/nano --28977-- Startup, with flags: --28977-- -v --28977-- --leak-resolution=high --28977-- --leak-check=full --28977-- Contents of /proc/version: --28977-- Linux version 2.6.13-gentoo (address@hidden) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #2 Tue Aug 30 22:02:04 CEST 2005 --28977-- Reading syms from /home/fca/bin/nano (0x400000) --28977-- Reading syms from /lib64/ld-2.3.5.so (0x11900000) --28977-- object doesn't have a symbol table --28977-- Reading suppressions file: /usr/lib64/valgrind/default.supp ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F5F6: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903ED4: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190457C: (within /lib64/ld-2.3.5.so) ==28977== by 0x119024FF: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) --28977-- Reading syms from /usr/lib64/valgrind/vg_preload_core.so (0x11A19000) --28977-- object doesn't have a symbol table ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F133: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F142: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F151: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F682: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C87: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F682: (within /lib64/ld-2.3.5.so) ==28977== by 0x11907CFC: (within /lib64/ld-2.3.5.so) ==28977== by 0x11904829: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190601E: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) --28977-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck.so (0x11B1A000) --28977-- object doesn't have a symbol table --28977-- Reading syms from /lib64/libncursesw.so.5.4 (0x11C49000) --28977-- object doesn't have a symbol table --28977-- Reading syms from /lib64/libc-2.3.5.so (0x11DAF000) --28977-- object doesn't have a symbol table --28977-- Reading syms from /lib64/libdl-2.3.5.so (0x11FD6000) --28977-- object doesn't have a symbol table ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190837E: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190277F: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x119083C4: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190277F: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190837E: (within /lib64/ld-2.3.5.so) ==28977== by 0x119027E2: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x119083C4: (within /lib64/ld-2.3.5.so) ==28977== by 0x119027E2: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) --28977-- REDIR: 0x11E1E360 (rindex) redirected to 0x11B1DE70 (rindex) --28977-- REDIR: 0x11E202A0 (memcpy) redirected to 0x11B1E480 (memcpy) --28977-- REDIR: 0x11E1CC20 (strcmp) redirected to 0x11B1E3F0 (strcmp) --28977-- REDIR: 0x11E1D990 (strlen) redirected to 0x11B1E170 (strlen) --28977-- REDIR: 0x11E1DEB0 (strncmp) redirected to 0x11B1E3A0 (strncmp) --28977-- REDIR: 0x11E1CA70 (index) redirected to 0x11B1DF30 (index) --28977-- REDIR: 0x11E175C0 (free) redirected to 0x11B1CD30 (free) --28977-- REDIR: 0x11E191A0 (malloc) redirected to 0x11B1C010 (malloc) --28977-- REDIR: 0x11E1E2C0 (strncpy) redirected to 0x11B1E290 (strncpy) --28977-- REDIR: 0x11E197F0 (realloc) redirected to 0x11B1D760 (realloc) --28977-- REDIR: 0x11E1F040 (memset) redirected to 0x11B1E8E0 (memset) --28977-- REDIR: 0x11E18E70 (calloc) redirected to 0x11B1D690 (calloc) --28977-- REDIR: 0x11E1DD30 (strnlen) redirected to 0x11B1E140 (strnlen) --28977-- REDIR: 0x11E1CF70 (strcpy) redirected to 0x11B1E1D0 (strcpy) ==28977== ==28977== ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0) ==28977== ==28977== 1 errors in context 1 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x119083C4: (within /lib64/ld-2.3.5.so) ==28977== by 0x119027E2: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 2 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190837E: (within /lib64/ld-2.3.5.so) ==28977== by 0x119027E2: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 3 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x119083C4: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190277F: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 4 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190837E: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190277F: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 5 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F682: (within /lib64/ld-2.3.5.so) ==28977== by 0x11907CFC: (within /lib64/ld-2.3.5.so) ==28977== by 0x11904829: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190601E: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 6 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F682: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C87: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 7 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F151: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 8 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F142: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 9 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F133: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11905FAE: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900BCA: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190A4DF: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900C7A: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903040: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== ==28977== 1 errors in context 10 of 10: ==28977== Conditional jump or move depends on uninitialised value(s) ==28977== at 0x1190F5F6: (within /lib64/ld-2.3.5.so) ==28977== by 0x11903ED4: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190457C: (within /lib64/ld-2.3.5.so) ==28977== by 0x119024FF: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190D978: (within /lib64/ld-2.3.5.so) ==28977== by 0x1190169B: (within /lib64/ld-2.3.5.so) ==28977== by 0x11900B37: (within /lib64/ld-2.3.5.so) ==28977== IN SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0) ==28977== ==28977== malloc/free: in use at exit: 1110915 bytes in 1507 blocks. ==28977== malloc/free: 36438 allocs, 34931 frees, 1352178 bytes allocated. ==28977== ==28977== searching for pointers to 1507 not-freed blocks. ==28977== checked 1260624 bytes. ==28977== ==28977== ==28977== 1 bytes in 1 blocks are definitely lost in loss record 8 of 231 ==28977== at 0x11B1C06E: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) ==28977== by 0x41515F: nmalloc (utils.c:346) ==28977== by 0x415219: mallocstrncpy (utils.c:375) ==28977== by 0x415277: mallocstrcpy (utils.c:385) ==28977== by 0x410E12: history_init (search.c:1145) ==28977== by 0x40EDA1: main (nano.c:2219) ==28977== ==28977== ==28977== 4 bytes in 1 blocks are definitely lost in loss record 9 of 231 ==28977== at 0x11B1C06E: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) ==28977== by 0x41515F: nmalloc (utils.c:346) ==28977== by 0x415898: get_input (winio.c:291) ==28977== by 0x4159D3: parse_kbinput (winio.c:364) ==28977== by 0x415962: get_kbinput (winio.c:329) ==28977== by 0x41A4BF: do_yesno (winio.c:3812) ==28977== by 0x40DC1E: do_exit (nano.c:1250) ==28977== by 0x40E4F7: do_input (nano.c:1680) ==28977== by 0x40F0A9: main (nano.c:2426) ==28977== ==28977== ==28977== 20 bytes in 20 blocks are definitely lost in loss record 38 of 231 ==28977== at 0x11B1C06E: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) ==28977== by 0x41515F: nmalloc (utils.c:346) ==28977== by 0x415219: mallocstrncpy (utils.c:375) ==28977== by 0x415277: mallocstrcpy (utils.c:385) ==28977== by 0x4110C3: update_history (search.c:1234) ==28977== by 0x40FBD4: do_search (search.c:449) ==28977== by 0x40E4F7: do_input (nano.c:1680) ==28977== by 0x40F0A9: main (nano.c:2426) ==28977== ==28977== ==28977== 40 bytes in 10 blocks are definitely lost in loss record 73 of 231 ==28977== at 0x11B1C06E: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) ==28977== by 0x41515F: nmalloc (utils.c:346) ==28977== by 0x415898: get_input (winio.c:291) ==28977== by 0x4159D3: parse_kbinput (winio.c:364) ==28977== by 0x415962: get_kbinput (winio.c:329) ==28977== by 0x4171AD: do_statusbar_input (winio.c:1681) ==28977== by 0x418753: nanogetstr (winio.c:2553) ==28977== by 0x418B52: statusq (winio.c:2701) ==28977== by 0x4052E7: do_insertfile (files.c:618) ==28977== by 0x4054C6: do_insertfile_void (files.c:789) ==28977== by 0x40E4F7: do_input (nano.c:1680) ==28977== by 0x40F0A9: main (nano.c:2426) ==28977== ==28977== ==28977== 96 bytes in 24 blocks are definitely lost in loss record 187 of 231 ==28977== at 0x11B1C06E: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) ==28977== by 0x41515F: nmalloc (utils.c:346) ==28977== by 0x415898: get_input (winio.c:291) ==28977== by 0x4159D3: parse_kbinput (winio.c:364) ==28977== by 0x415962: get_kbinput (winio.c:329) ==28977== by 0x4171AD: do_statusbar_input (winio.c:1681) ==28977== by 0x418753: nanogetstr (winio.c:2553) ==28977== by 0x418B52: statusq (winio.c:2701) ==28977== by 0x40F538: search_init (search.c:164) ==28977== by 0x40FB42: do_search (search.c:424) ==28977== by 0x40E4F7: do_input (nano.c:1680) ==28977== by 0x40F0A9: main (nano.c:2426) ==28977== ==28977== ==28977== 276 bytes in 69 blocks are definitely lost in loss record 202 of 231 ==28977== at 0x11B1C06E: malloc (in /usr/lib64/valgrind/vgpreload_memcheck.so) ==28977== by 0x41515F: nmalloc (utils.c:346) ==28977== by 0x415898: get_input (winio.c:291) ==28977== by 0x4159D3: parse_kbinput (winio.c:364) ==28977== by 0x415962: get_kbinput (winio.c:329) ==28977== by 0x40E21A: do_input (nano.c:1569) ==28977== by 0x40F0A9: main (nano.c:2426) ==28977== ==28977== LEAK SUMMARY: ==28977== definitely lost: 437 bytes in 125 blocks. ==28977== possibly lost: 0 bytes in 0 blocks. ==28977== still reachable: 1110478 bytes in 1382 blocks. ==28977== suppressed: 0 bytes in 0 blocks. ==28977== Reachable blocks (those to which a pointer was found) are not shown. ==28977== To see them, rerun with: --show-reachable=yes --28977-- memcheck: sanity checks: 486 cheap, 20 expensive --28977-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --28977-- memcheck: auxmaps: 0 searches, 0 comparisons --28977-- memcheck: secondaries: 64 issued (4096k, 4M) --28977-- memcheck: secondaries: 117 accessible and distinguished (7488k, 7M) --28977-- tt/tc: 22688 tt lookups requiring 23730 probes --28977-- tt/tc: 22688 fast-cache updates, 2 flushes --28977-- translate: new 5894 (149697 -> 2825133; ratio 188:10) [0 scs] --28977-- translate: dumped 0 (0 -> ??) --28977-- translate: discarded 0 (0 -> ??) --28977-- scheduler: 24303305 jumps (bb entries). --28977-- scheduler: 486/89932 major/minor sched events. --28977-- sanity: 487 cheap, 20 expensive checks. --28977-- exectx: 4999 lists, 433 contexts (avg 0 per list) --28977-- exectx: 70370 searches, 73499 full compares (1044 per 1000) --28977-- exectx: 0 cmp2, 45 cmp4, 27754 cmpAll