==2990== Memcheck, a memory error detector. ==2990== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==2990== Using LibVEX rev 1854, a library for dynamic binary translation. ==2990== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==2990== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework. ==2990== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==2990== ==2990== My PID = 2990, parent PID = 677. Prog and args are: ==2990== dvd+rw-format ==2990== --2990-- --2990-- Command line --2990-- dvd+rw-format --2990-- Startup, with flags: --2990-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp --2990-- -v --2990-- --tool=memcheck --2990-- --leak-check=full --2990-- --num-callers=40 --2990-- --log-file=valgrind.log --2990-- Contents of /proc/version: --2990-- Linux version 2.6.26-5-generic (buildd@palmer) (gcc version 4.3.1 (Ubuntu 4.3.1-9ubuntu1) ) #1 SMP Fri Aug 15 13:54:58 UTC 2008 --2990-- Arch and hwcaps: X86, x86-sse1-sse2 --2990-- Page sizes: currently 4096, max supported 4096 --2990-- Valgrind library directory: /usr/lib/valgrind --2990-- Reading syms from /lib/ld-2.8.90.so (0x4000000) --2990-- Reading debug info from /lib/ld-2.8.90.so... --2990-- ... CRC mismatch (computed d13de9d9 wanted aa24aa48) --2990-- Reading debug info from /usr/lib/debug/lib/ld-2.8.90.so... --2990-- Reading syms from /usr/bin/dvd+rw-format (0x8048000) --2990-- Reading debug info from /usr/bin/dvd+rw-format... --2990-- ... CRC mismatch (computed 8b6976d2 wanted 906ed0c7) --2990-- Reading debug info from /usr/lib/debug/usr/bin/dvd+rw-format... --2990-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --2990-- object doesn't have a dynamic symbol table --2990-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp --2990-- Reading suppressions file: /usr/lib/valgrind/default.supp --2990-- REDIR: 0x4015590 (index) redirected to 0x3802cf63 (vgPlain_x86_linux_REDIR_FOR_index) --2990-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x401E000) --2990-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4021000) ==2990== WARNING: new redirection conflicts with existing -- ignoring it --2990-- new: 0x04015590 (index ) R-> 0x040251a0 index --2990-- REDIR: 0x4015780 (strlen) redirected to 0x4025450 (strlen) --2990-- Reading syms from /usr/lib/debug/libpthread-2.8.90.so (0x4029000) --2990-- Reading syms from /usr/lib/libstdc++.so.6.0.10 (0x405D000) --2990-- Reading debug info from /usr/lib/libstdc++.so.6.0.10... --2990-- ... CRC mismatch (computed 71f65913 wanted 887145c9) --2990-- object doesn't have a symbol table --2990-- Reading syms from /usr/lib/debug/libm-2.8.90.so (0x414C000) --2990-- Reading syms from /lib/libgcc_s.so.1 (0x4172000) --2990-- Reading debug info from /lib/libgcc_s.so.1... --2990-- ... CRC mismatch (computed 43a3ffc5 wanted 04ba2907) --2990-- object doesn't have a symbol table --2990-- Reading syms from /usr/lib/debug/libc-2.8.90.so (0x4180000) --2990-- REDIR: 0x41f3300 (rindex) redirected to 0x4025080 (rindex) --2990-- REDIR: 0x41f2f10 (strlen) redirected to 0x4025430 (strlen) --2990-- REDIR: 0x41effc0 (malloc) redirected to 0x4024c70 (malloc) --2990-- REDIR: 0x41f44a0 (memcpy) redirected to 0x40258a0 (memcpy) --2998-- REDIR: 0x41f2960 (strcmp) redirected to 0x4025730 (strcmp) --2998-- REDIR: 0x41f3120 (strncmp) redirected to 0x40256a0 (strncmp) --2998-- REDIR: 0x41f27f0 (index) redirected to 0x4025170 (index) --2998-- REDIR: 0x41f5020 (strchrnul) redirected to 0x4026410 (strchrnul) --2998-- REDIR: 0x41f3fe0 (mempcpy) redirected to 0x4026470 (mempcpy) --2998-- REDIR: 0x41ed740 (free) redirected to 0x4023a90 (free) --2998-- REDIR: 0x41f3d10 (memchr) redirected to 0x4025850 (memchr) --2998-- REDIR: 0x41f0480 (realloc) redirected to 0x4024d80 (realloc) --2998-- REDIR: 0x41f2fc0 (strnlen) redirected to 0x40253f0 (strnlen) --2998-- REDIR: 0x41f4190 (stpcpy) redirected to 0x40260d0 (stpcpy) --2998-- REDIR: 0x41f29f0 (strcpy) redirected to 0x4025490 (strcpy) --2998-- REDIR: 0x41f4f50 (rawmemchr) redirected to 0x4026450 (rawmemchr) ==2998== ==2998== Process terminating with default action of signal 6 (SIGABRT) ==2998== at 0x41AAA36: raise (raise.c:64) ==2998== by 0x41AC337: abort (abort.c:88) ==2998== by 0x41E5FEC: __libc_message (libc_fatal.c:170) ==2998== by 0x4262F0A: __fortify_fail (fortify_fail.c:32) ==2998== by 0x4260F6F: __chk_fail (chk_fail.c:29) ==2998== by 0x4261A01: __wctomb_chk (wctomb_chk.c:33) ==2998== by 0x8049137: plusminus_locale (stdlib.h:94) ==2998== by 0x804ACD4: main (dvd+rw-format.cpp:255) ==2998== ==2998== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1) --2998-- --2998-- supp: 19 dl-hack3-cond-1 ==2998== malloc/free: in use at exit: 54 bytes in 2 blocks. ==2998== malloc/free: 122 allocs, 120 frees, 9,477 bytes allocated. ==2998== ==2998== searching for pointers to 2 not-freed blocks. ==2998== checked 110,076 bytes. ==2998== ==2998== 26 bytes in 1 blocks are definitely lost in loss record 1 of 2 ==2998== at 0x4024D2E: malloc (vg_replace_malloc.c:207) ==2998== by 0x41F2C5F: strdup (strdup.c:43) ==2998== by 0x804AC38: main (dvd+rw-format.cpp:219) ==2998== ==2998== LEAK SUMMARY: ==2998== definitely lost: 26 bytes in 1 blocks. ==2998== possibly lost: 0 bytes in 0 blocks. ==2998== still reachable: 28 bytes in 1 blocks. ==2998== suppressed: 0 bytes in 0 blocks. ==2998== Reachable blocks (those to which a pointer was found) are not shown. ==2998== To see them, rerun with: --leak-check=full --show-reachable=yes --2998-- memcheck: sanity checks: 3 cheap, 2 expensive --2998-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --2998-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10 --2998-- memcheck: auxmaps_L2: 0 searches, 0 nodes --2998-- memcheck: SMs: n_issued = 13 (208k, 0M) --2998-- memcheck: SMs: n_deissued = 0 (0k, 0M) --2998-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --2998-- memcheck: SMs: max_undefined = 0 (0k, 0M) --2998-- memcheck: SMs: max_defined = 41 (656k, 0M) --2998-- memcheck: SMs: max_non_DSM = 13 (208k, 0M) --2998-- memcheck: max sec V bit nodes: 0 (0k, 0M) --2998-- memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0) --2998-- memcheck: max shadow mem size: 512k, 0M --2998-- translate: fast SP updates identified: 3,562 ( 89.4%) --2998-- translate: generic_known SP updates identified: 266 ( 6.6%) --2998-- translate: generic_unknown SP updates identified: 153 ( 3.8%) --2998-- tt/tc: 7,237 tt lookups requiring 7,404 probes --2998-- tt/tc: 7,237 fast-cache updates, 3 flushes --2998-- transtab: new 3,397 (72,558 -> 1,059,217; ratio 145:10) [0 scs] --2998-- transtab: dumped 0 (0 -> ??) --2998-- transtab: discarded 8 (200 -> ??) --2998-- scheduler: 365,607 jumps (bb entries). --2998-- scheduler: 3/4,251 major/minor sched events. --2998-- sanity: 4 cheap, 2 expensive checks. --2998-- exectx: 769 lists, 66 contexts (avg 0 per list) --2998-- exectx: 261 searches, 197 full compares (754 per 1000) --2998-- exectx: 0 cmp2, 42 cmp4, 0 cmpAll --2998-- errormgr: 8 supplist searches, 271 comparisons during search --2998-- errormgr: 19 errlist searches, 42 comparisons during search --2990-- REDIR: 0x41ed740 (free) redirected to 0x4023a90 (free) ==2990== ==2990== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1) --2990-- --2990-- supp: 19 dl-hack3-cond-1 ==2990== malloc/free: in use at exit: 26 bytes in 1 blocks. ==2990== malloc/free: 1 allocs, 0 frees, 26 bytes allocated. ==2990== ==2990== searching for pointers to 1 not-freed blocks. ==2990== checked 108,604 bytes. ==2990== ==2990== 26 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==2990== at 0x4024D2E: malloc (vg_replace_malloc.c:207) ==2990== by 0x41F2C5F: strdup (strdup.c:43) ==2990== by 0x804AC38: main (dvd+rw-format.cpp:219) ==2990== ==2990== LEAK SUMMARY: ==2990== definitely lost: 26 bytes in 1 blocks. ==2990== possibly lost: 0 bytes in 0 blocks. ==2990== still reachable: 0 bytes in 0 blocks. ==2990== suppressed: 0 bytes in 0 blocks. --2990-- memcheck: sanity checks: 2 cheap, 2 expensive --2990-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --2990-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10 --2990-- memcheck: auxmaps_L2: 0 searches, 0 nodes --2990-- memcheck: SMs: n_issued = 13 (208k, 0M) --2990-- memcheck: SMs: n_deissued = 0 (0k, 0M) --2990-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --2990-- memcheck: SMs: max_undefined = 0 (0k, 0M) --2990-- memcheck: SMs: max_defined = 38 (608k, 0M) --2990-- memcheck: SMs: max_non_DSM = 13 (208k, 0M) --2990-- memcheck: max sec V bit nodes: 0 (0k, 0M) --2990-- memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0) --2990-- memcheck: max shadow mem size: 512k, 0M --2990-- translate: fast SP updates identified: 2,329 ( 90.0%) --2990-- translate: generic_known SP updates identified: 145 ( 5.6%) --2990-- translate: generic_unknown SP updates identified: 111 ( 4.2%) --2990-- tt/tc: 4,744 tt lookups requiring 4,821 probes --2990-- tt/tc: 4,744 fast-cache updates, 3 flushes --2990-- transtab: new 2,245 (48,223 -> 697,176; ratio 144:10) [0 scs] --2990-- transtab: dumped 0 (0 -> ??) --2990-- transtab: discarded 8 (200 -> ??) --2990-- scheduler: 236,383 jumps (bb entries). --2990-- scheduler: 2/2,629 major/minor sched events. --2990-- sanity: 3 cheap, 2 expensive checks. --2990-- exectx: 769 lists, 7 contexts (avg 0 per list) --2990-- exectx: 20 searches, 13 full compares (650 per 1000) --2990-- exectx: 0 cmp2, 42 cmp4, 0 cmpAll --2990-- errormgr: 7 supplist searches, 181 comparisons during search --2990-- errormgr: 19 errlist searches, 42 comparisons during search