|
From: <sv...@va...> - 2005-05-05 01:29:15
|
Author: sewardj Date: 2005-05-05 02:29:11 +0100 (Thu, 05 May 2005) New Revision: 3619 Added: trunk/memcheck/tests/leak-cycle.stderr.exp64 trunk/memcheck/tests/mempool.stderr.exp64 Modified: trunk/memcheck/tests/Makefile.am Log: Add expected output files for 64-bit platforms. 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-05 01:23:50 UTC (rev 3618) +++ trunk/memcheck/tests/Makefile.am 2005-05-05 01:29:11 UTC (rev 3619) @@ -33,7 +33,7 @@ inits.stderr.exp inits.vgtest \ inline.stderr.exp inline.stdout.exp inline.vgtest \ leak-0.vgtest leak-0.stderr.exp \ - leak-cycle.vgtest leak-cycle.stderr.exp \ + leak-cycle.vgtest leak-cycle.stderr.exp leak-cycle.stderr.exp64 \ leak-tree.vgtest leak-tree.stderr.exp \ leak-regroot.vgtest leak-regroot.stderr.exp \ leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \ @@ -47,7 +47,7 @@ memalign_test.stderr.exp memalign_test.vgtest \ memalign2.stderr.exp memalign2.vgtest \ memcmptest.stderr.exp memcmptest.stdout.exp memcmptest.vgtest \ - mempool.stderr.exp mempool.vgtest \ + mempool.stderr.exp mempool.stderr.exp64 mempool.vgtest \ mismatches.stderr.exp mismatches.vgtest \ mmaptest.stderr.exp mmaptest.vgtest \ nanoleak.stderr.exp nanoleak.vgtest \ Added: trunk/memcheck/tests/leak-cycle.stderr.exp64 =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-cycle.stderr.exp64 2005-05-05 01:23:50 UTC = (rev 3618) +++ trunk/memcheck/tests/leak-cycle.stderr.exp64 2005-05-05 01:29:11 UTC = (rev 3619) @@ -0,0 +1,45 @@ + +searching for pointers to 18 not-freed blocks. +checked ... bytes. + +48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in los= s record 15 of 18 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-cycle.c:11) + by 0x........: mkcycle (leak-cycle.c:22) + by 0x........: main (leak-cycle.c:36) + + +48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in los= s record 16 of 18 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-cycle.c:11) + by 0x........: mkcycle (leak-cycle.c:22) + by 0x........: main (leak-cycle.c:37) + + +96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in los= s record 17 of 18 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-cycle.c:11) + by 0x........: mkcycle (leak-cycle.c:22) + by 0x........: main (leak-cycle.c:45) + + +96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in los= s record 18 of 18 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: mk (leak-cycle.c:11) + by 0x........: mkcycle (leak-cycle.c:22) + by 0x........: main (leak-cycle.c:59) + +LEAK SUMMARY: + definitely lost: 64 bytes in 4 blocks. + indirectly lost: 224 bytes in 14 blocks. + possibly lost: 0 bytes in 0 blocks. + still reachable: 0 bytes in 0 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: 288 bytes in 18 blocks. +malloc/free: 18 allocs, 0 frees, 288 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=3Dyes +For counts of detected errors, rerun with: -v Added: trunk/memcheck/tests/mempool.stderr.exp64 =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/mempool.stderr.exp64 2005-05-05 01:23:50 UTC (re= v 3618) +++ trunk/memcheck/tests/mempool.stderr.exp64 2005-05-05 01:29:11 UTC (re= v 3619) @@ -0,0 +1,42 @@ +Invalid write of size 1 + at 0x........: test (mempool.c:124) + by 0x........: main (mempool.c:148) + Address 0x........ is 7 bytes inside a block of size 100000 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: make_pool (mempool.c:38) + by 0x........: test (mempool.c:111) + by 0x........: main (mempool.c:148) + +Invalid write of size 1 + at 0x........: test (mempool.c:125) + by 0x........: main (mempool.c:148) + Address 0x........ is 18 bytes inside a block of size 100000 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: make_pool (mempool.c:38) + by 0x........: test (mempool.c:111) + by 0x........: main (mempool.c:148) + +Invalid write of size 1 + at 0x........: test (mempool.c:129) + by 0x........: main (mempool.c:148) + Address 0x........ is 70 bytes inside a block of size 100000 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: make_pool (mempool.c:38) + by 0x........: test (mempool.c:111) + by 0x........: main (mempool.c:148) + +Invalid write of size 1 + at 0x........: test (mempool.c:130) + by 0x........: main (mempool.c:148) + Address 0x........ is 96 bytes inside a block of size 100000 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: make_pool (mempool.c:38) + by 0x........: test (mempool.c:111) + by 0x........: main (mempool.c:148) + + +100048 (32 direct, 100016 indirect) bytes in 1 blocks are definitely los= t in loss record 2 of 3 + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: make_pool (mempool.c:37) + by 0x........: test (mempool.c:111) + by 0x........: main (mempool.c:148) |