mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Default value changed following discussion on valdev. Giving more information for errors with freed blocks can help when investigating difficult problems (e.g. double free, programs using 'cleanup list' collecting different types of memory, ...) Regression tested on various setup (x86, ppc64, s390x, amd64, debian or fedora) Tests that have only one exp files have been updated to use the output of the new default value in their .exp file. Tests having more than one exp file have been changed so as to specify explicitely the previous clo default value (i.e. adding --keep-stacktraces=alloc-then-free in the vgtest file). Possibly, some tests might fail on non tested platforms (e.g. mips, macos, solaris, tilegx). Fixes should be straightforward, using one of the above fix techniques. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15597
21 lines
737 B
Plaintext
21 lines
737 B
Plaintext
Invalid write of size 1
|
|
at 0x........: really (malloc1.c:20)
|
|
by 0x........: main (malloc1.c:9)
|
|
Address 0x........ is 1 bytes inside a block of size 10 free'd
|
|
at 0x........: free (vg_replace_malloc.c:...)
|
|
by 0x........: really (malloc1.c:19)
|
|
by 0x........: main (malloc1.c:9)
|
|
Block was alloc'd at
|
|
at 0x........: malloc (vg_replace_malloc.c:...)
|
|
by 0x........: really (malloc1.c:16)
|
|
by 0x........: main (malloc1.c:9)
|
|
|
|
Invalid write of size 1
|
|
at 0x........: really (malloc1.c:23)
|
|
by 0x........: main (malloc1.c:9)
|
|
Address 0x........ is 1 bytes before a block of size 10 alloc'd
|
|
at 0x........: malloc (vg_replace_malloc.c:...)
|
|
by 0x........: really (malloc1.c:21)
|
|
by 0x........: main (malloc1.c:9)
|
|
|