|
From: <sv...@va...> - 2005-05-23 14:02:55
|
Author: sewardj Date: 2005-05-23 15:02:51 +0100 (Mon, 23 May 2005) New Revision: 3783 Added: trunk/memcheck/tests/leak-tree.stderr.exp2 Modified: trunk/memcheck/tests/Makefile.am Log: Add another possible output. Modified: trunk/memcheck/tests/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/tests/Makefile.am 2005-05-21 19:49:09 UTC (rev 3782) +++ trunk/memcheck/tests/Makefile.am 2005-05-23 14:02:51 UTC (rev 3783) @@ -34,7 +34,8 @@ inline.stderr.exp inline.stdout.exp inline.vgtest \ leak-0.vgtest leak-0.stderr.exp \ leak-cycle.vgtest leak-cycle.stderr.exp leak-cycle.stderr.exp64 \ - leak-tree.vgtest leak-tree.stderr.exp leak-tree.stderr.exp64 \ + leak-tree.vgtest leak-tree.stderr.exp \ + leak-tree.stderr.exp2 leak-tree.stderr.exp64 \ leak-regroot.vgtest leak-regroot.stderr.exp \ leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \ malloc1.stderr.exp malloc1.vgtest \ Added: trunk/memcheck/tests/leak-tree.stderr.exp2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/tests/leak-tree.stderr.exp2 2005-05-21 19:49:09 UTC (r= ev 3782) +++ trunk/memcheck/tests/leak-tree.stderr.exp2 2005-05-23 14:02:51 UTC (r= ev 3783) @@ -0,0 +1,51 @@ + +searching for pointers to 11 not-freed blocks. +checked ... bytes. + +8 bytes in 1 blocks are definitely lost in loss record 1 of 11 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-tree.c:11) + by 0x........: main (leak-tree.c:25) + +LEAK SUMMARY: + definitely lost: 8 bytes in 1 blocks. + possibly lost: 0 bytes in 0 blocks. + still reachable: 80 bytes in 10 blocks. + suppressed: 0 bytes in 0 blocks. +Reachable blocks (those to which a pointer was found) are not shown. +To see them, rerun with: --show-reachable=3Dyes +searching for pointers to 14 not-freed blocks. +checked ... bytes. + + +8 bytes in 1 blocks are definitely lost in loss record 1 of 14 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-tree.c:11) + by 0x........: main (leak-tree.c:39) + + +8 bytes in 1 blocks are definitely lost in loss record 2 of 14 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-tree.c:11) + by 0x........: main (leak-tree.c:38) + + +40 (8 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss= record 14 of 14 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-tree.c:11) + by 0x........: main (leak-tree.c:25) + +LEAK SUMMARY: + definitely lost: 24 bytes in 3 blocks. + indirectly lost: 32 bytes in 4 blocks. + possibly lost: 0 bytes in 0 blocks. + still reachable: 56 bytes in 7 blocks. + suppressed: 0 bytes in 0 blocks. +Reachable blocks (those to which a pointer was found) are not shown. +To see them, rerun with: --show-reachable=3Dyes + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +malloc/free: in use at exit: 112 bytes in 14 blocks. +malloc/free: 14 allocs, 0 frees, 112 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=3Dyes +For counts of detected errors, rerun with: -v |