==24425== Memcheck, a memory error detector. ==24425== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==24425== Using LibVEX rev 1471, a library for dynamic binary translation. ==24425== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==24425== Using valgrind-3.1.0-Debian, a dynamic binary instrumentation framework. ==24425== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==24425== ==24425== My PID = 24425, parent PID = 29807. Prog and args are: ==24425== update-desktop-database ==24425== -q ==24425== -v ==24425== --24425-- --24425-- Command line --24425-- update-desktop-database --24425-- -q --24425-- -v --24425-- Startup, with flags: --24425-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp --24425-- --log-file-exactly=/tmp/L2 --24425-- -v --24425-- Contents of /proc/version: --24425-- Linux version 2.6.14.6-grsec-netfinity (lgb@ani) (gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)) #1 SMP Mon Jan 23 09:27:54 CET 2006 --24425-- Arch and subarch: X86, x86-sse1 --24425-- Valgrind library directory: /usr/lib/valgrind --24425-- Reading syms from /lib/ld-2.3.6.so (0x4000000) --24425-- Reading debug info from /lib/ld-2.3.6.so... --24425-- ... CRC mismatch (computed F305999E wanted 041122DD) --24425-- Reading debug info from /usr/lib/debug/lib/ld-2.3.6.so... --24425-- object doesn't have a symbol table --24425-- Reading syms from /usr/bin/update-desktop-database (0x8048000) --24425-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0xA000000) --24425-- object doesn't have a dynamic symbol table --24425-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp --24425-- Reading suppressions file: /usr/lib/valgrind/default.supp --24425-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4018000) --24425-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401A000) --24425-- Reading syms from /usr/lib/libglib-2.0.so.0.1000.2 (0x402A000) --24425-- Reading debug info from /usr/lib/libglib-2.0.so.0.1000.2... --24425-- ... CRC mismatch (computed BFB98917 wanted 61A51B1B) --24425-- Reading debug info from /usr/lib/debug/usr/lib/libglib-2.0.so.0.1000.2... --24425-- object doesn't have a symbol table --24425-- Reading syms from /lib/libpopt.so.0.0.0 (0x40AE000) --24425-- object doesn't have a symbol table --24425-- Reading syms from /usr/lib/debug/libc-2.3.6.so (0x40B6000) --24425-- REDIR: 0x411D5B0 (rindex) redirected to 0x401CD72 (rindex) --24425-- REDIR: 0x411E64C (memcpy) redirected to 0x401D2CD (memcpy) --24425-- REDIR: 0x411995E (malloc) redirected to 0x401B3A0 (malloc) --24425-- REDIR: 0x411E100 (memset) redirected to 0x401D209 (memset) --24425-- REDIR: 0x4119624 (calloc) redirected to 0x401C71C (calloc) --24425-- REDIR: 0x411D210 (strlen) redirected to 0x401CEE5 (strlen) --24425-- REDIR: 0x411CD6C (strcpy) redirected to 0x401D4F7 (strcpy) --24425-- REDIR: 0x411D4F8 (strncpy) redirected to 0x401D845 (strncpy) --24425-- REDIR: 0x411B5D0 (posix_memalign) redirected to 0x401C9CC (posix_memalign) --24425-- REDIR: 0x411A02F (realloc) redirected to 0x401C7D1 (realloc) --24425-- REDIR: 0x411D3E4 (strncmp) redirected to 0x401CF2D (strncmp) --24425-- REDIR: 0x4117D48 (free) redirected to 0x401BF51 (free) --24425-- REDIR: 0x411CB60 (index) redirected to 0x401CE3D (index) --24425-- REDIR: 0x411E2F0 (stpcpy) redirected to 0x401D5B4 (stpcpy) --24425-- REDIR: 0x411DEA0 (memchr) redirected to 0x401D043 (memchr) --24425-- REDIR: 0x411CCC8 (strcmp) redirected to 0x401CFA9 (strcmp) --24425-- REDIR: 0x411D2C0 (strnlen) redirected to 0x401CEBA (strnlen) ==24425== Conditional jump or move depends on uninitialised value(s) ==24425== at 0x804A63F: print_desktop_dirs (update-desktop-database.c:465) ==24425== by 0x804A73C: main (update-desktop-database.c:514) ==24425== ==24425== Invalid read of size 1 ==24425== at 0x804E8E7: egg_desktop_entries_parse_value_as_string (eggdesktopentries.c:2787) ==24425== by 0x804C671: egg_desktop_entries_get_string (eggdesktopentries.c:1349) ==24425== by 0x804C823: egg_desktop_entries_get_string_list (eggdesktopentries.c:1434) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== Address 0x431544F is 1 bytes before a block of size 1 alloc'd ==24425== at 0x401B422: malloc (vg_replace_malloc.c:149) ==24425== by 0x4054FE1: g_malloc (gmem.c:131) ==24425== by 0x4064D75: g_strdup (gstrfuncs.c:91) ==24425== by 0x804C3C2: egg_desktop_entries_get_value (eggdesktopentries.c:1268) ==24425== by 0x804C630: egg_desktop_entries_get_string (eggdesktopentries.c:1341) ==24425== by 0x804C823: egg_desktop_entries_get_string_list (eggdesktopentries.c:1434) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== ==24425== Invalid read of size 1 ==24425== at 0x804C87B: egg_desktop_entries_get_string_list (eggdesktopentries.c:1444) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== Address 0x4315487 is 1 bytes before a block of size 1 alloc'd ==24425== at 0x401B422: malloc (vg_replace_malloc.c:149) ==24425== by 0x4054FE1: g_malloc (gmem.c:131) ==24425== by 0x804E7C2: egg_desktop_entries_parse_value_as_string (eggdesktopentries.c:2723) ==24425== by 0x804C671: egg_desktop_entries_get_string (eggdesktopentries.c:1349) ==24425== by 0x804C823: egg_desktop_entries_get_string_list (eggdesktopentries.c:1434) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== ==24425== Conditional jump or move depends on uninitialised value(s) ==24425== at 0x804A7D4: main (update-desktop-database.c:517) ==24425== ==24425== ERROR SUMMARY: 6 errors from 4 contexts (suppressed: 15 from 1) ==24425== ==24425== 1 errors in context 1 of 4: ==24425== Conditional jump or move depends on uninitialised value(s) ==24425== at 0x804A7D4: main (update-desktop-database.c:517) ==24425== ==24425== 1 errors in context 2 of 4: ==24425== Conditional jump or move depends on uninitialised value(s) ==24425== at 0x804A63F: print_desktop_dirs (update-desktop-database.c:465) ==24425== by 0x804A73C: main (update-desktop-database.c:514) ==24425== ==24425== 2 errors in context 3 of 4: ==24425== Invalid read of size 1 ==24425== at 0x804C87B: egg_desktop_entries_get_string_list (eggdesktopentries.c:1444) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== Address 0x4315487 is 1 bytes before a block of size 1 alloc'd ==24425== at 0x401B422: malloc (vg_replace_malloc.c:149) ==24425== by 0x4054FE1: g_malloc (gmem.c:131) ==24425== by 0x804E7C2: egg_desktop_entries_parse_value_as_string (eggdesktopentries.c:2723) ==24425== by 0x804C671: egg_desktop_entries_get_string (eggdesktopentries.c:1349) ==24425== by 0x804C823: egg_desktop_entries_get_string_list (eggdesktopentries.c:1434) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== ==24425== 2 errors in context 4 of 4: ==24425== Invalid read of size 1 ==24425== at 0x804E8E7: egg_desktop_entries_parse_value_as_string (eggdesktopentries.c:2787) ==24425== by 0x804C671: egg_desktop_entries_get_string (eggdesktopentries.c:1349) ==24425== by 0x804C823: egg_desktop_entries_get_string_list (eggdesktopentries.c:1434) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) ==24425== Address 0x431544F is 1 bytes before a block of size 1 alloc'd ==24425== at 0x401B422: malloc (vg_replace_malloc.c:149) ==24425== by 0x4054FE1: g_malloc (gmem.c:131) ==24425== by 0x4064D75: g_strdup (gstrfuncs.c:91) ==24425== by 0x804C3C2: egg_desktop_entries_get_value (eggdesktopentries.c:1268) ==24425== by 0x804C630: egg_desktop_entries_get_string (eggdesktopentries.c:1341) ==24425== by 0x804C823: egg_desktop_entries_get_string_list (eggdesktopentries.c:1434) ==24425== by 0x8049D6B: process_desktop_file (update-desktop-database.c:195) ==24425== by 0x8049FAD: process_desktop_files (update-desktop-database.c:278) ==24425== by 0x804A486: update_database (update-desktop-database.c:419) ==24425== by 0x804A76E: main (update-desktop-database.c:520) --24425-- --24425-- supp: 15 Debian libc6 2.3.6 stripped dynamic linker ==24425== ==24425== IN SUMMARY: 6 errors from 4 contexts (suppressed: 15 from 1) ==24425== ==24425== malloc/free: in use at exit: 13,530 bytes in 43 blocks. ==24425== malloc/free: 46,632 allocs, 46,589 frees, 3,226,856 bytes allocated. ==24425== ==24425== searching for pointers to 43 not-freed blocks. ==24425== checked 91,900 bytes. ==24425== ==24425== LEAK SUMMARY: ==24425== definitely lost: 0 bytes in 0 blocks. ==24425== possibly lost: 744 bytes in 3 blocks. ==24425== still reachable: 12,786 bytes in 40 blocks. ==24425== suppressed: 0 bytes in 0 blocks. ==24425== Reachable blocks (those to which a pointer was found) are not shown. ==24425== To see them, rerun with: --show-reachable=yes --24425-- memcheck: sanity checks: 193 cheap, 8 expensive --24425-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --24425-- memcheck: auxmaps: 0 searches, 0 comparisons --24425-- memcheck: secondaries: 96 issued (6144k, 6M) --24425-- memcheck: secondaries: 24 accessible and distinguished (1536k, 1M) --24425-- tt/tc: 14,407 tt lookups requiring 14,784 probes --24425-- tt/tc: 14,407 fast-cache updates, 2 flushes --24425-- translate: new 4,402 (86,656 -> 1,464,224; ratio 168:10) [0 scs] --24425-- translate: dumped 0 (0 -> ??) --24425-- translate: discarded 0 (0 -> ??) --24425-- scheduler: 9,715,736 jumps (bb entries). --24425-- scheduler: 193/104,194 major/minor sched events. --24425-- sanity: 194 cheap, 8 expensive checks. --24425-- exectx: 30,011 lists, 1,816 contexts (avg 0 per list) --24425-- exectx: 93,172 searches, 91,397 full compares (980 per 1000) --24425-- exectx: 0 cmp2, 52 cmp4, 0 cmpAll