==4151== Memcheck, a memory error detector. ==4151== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==4151== Using LibVEX rev 1884, a library for dynamic binary translation. ==4151== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==4151== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework. ==4151== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==4151== ==4151== My PID = 4151, parent PID = 4099. Prog and args are: ==4151== /usr/lib/gvfs/gvfsd-computer ==4151== --4151-- --4151-- Command line --4151-- /usr/lib/gvfs/gvfsd-computer --4151-- Startup, with flags: --4151-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp --4151-- -v --4151-- --tool=memcheck --4151-- --leak-check=full --4151-- --num-callers=40 --4151-- --log-file=valgrind.log --4151-- Contents of /proc/version: --4151-- Linux version 2.6.30-9-generic (buildd@rothera) (gcc version 4.4.0 (Ubuntu 4.4.0-5ubuntu1) ) #10-Ubuntu SMP Fri Jun 12 13:05:04 UTC 2009 --4151-- Arch and hwcaps: X86, x86-sse1-sse2 --4151-- Page sizes: currently 4096, max supported 4096 --4151-- Valgrind library directory: /usr/lib/valgrind --4151-- Reading syms from /lib/ld-2.9.so (0x4000000) --4151-- Reading debug info from /lib/ld-2.9.so .. --4151-- .. CRC mismatch (computed e8a0f99e wanted 5ef3c432) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/gvfs/gvfsd-computer (0x8048000) --4151-- Reading debug info from /usr/lib/gvfs/gvfsd-computer .. --4151-- .. CRC mismatch (computed 2e33a2db wanted 0ab799de) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --4151-- object doesn't have a dynamic symbol table --4151-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp --4151-- Reading suppressions file: /usr/lib/valgrind/default.supp --4151-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4020000) --4151-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4023000) --4151-- Reading syms from /usr/lib/libgvfscommon.so.0.0.0 (0x4039000) --4151-- Reading debug info from /usr/lib/libgvfscommon.so.0.0.0 .. --4151-- .. CRC mismatch (computed 05d7f1ae wanted f221843f) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libgthread-2.0.so.0.2101.0 (0x404f000) --4151-- Reading debug info from /usr/lib/libgthread-2.0.so.0.2101.0 .. --4151-- .. CRC mismatch (computed d616ae20 wanted 1530f154) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libgio-2.0.so.0.2101.0 (0x4056000) --4151-- Reading debug info from /usr/lib/libgio-2.0.so.0.2101.0 .. --4151-- .. CRC mismatch (computed 2d0502e6 wanted b2be0f67) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libgobject-2.0.so.0.2101.0 (0x40ff000) --4151-- Reading debug info from /usr/lib/libgobject-2.0.so.0.2101.0 .. --4151-- .. CRC mismatch (computed 44609f2e wanted 1adba223) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/libdbus-1.so.3.4.0 (0x4146000) --4151-- Reading debug info from /lib/libdbus-1.so.3.4.0 .. --4151-- .. CRC mismatch (computed 293ab621 wanted 920badac) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libglib-2.0.so.0.2101.0 (0x4188000) --4151-- Reading debug info from /usr/lib/libglib-2.0.so.0.2101.0 .. --4151-- .. CRC mismatch (computed 631d3617 wanted 8eb5bef3) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/libpthread-2.9.so (0x424c000) --4151-- Reading debug info from /lib/tls/i686/cmov/libpthread-2.9.so .. --4151-- .. CRC mismatch (computed a8735359 wanted e0d093c3) --4151-- Reading syms from /lib/tls/i686/cmov/libc-2.9.so (0x4266000) --4151-- Reading debug info from /lib/tls/i686/cmov/libc-2.9.so .. --4151-- .. CRC mismatch (computed 97c5e80b wanted 73367265) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/librt-2.9.so (0x43c9000) --4151-- Reading debug info from /lib/tls/i686/cmov/librt-2.9.so .. --4151-- .. CRC mismatch (computed d98162e3 wanted eafb9d96) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/libpcre.so.3.12.1 (0x43d2000) --4151-- Reading debug info from /lib/libpcre.so.3.12.1 .. --4151-- .. CRC mismatch (computed c1b54a06 wanted 740d7eeb) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libgmodule-2.0.so.0.2101.0 (0x4404000) --4151-- Reading debug info from /usr/lib/libgmodule-2.0.so.0.2101.0 .. --4151-- .. CRC mismatch (computed 6d7e257a wanted 6aaada07) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/libdl-2.9.so (0x4409000) --4151-- Reading debug info from /lib/tls/i686/cmov/libdl-2.9.so .. --4151-- .. CRC mismatch (computed 5c8c0ffa wanted 8417513f) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/libresolv-2.9.so (0x440e000) --4151-- Reading debug info from /lib/tls/i686/cmov/libresolv-2.9.so .. --4151-- .. CRC mismatch (computed 8533238e wanted fe40db0b) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/libselinux.so.1 (0x4424000) --4151-- object doesn't have a symbol table --4151-- REDIR: 0x42dd060 (index) redirected to 0x4027420 (index) --4151-- REDIR: 0x42defa0 (memchr) redirected to 0x4027b00 (memchr) --4151-- REDIR: 0x42ddbc0 (rindex) redirected to 0x4027330 (rindex) --4151-- REDIR: 0x42d9a90 (malloc) redirected to 0x4026f20 (malloc) --4151-- REDIR: 0x42d7680 (free) redirected to 0x4025d40 (free) --4151-- REDIR: 0x42e24f0 (strchrnul) redirected to 0x40286c0 (strchrnul) --4151-- REDIR: 0x42dd740 (strlen) redirected to 0x40276e0 (strlen) --4151-- REDIR: 0x42df9b0 (memcpy) redirected to 0x4027b50 (memcpy) --4151-- REDIR: 0x42df500 (mempcpy) redirected to 0x4028720 (mempcpy) --4151-- REDIR: 0x42d9f40 (realloc) redirected to 0x4027030 (realloc) --4151-- REDIR: 0x42dd1d0 (strcmp) redirected to 0x40279e0 (strcmp) --4151-- REDIR: 0x42dd960 (strncmp) redirected to 0x4027950 (strncmp) --4151-- REDIR: 0x42dd7f0 (strnlen) redirected to 0x40276a0 (strnlen) --4151-- REDIR: 0x42df690 (stpcpy) redirected to 0x4028380 (stpcpy) --4151-- REDIR: 0x42dd240 (strcpy) redirected to 0x4027740 (strcpy) --4151-- REDIR: 0x42e2420 (rawmemchr) redirected to 0x4028700 (rawmemchr) --4151-- REDIR: 0x42dda70 (strncpy) redirected to 0x4027810 (strncpy) --4151-- REDIR: 0x42d9760 (calloc) redirected to 0x4024fd0 (calloc) --4151-- REDIR: 0x42df4a0 (memset) redirected to 0x40285f0 (memset) --4151-- REDIR: 0x42df430 (memmove) redirected to 0x4028650 (memmove) --4151-- REDIR: 0x42dceb0 (strcat) redirected to 0x40274b0 (strcat) --4151-- REDIR: 0x42945c0 (unsetenv) redirected to 0x4028990 (unsetenv) --4151-- Reading syms from /usr/lib/gio/modules/libgvfsdbus.so (0x4983000) --4151-- Reading debug info from /usr/lib/gio/modules/libgvfsdbus.so .. --4151-- .. CRC mismatch (computed 8b8a159a wanted cad21088) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/gio/modules/libgiogconf.so (0x49a2000) --4151-- Reading debug info from /usr/lib/gio/modules/libgiogconf.so .. --4151-- .. CRC mismatch (computed 00b5d981 wanted 10157d5c) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libgconf-2.so.4.1.5 (0x49b3000) --4151-- Reading debug info from /usr/lib/libgconf-2.so.4.1.5 .. --4151-- .. CRC mismatch (computed 5d1d7cf5 wanted acfd8928) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libORBit-2.so.0.1.0 (0x49e9000) --4151-- Reading debug info from /usr/lib/libORBit-2.so.0.1.0 .. --4151-- .. CRC mismatch (computed 879c35f5 wanted 258d02e0) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/libdbus-glib-1.so.2.1.0 (0x4a3c000) --4151-- Reading debug info from /usr/lib/libdbus-glib-1.so.2.1.0 .. --4151-- .. CRC mismatch (computed 2689d974 wanted 2bec6460) --4151-- object doesn't have a symbol table --4151-- Reading syms from /usr/lib/gio/modules/libgioremote-volume-monitor.so (0x4a5c000) --4151-- Reading debug info from /usr/lib/gio/modules/libgioremote-volume-monitor.so .. --4151-- .. CRC mismatch (computed 0747df19 wanted 8cf36b1d) --4151-- object doesn't have a symbol table --4151-- Discarding syms at 0x49a2950-0x49a2f28 in /usr/lib/gio/modules/libgiogconf.so due to munmap() --4151-- Discarding syms at 0x49be150-0x49dae28 in /usr/lib/libgconf-2.so.4.1.5 due to munmap() --4151-- Discarding syms at 0x4a01840-0x4a29098 in /usr/lib/libORBit-2.so.0.1.0 due to munmap() --4151-- Discarding syms at 0x4a42a90-0x4a539c8 in /usr/lib/libdbus-glib-1.so.2.1.0 due to munmap() --4151-- Reading syms from /lib/tls/i686/cmov/libnss_compat-2.9.so (0x49af000) --4151-- Reading debug info from /lib/tls/i686/cmov/libnss_compat-2.9.so .. --4151-- .. CRC mismatch (computed 5e27276c wanted 837dd771) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/libnsl-2.9.so (0x49b8000) --4151-- Reading debug info from /lib/tls/i686/cmov/libnsl-2.9.so .. --4151-- .. CRC mismatch (computed 6eb3e82e wanted a65974fe) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/libnss_nis-2.9.so (0x49d1000) --4151-- Reading debug info from /lib/tls/i686/cmov/libnss_nis-2.9.so .. --4151-- .. CRC mismatch (computed aba8b7f5 wanted ebce345d) --4151-- object doesn't have a symbol table --4151-- Reading syms from /lib/tls/i686/cmov/libnss_files-2.9.so (0x49dc000) --4151-- Reading debug info from /lib/tls/i686/cmov/libnss_files-2.9.so .. --4151-- .. CRC mismatch (computed 3d68c160 wanted 8dc43c58) --4151-- object doesn't have a symbol table ==4151== Invalid read of size 1 ==4151== at 0x402742A: index (mc_replace_strmem.c:160) ==4151== by 0x804F9B2: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x804FF8F: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8055C14: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8054DCC: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050A81: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050F52: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x805061D: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050955: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x427C7A4: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==4151== ==4151== Process terminating with default action of signal 11 (SIGSEGV) ==4151== Access not within mapped region at address 0x0 ==4151== at 0x402742A: index (mc_replace_strmem.c:160) ==4151== by 0x804F9B2: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x804FF8F: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8055C14: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8054DCC: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050A81: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050F52: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x805061D: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050955: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x427C7A4: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== If you believe this happened as a result of a stack overflow in your ==4151== program's main thread (unlikely but possible), you can try to increase ==4151== the size of the main thread stack using the --main-stacksize= flag. ==4151== The main thread stack size used in this run was 8388608. --4151-- Discarding syms at 0x49afe10-0x49b5318 in /lib/tls/i686/cmov/libnss_compat-2.9.so due to munmap() --4151-- Discarding syms at 0x49d2940-0x49d8c38 in /lib/tls/i686/cmov/libnss_nis-2.9.so due to munmap() --4151-- Discarding syms at 0x49bb170-0x49c9a28 in /lib/tls/i686/cmov/libnsl-2.9.so due to munmap() --4151-- Discarding syms at 0x49dd910-0x49e5468 in /lib/tls/i686/cmov/libnss_files-2.9.so due to munmap() ==4151== ==4151== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 82 from 3) ==4151== ==4151== 1 errors in context 1 of 1: ==4151== Invalid read of size 1 ==4151== at 0x402742A: index (mc_replace_strmem.c:160) ==4151== by 0x804F9B2: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x804FF8F: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8055C14: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8054DCC: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050A81: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050F52: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x805061D: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050955: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x427C7A4: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== Address 0x0 is not stack'd, malloc'd or (recently) free'd --4151-- --4151-- supp: 7 glibc-2.9-on-SUSE-10.3-(x86) --4151-- supp: 38 dl-hack3-cond-1 --4151-- supp: 37 Debian libc6 (2.9.x) stripped dynamic linker ==4151== ==4151== IN SUMMARY: 1 errors from 1 contexts (suppressed: 82 from 3) ==4151== ==4151== malloc/free: in use at exit: 73,608 bytes in 1,570 blocks. ==4151== malloc/free: 4,825 allocs, 3,255 frees, 393,236 bytes allocated. ==4151== ==4151== searching for pointers to 1,570 not-freed blocks. ==4151== checked 210,260 bytes. ==4151== ==4151== ==4151== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 5 of 20 ==4151== at 0x4026FDE: malloc (vg_replace_malloc.c:207) ==4151== by 0x435E7D8: (within /lib/tls/i686/cmov/libc-2.9.so) ==4151== by 0x435F0B5: __nss_database_lookup (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== by 0x49B0F5B: ??? ==4151== by 0x49B1CBE: ??? ==4151== by 0x4304971: getpwnam_r (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== by 0x41F4DA1: (within /usr/lib/libglib-2.0.so.0.2101.0) ==4151== by 0x41F6C44: g_get_home_dir (in /usr/lib/libglib-2.0.so.0.2101.0) ==4151== by 0x49891FF: (within /usr/lib/gio/modules/libgvfsdbus.so) ==4151== by 0x412C36E: g_type_create_instance (in /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x410FD07: (within /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x411088B: g_object_newv (in /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x41114C1: g_object_new_valist (in /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x411163D: g_object_new (in /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x40AEF55: (within /usr/lib/libgio-2.0.so.0.2101.0) ==4151== by 0x41E90AD: g_once_impl (in /usr/lib/libglib-2.0.so.0.2101.0) ==4151== by 0x40AEADC: g_vfs_get_default (in /usr/lib/libgio-2.0.so.0.2101.0) ==4151== by 0x498BE1B: (within /usr/lib/gio/modules/libgvfsdbus.so) ==4151== by 0x40AE32E: g_volume_monitor_get (in /usr/lib/libgio-2.0.so.0.2101.0) ==4151== by 0x804FF31: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8055C14: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8054DCC: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050A81: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050F52: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x805061D: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x8050955: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x427C7A4: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== ==4151== ==4151== 800 bytes in 20 blocks are possibly lost in loss record 12 of 20 ==4151== at 0x4025092: calloc (vg_replace_malloc.c:397) ==4151== by 0x41C8ACB: g_malloc0 (in /usr/lib/libglib-2.0.so.0.2101.0) ==4151== by 0x41248CE: (within /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x4124945: (within /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x4126C10: g_type_init_with_debug_flags (in /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x4126D91: g_type_init (in /usr/lib/libgobject-2.0.so.0.2101.0) ==4151== by 0x8050838: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x805090D: (within /usr/lib/gvfs/gvfsd-computer) ==4151== by 0x427C7A4: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==4151== ==4151== LEAK SUMMARY: ==4151== definitely lost: 36 bytes in 1 blocks. ==4151== indirectly lost: 120 bytes in 10 blocks. ==4151== possibly lost: 800 bytes in 20 blocks. ==4151== still reachable: 72,652 bytes in 1,539 blocks. ==4151== suppressed: 0 bytes in 0 blocks. ==4151== Reachable blocks (those to which a pointer was found) are not shown. ==4151== To see them, rerun with: --leak-check=full --show-reachable=yes --4151-- memcheck: sanity checks: 21 cheap, 2 expensive --4151-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --4151-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10 --4151-- memcheck: auxmaps_L2: 0 searches, 0 nodes --4151-- memcheck: SMs: n_issued = 40 (640k, 0M) --4151-- memcheck: SMs: n_deissued = 1 (16k, 0M) --4151-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --4151-- memcheck: SMs: max_undefined = 0 (0k, 0M) --4151-- memcheck: SMs: max_defined = 80 (1280k, 1M) --4151-- memcheck: SMs: max_non_DSM = 40 (640k, 0M) --4151-- memcheck: max sec V bit nodes: 370 (18k, 0M) --4151-- memcheck: set_sec_vbits8 calls: 4626 (new: 370, updates: 4256) --4151-- memcheck: max shadow mem size: 962k, 0M --4151-- translate: fast SP updates identified: 23,800 ( 86.5%) --4151-- translate: generic_known SP updates identified: 2,861 ( 10.4%) --4151-- translate: generic_unknown SP updates identified: 831 ( 3.0%) --4151-- tt/tc: 46,886 tt lookups requiring 54,772 probes --4151-- tt/tc: 46,886 fast-cache updates, 10 flushes --4151-- transtab: new 16,056 (338,919 -> 5,075,344; ratio 149:10) [0 scs] --4151-- transtab: dumped 0 (0 -> ??) --4151-- transtab: discarded 255 (4,632 -> ??) --4151-- scheduler: 2,179,809 jumps (bb entries). --4151-- scheduler: 21/39,096 major/minor sched events. --4151-- sanity: 22 cheap, 2 expensive checks. --4151-- exectx: 6,151 lists, 5,617 contexts (avg 0 per list) --4151-- exectx: 11,857 searches, 10,610 full compares (894 per 1000) --4151-- exectx: 11,371 cmp2, 400 cmp4, 0 cmpAll --4151-- errormgr: 48 supplist searches, 3,713 comparisons during search --4151-- errormgr: 83 errlist searches, 564 comparisons during search