katha@blaubart ~/AssAlg $ valgrind -v -v ./asstest 0.0003432 > /dev/null ==31399== Memcheck, a memory error detector. ==31399== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==31399== Using LibVEX rev 1606, a library for dynamic binary translation. ==31399== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==31399== Using valgrind-3.2.0, a dynamic binary instrumentation framework. ==31399== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==31399== --31399-- Command line --31399-- ./asstest --31399-- 0.0003432 --31399-- Startup, with flags: --31399-- -v --31399-- -v --31399-- Contents of /proc/version: --31399-- Linux version 2.6.18-gentoo-r2 (root@blaubart) (gcc-Version 4.1.1 (Gentoo 4.1.1-r3)) #2 SMP Wed Dec 20 19:23:12 CET 2006 --31399-- Arch and hwcaps: X86, x86-sse1-sse2 --31399-- Valgrind library directory: /usr/lib/valgrind --31399-- TT/TC: VG_(init_tt_tc) (startup of code management) --31399-- TT/TC: cache: 8 sectors of 20127744 bytes each = 161021952 total --31399-- TT/TC: table: 524168 total entries, max occupancy 419328 (80%) --31399-- Reading syms from /lib/ld-2.4.so (0x4000000) --31399-- summarise_context(loc_start = 0x5D): cannot summarise(why=1): 0x66: 44(r3) u u u c-36 u u c-44 c-40 c-4 u u u u u u u u u u u --31399-- summarise_context(loc_start = 0x66): cannot summarise(why=1): 0x69: 44(r3) u u u c-36 u u u c-40 c-4 u u u u u u u u u u u --31399-- summarise_context(loc_start = 0x69): cannot summarise(why=1): 0x78: 44(r3) u u u c-36 u u u u c-4 u u u u u u u u u u u --31399-- Reading syms from /home/katha/AssAlg/asstest (0x8048000) --31399-- summarise_context(loc_start = 0x4): cannot summarise(why=1): 0xA: 0(r1) u u u u r1 u u u c-4 u u u u u u u u u u u --31399-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --31399-- object doesn't have a symbol table --31399-- object doesn't have a dynamic symbol table --31399-- Reading suppressions file: /usr/lib/valgrind/default.supp --31399-- TT/TC: initialise sector 0 --31399-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x401F000) --31399-- object doesn't have a symbol table --31399-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4021000) --31399-- object doesn't have a symbol table ==31399== WARNING: new redirection conflicts with existing -- ignoring it --31399-- new: 0x04017990 (index ) R-> 0x04024C58 index --31399-- Reading syms from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8 (0x4049000) --31399-- object doesn't have a symbol table --31399-- Reading syms from /lib/libm-2.4.so (0x4122000) --31399-- object doesn't have a symbol table --31399-- Reading syms from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1 (0x4148000) --31399-- object doesn't have a symbol table --31399-- Reading syms from /lib/libc-2.4.so (0x4152000) --31399-- object doesn't have a symbol table --31399-- summarise_context(loc_start = 0x18): cannot summarise(why=1): 0x24: 0(r0) u u u c0 r1 c12 c4 c8 r2 u u u u u u u u u u u --31399-- summarise_context(loc_start = 0x24): cannot summarise(why=1): 0x2C: 0(r0) u u u u r1 u u u r2 u u u u u u u u u u u --31399-- summarise_context(loc_start = 0x34): cannot summarise(why=1): 0x4D: 0(r0) u c60 c56 c52 u c44 c40 c36 c-4 u u u u u u u u u u u --31399-- REDIR: 0x41C0930 (memset) redirected to 0x4025040 (memset) --31399-- REDIR: 0x40F5DAC (operator new[](unsigned)) redirected to 0x4023B24 (operator new[](unsigned)) --31399-- REDIR: 0x40F4958 (operator delete[](void*)) redirected to 0x4022CA8 (operator delete[](void*)) --31399-- REDIR: 0x41C0DC0 (memcpy) redirected to 0x4025A88 (memcpy) --31399-- REDIR: 0x41C0430 (memchr) redirected to 0x4024F44 (memchr) --31399-- Caught __NR_exit; running __libc_freeres() --31399-- REDIR: 0x41BCBAB (free) redirected to 0x402361C (free) ==31399== ==31399== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1) --31399-- --31399-- supp: 19 dl_relocate_object ==31399== malloc/free: in use at exit: 0 bytes in 0 blocks. ==31399== malloc/free: 1,148 allocs, 1,148 frees, 989,460 bytes allocated. ==31399== ==31399== All heap blocks were freed -- no leaks are possible. --31399-- memcheck: sanity checks: 1300 cheap, 53 expensive --31399-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --31399-- memcheck: auxmaps: 0 searches, 0 comparisons --31399-- memcheck: SMs: n_issued = 27 (432k, 0M) --31399-- memcheck: SMs: n_deissued = 0 (0k, 0M) --31399-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --31399-- memcheck: SMs: max_undefined = 0 (0k, 0M) --31399-- memcheck: SMs: max_defined = 34 (544k, 0M) --31399-- memcheck: SMs: max_non_DSM = 27 (432k, 0M) --31399-- memcheck: max sec V bit nodes: 1 (0k, 0M) --31399-- memcheck: set_sec_vbits8 calls: 4 (new: 1, updates: 3) --31399-- memcheck: max shadow mem size: 736k, 0M --31399-- translate: fast SP updates identified: 3,368 ( 91.2%) --31399-- translate: generic_known SP updates identified: 228 ( 6.1%) --31399-- translate: generic_unknown SP updates identified: 94 ( 2.5%) --31399-- tt/tc: 733,949 tt lookups requiring 734,090 probes --31399-- tt/tc: 733,949 fast-cache updates, 2 flushes --31399-- transtab: new 3,263 (77,248 -> 1,246,002; ratio 161:10) [0 scs] --31399-- transtab: dumped 0 (0 -> ??) --31399-- transtab: discarded 0 (0 -> ??) --31399-- scheduler: 130,069,894 jumps (bb entries). --31399-- scheduler: 1,300/735,837 major/minor sched events. --31399-- sanity: 1301 cheap, 53 expensive checks. --31399-- exectx: 30,011 lists, 44 contexts (avg 0 per list) --31399-- exectx: 2,315 searches, 2,271 full compares (980 per 1000) --31399-- exectx: 0 cmp2, 51 cmp4, 0 cmpAll --31399-- --31399-- ------ Valgrind's internal memory use stats follow ------ --31399-- core : 1 sbs, 555 bs, 1/1 free bs, 1048576 mmap, 16040 loan --31399-- tool : 1 sbs, 1186 bs, 2/2 free bs, 1048576 mmap, 343680 loan --31399-- symtab : 2 sbs, 341 bs, 8/8 free bs, 2097152 mmap, 1232128 loan --31399-- client : 1 sbs, 1149 bs, 1/1 free bs, 1048576 mmap, 989912 loan --31399-- demangle: 1 sbs, 1 bs, 1/1 free bs, 65536 mmap, 0 loan --31399-- exectxt : 1 sbs, 45 bs, 1/1 free bs, 262144 mmap, 1264 loan --31399-- errors : 1 sbs, 9 bs, 1/1 free bs, 65536 mmap, 320 loan --31399-- ttaux : 1 sbs, 138 bs, 16/16 free bs, 65536 mmap, 10640 loan --31399-- ------ --31399-- core : 1048576 mmap'd, 81576/ 16040 max/curr --31399-- tool : 1048576 mmap'd, 343680/ 343680 max/curr --31399-- symtab : 2097152 mmap'd, 1302760/ 1232128 max/curr --31399-- client : 1048576 mmap'd, 989912/ 989912 max/curr --31399-- demangle: 65536 mmap'd, 288/ 0 max/curr --31399-- exectxt : 262144 mmap'd, 1264/ 1264 max/curr --31399-- errors : 65536 mmap'd, 320/ 320 max/curr --31399-- ttaux : 65536 mmap'd, 10752/ 10640 max/curr --31399--