ftmemsim-valgrind/memcheck/tests/malloc1.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

29 lines
1.1 KiB
Plaintext

Invalid write of size 1
at 0x........: really (malloc1.c:20)
by 0x........: main (malloc1.c:9)
by 0x........: __libc_start_main (...libc...)
by 0x........: (within /.../tests/malloc1)
Address 0x........ is 1 bytes inside a block of size 10 free'd
at 0x........: free (vg_clientfuncs.c:...)
by 0x........: really (malloc1.c:19)
by 0x........: main (malloc1.c:9)
by 0x........: __libc_start_main (...libc...)
Invalid write of size 1
at 0x........: really (malloc1.c:23)
by 0x........: main (malloc1.c:9)
by 0x........: __libc_start_main (...libc...)
by 0x........: (within /.../tests/malloc1)
Address 0x........ is 1 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_clientfuncs.c:...)
by 0x........: really (malloc1.c:21)
by 0x........: main (malloc1.c:9)
by 0x........: __libc_start_main (...libc...)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
malloc/free: in use at exit: 10 bytes in 1 blocks.
malloc/free: 2 allocs, 1 frees, 20 bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v