ftmemsim-valgrind/memcheck/tests/malloc2.stderr.exp
Nicholas Nethercote 5ab9dd81d6 Fixed broken regression tests:
- For all except `trivialleak', expected output lines like this:

      by 0x........: __libc_start_main@@GLIBC_2.0 (...libc...)

    were changed to look like this:

      by 0x........: (within /.../tests/supp2)

    This change was caused by a change about 3 weeks ago, but we couldn't work
    out exactly which one.  It does not seem unreasonable, though.

  - For `malloc1' and `trivialleak', one of the line numbers changed -- they
    are now correct instead of off by one -- thanks to Jeremy F's recent patch
    which subtracts one from return addresses (for exactly this reason).

Now they all pass again except `tronical', as expected.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1328
2002-11-18 11:46:48 +00:00

28 lines
1.1 KiB
Plaintext

Invalid write of size 1
at 0x........: main (malloc2.c:39)
by 0x........: __libc_start_main (...libc...)
by 0x........: (within /.../tests/malloc2)
Address 0x........ is 0 bytes inside a block of size 429 free'd
at 0x........: free (vg_clientfuncs.c:...)
by 0x........: main (malloc2.c:38)
by 0x........: __libc_start_main (...libc...)
by 0x........: (within /.../tests/malloc2)
Invalid free() / delete / delete[]
at 0x........: free (vg_clientfuncs.c:...)
by 0x........: main (malloc2.c:43)
by 0x........: __libc_start_main (...libc...)
by 0x........: (within /.../tests/malloc2)
Address 0x........ is 0 bytes inside a block of size 429 free'd
at 0x........: free (vg_clientfuncs.c:...)
by 0x........: main (malloc2.c:38)
by 0x........: __libc_start_main (...libc...)
by 0x........: (within /.../tests/malloc2)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
malloc/free: in use at exit: 0 bytes in 0 blocks.
malloc/free: 443 allocs, 444 frees, 265463 bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v