rendered paste body==6944== Memcheck, a memory error detector
==6944== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==6944== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==6944== Command: ./check2.sh samples/tree.s
==6944==
--6944-- Valgrind options:
--6944-- -v
--6944-- --leak-check=full
--6944-- Contents of /proc/version:
--6944-- Linux version 2.6.28-gentoo-r6 (user@gentoo) (gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.2, pie-10.1.5) ) #2 SMP PREEMPT Fri Oct 16 00:33:20 UTC 2009
--6944-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--6944-- Page sizes: currently 4096, max supported 4096
--6944-- Valgrind library directory: /usr/lib64/valgrind
--6944-- Reading syms from /bin/bash (0x400000)
--6944-- Reading debug info from /usr/lib/debug/bin/bash.debug ..
--6944-- Reading syms from /lib64/ld-2.9.so (0x4000000)
--6944-- Reading debug info from /usr/lib/debug/lib64/ld-2.9.so.debug ..
--6944-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux (0x38000000)
--6944-- Reading debug info from /usr/lib/debug/usr/lib64/valgrind/memcheck-amd64-linux.debug ..
--6944-- object doesn't have a dynamic symbol table
--6944-- Reading suppressions file: /usr/lib64/valgrind/default.supp
--6944-- REDIR: 0x4015d50 (strlen) redirected to 0x380403c7 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--6944-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so (0x4a1e000)
--6944-- Reading debug info from /usr/lib/debug/usr/lib64/valgrind/vgpreload_core-amd64-linux.so.debug ..
--6944-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c20000)
--6944-- Reading debug info from /usr/lib/debug/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so.debug ..
==6944== WARNING: new redirection conflicts with existing -- ignoring it
--6944-- new: 0x04015d50 (strlen ) R-> 0x04c24fb0 strlen
--6944-- REDIR: 0x4015a90 (index) redirected to 0x4c24d10 (index)
--6944-- REDIR: 0x4015c40 (strcmp) redirected to 0x4c252a0 (strcmp)
--6944-- Reading syms from /lib64/libncurses.so.5.7 (0x4e29000)
--6944-- Reading debug info from /usr/lib/debug/lib64/libncurses.so.5.7.debug ..
--6944-- Reading syms from /lib64/libdl-2.9.so (0x5078000)
--6944-- Reading debug info from /usr/lib/debug/lib64/libdl-2.9.so.debug ..
--6944-- Reading syms from /lib64/libc-2.9.so (0x527c000)
--6944-- Reading debug info from /usr/lib/debug/lib64/libc-2.9.so.debug ..
--6944-- REDIR: 0x52f70d0 (rindex) redirected to 0x4c24b70 (rindex)
--6944-- REDIR: 0x52f6700 (strcmp) redirected to 0x4c25240 (strcmp)
--6944-- REDIR: 0x52f6c90 (strlen) redirected to 0x4c24f70 (strlen)
--6944-- REDIR: 0x52f6f30 (strncmp) redirected to 0x4c251c0 (strncmp)
--6944-- REDIR: 0x52f6550 (index) redirected to 0x4c24c10 (index)
--6944-- REDIR: 0x52fc860 (strchrnul) redirected to 0x4c25e70 (strchrnul)
--6944-- REDIR: 0x52f3780 (malloc) redirected to 0x4c238d0 (malloc)
--6944-- REDIR: 0x52f94d0 (mempcpy) redirected to 0x4c25ed0 (mempcpy)
--6944-- REDIR: 0x52f9e10 (memcpy) redirected to 0x4c253b0 (memcpy)
--6944-- REDIR: 0x52f0c00 (free) redirected to 0x4c23250 (free)
--6944-- REDIR: 0x52f6740 (strcpy) redirected to 0x4c24fd0 (strcpy)
--6944-- REDIR: 0xffffffffff600400 (???) redirected to 0x380403bd (vgPlain_amd64_linux_REDIR_FOR_vtime)
--6944-- REDIR: 0x52f8150 (memchr) redirected to 0x4c25360 (memchr)
--6944-- REDIR: 0x52fc740 (rawmemchr) redirected to 0x4c25eb0 (rawmemchr)
--6944-- REDIR: 0x52f6d80 (strnlen) redirected to 0x4c24f30 (strnlen)
--6944-- REDIR: 0x535d930 (__strcpy_chk) redirected to 0x4c26520 (__strcpy_chk)
--6944-- REDIR: 0xffffffffff600000 (???) redirected to 0x380403b3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--6944-- REDIR: 0x52f89a0 (memset) redirected to 0x4c25da0 (memset)
--6944-- REDIR: 0x52f7000 (strncpy) redirected to 0x4c250a0 (strncpy)
--6944-- REDIR: 0x52f3c70 (realloc) redirected to 0x4c239f0 (realloc)
--6944-- REDIR: 0x52f87f0 (memmove) redirected to 0x4c25e10 (memmove)
--6944-- REDIR: 0x52f33e0 (calloc) redirected to 0x4c222f0 (calloc)
==6944==
==6944== HEAP SUMMARY:
==6944== in use at exit: 301,686 bytes in 1,176 blocks
==6944== total heap usage: 3,313 allocs, 2,137 frees, 379,098 bytes allocated
==6944==
==6944== Searching for pointers to 1,176 not-freed blocks
==6944== Checked 175,160 bytes
==6944==
==6944== LEAK SUMMARY:
==6944== definitely lost: 0 bytes in 0 blocks
==6944== indirectly lost: 0 bytes in 0 blocks
==6944== possibly lost: 0 bytes in 0 blocks
==6944== still reachable: 301,686 bytes in 1,176 blocks
==6944== suppressed: 0 bytes in 0 blocks
==6944== Reachable blocks (those to which a pointer was found) are not shown.
==6944== To see them, rerun with: --leak-check=full --show-reachable=yes
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
--6944--
--6944-- used_suppression: 4 dl-hack3-cond-1
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
==6944==
==6944== HEAP SUMMARY:
==6944== in use at exit: 301,585 bytes in 1,174 blocks
==6944== total heap usage: 3,416 allocs, 2,242 frees, 381,610 bytes allocated
==6944==
==6944== Searching for pointers to 1,174 not-freed blocks
==6944== Checked 174,896 bytes
==6944==
==6944== LEAK SUMMARY:
==6944== definitely lost: 0 bytes in 0 blocks
==6944== indirectly lost: 0 bytes in 0 blocks
==6944== possibly lost: 0 bytes in 0 blocks
==6944== still reachable: 301,585 bytes in 1,174 blocks
==6944== suppressed: 0 bytes in 0 blocks
==6944== Reachable blocks (those to which a pointer was found) are not shown.
==6944== To see them, rerun with: --leak-check=full --show-reachable=yes
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
--6944--
--6944-- used_suppression: 4 dl-hack3-cond-1
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
==6944==
==6944== HEAP SUMMARY:
==6944== in use at exit: 302,497 bytes in 1,171 blocks
==6944== total heap usage: 3,440 allocs, 2,269 frees, 383,111 bytes allocated
==6944==
==6944== Searching for pointers to 1,171 not-freed blocks
==6944== Checked 174,624 bytes
==6944==
==6944== LEAK SUMMARY:
==6944== definitely lost: 0 bytes in 0 blocks
==6944== indirectly lost: 0 bytes in 0 blocks
==6944== possibly lost: 0 bytes in 0 blocks
==6944== still reachable: 302,497 bytes in 1,171 blocks
==6944== suppressed: 0 bytes in 0 blocks
==6944== Reachable blocks (those to which a pointer was found) are not shown.
==6944== To see them, rerun with: --leak-check=full --show-reachable=yes
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
--6944--
--6944-- used_suppression: 4 dl-hack3-cond-1
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
==6944==
==6944== HEAP SUMMARY:
==6944== in use at exit: 302,495 bytes in 1,171 blocks
==6944== total heap usage: 3,444 allocs, 2,273 frees, 383,291 bytes allocated
==6944==
==6944== Searching for pointers to 1,171 not-freed blocks
==6944== Checked 174,632 bytes
==6944==
==6944== LEAK SUMMARY:
==6944== definitely lost: 0 bytes in 0 blocks
==6944== indirectly lost: 0 bytes in 0 blocks
==6944== possibly lost: 0 bytes in 0 blocks
==6944== still reachable: 302,495 bytes in 1,171 blocks
==6944== suppressed: 0 bytes in 0 blocks
==6944== Reachable blocks (those to which a pointer was found) are not shown.
==6944== To see them, rerun with: --leak-check=full --show-reachable=yes
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
--6944--
--6944-- used_suppression: 4 dl-hack3-cond-1
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
==6944==
==6944== HEAP SUMMARY:
==6944== in use at exit: 295,409 bytes in 768 blocks
==6944== total heap usage: 3,431 allocs, 2,663 frees, 381,667 bytes allocated
==6944==
==6944== Searching for pointers to 768 not-freed blocks
==6944== Checked 170,648 bytes
==6944==
==6944== LEAK SUMMARY:
==6944== definitely lost: 0 bytes in 0 blocks
==6944== indirectly lost: 0 bytes in 0 blocks
==6944== possibly lost: 0 bytes in 0 blocks
==6944== still reachable: 295,409 bytes in 768 blocks
==6944== suppressed: 0 bytes in 0 blocks
==6944== Reachable blocks (those to which a pointer was found) are not shown.
==6944== To see them, rerun with: --leak-check=full --show-reachable=yes
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
--6944--
--6944-- used_suppression: 4 dl-hack3-cond-1
==6944==
==6944== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)