You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(6) |
|
2
(4) |
3
(9) |
4
(11) |
5
(16) |
6
(6) |
7
(1) |
8
(11) |
|
9
(11) |
10
(6) |
11
(10) |
12
(23) |
13
(23) |
14
(6) |
15
(10) |
|
16
(5) |
17
(13) |
18
(9) |
19
(4) |
20
(6) |
21
(16) |
22
(3) |
|
23
(5) |
24
(7) |
25
(6) |
26
(4) |
27
(8) |
28
|
29
(3) |
|
30
(2) |
31
(17) |
|
|
|
|
|
|
From: <sv...@va...> - 2015-08-29 12:14:49
|
Author: philippe
Date: Sat Aug 29 13:14:42 2015
New Revision: 15598
Log:
Small updates in NEWS
* Now that gdb 7.10 is out, reference the release for target remote exec file
* fix typo
Modified:
trunk/NEWS
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Aug 29 13:14:42 2015
@@ -54,7 +54,7 @@
for those targets only.
- New command line option: --expensive-definedness-check=<yes|no> which
- is usefult to avoid occasional invalid complaints on optimised code.
+ is useful to avoid occasional invalid complaints on optimised code.
Watchout for runtime degradation: 25% have been observed but, as always,
this is highly application specific.
@@ -128,7 +128,7 @@
with SIGNAL instead of the signal reported to GDB. Use 'signal 0' to
continue without passing the signal to the process.
- - With recent GDB (>= 7.9.50.20150514-cvs), the command 'target remote'
+ - With GDB >= 7.10, the command 'target remote'
will automatically load the executable file of the process running
under Valgrind. This means you do not need to specify the executable
file yourself, GDB will discover it itself. See GDB documentation about
|
|
From: <sv...@va...> - 2015-08-29 10:45:35
|
Author: philippe
Date: Sat Aug 29 11:45:26 2015
New Revision: 15597
Log:
Change default value for --keep-stacktraces has been changed to alloc-and-free
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.
Modified:
trunk/NEWS
trunk/memcheck/docs/mc-manual.xml
trunk/memcheck/mc_main.c
trunk/memcheck/tests/big_blocks_freed_list.stderr.exp
trunk/memcheck/tests/cond_ld.vgtest
trunk/memcheck/tests/cond_st.vgtest
trunk/memcheck/tests/custom_alloc.vgtest
trunk/memcheck/tests/doublefree.stderr.exp
trunk/memcheck/tests/err_disable1.stderr.exp
trunk/memcheck/tests/err_disable2.stderr.exp
trunk/memcheck/tests/err_disable3.stderr.exp
trunk/memcheck/tests/err_disable4.stderr.exp
trunk/memcheck/tests/err_disable_arange1.stderr.exp
trunk/memcheck/tests/fprw.vgtest
trunk/memcheck/tests/malloc1.stderr.exp
trunk/memcheck/tests/malloc2.stderr.exp
trunk/memcheck/tests/memalign_test.stderr.exp
trunk/memcheck/tests/noisy_child.stderr.exp
trunk/memcheck/tests/partial_load_dflt.vgtest
trunk/memcheck/tests/partial_load_ok.vgtest
trunk/memcheck/tests/suppfree.stderr.exp
trunk/memcheck/tests/test-plo-no.vgtest
trunk/memcheck/tests/test-plo-yes.vgtest
trunk/memcheck/tests/xml1.vgtest
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Aug 29 11:45:26 2015
@@ -33,6 +33,12 @@
* Memcheck:
+ - Default value for --keep-stacktraces has been changed to alloc-and-free.
+ This has a small cost in memory (one word per malloc-ed block) but
+ allows memcheck to e.g. give the 3 stacktraces of a dangling reference:
+ Where the block was allocated, where it was freed, and where it is
+ acccessed after free.
+
- A new monitor command 'xb <addr> <len>' shows the validity bits of
<len> bytes at <addr>. The monitor command 'xb' is easier to use
than get_vbits when you need to associate byte data value with
Modified: trunk/memcheck/docs/mc-manual.xml
==============================================================================
--- trunk/memcheck/docs/mc-manual.xml (original)
+++ trunk/memcheck/docs/mc-manual.xml Sat Aug 29 11:45:26 2015
@@ -990,7 +990,7 @@
<varlistentry id="opt.keep-stacktraces" xreflabel="--keep-stacktraces">
<term>
- <option><![CDATA[--keep-stacktraces=alloc|free|alloc-and-free|alloc-then-free|none [default: alloc-then-free] ]]></option>
+ <option><![CDATA[--keep-stacktraces=alloc|free|alloc-and-free|alloc-then-free|none [default: alloc-and-free] ]]></option>
</term>
<listitem>
<para>Controls which stack trace(s) to keep for malloc'd and/or
Modified: trunk/memcheck/mc_main.c
==============================================================================
--- trunk/memcheck/mc_main.c (original)
+++ trunk/memcheck/mc_main.c Sat Aug 29 11:45:26 2015
@@ -5708,7 +5708,7 @@
Bool MC_(clo_workaround_gcc296_bugs) = False;
Int MC_(clo_malloc_fill) = -1;
Int MC_(clo_free_fill) = -1;
-KeepStacktraces MC_(clo_keep_stacktraces) = KS_alloc_then_free;
+KeepStacktraces MC_(clo_keep_stacktraces) = KS_alloc_and_free;
Int MC_(clo_mc_level) = 2;
Bool MC_(clo_show_mismatched_frees) = True;
Bool MC_(clo_expensive_definedness_check) = False;
@@ -5907,7 +5907,7 @@
" --malloc-fill=<hexnumber> fill malloc'd areas with given value\n"
" --free-fill=<hexnumber> fill free'd areas with given value\n"
" --keep-stacktraces=alloc|free|alloc-and-free|alloc-then-free|none\n"
-" stack trace(s) to keep for malloc'd/free'd areas [alloc-then-free]\n"
+" stack trace(s) to keep for malloc'd/free'd areas [alloc-and-free]\n"
" --show-mismatched-frees=no|yes show frees that don't match the allocator? [yes]\n"
, plo_default
);
Modified: trunk/memcheck/tests/big_blocks_freed_list.stderr.exp
==============================================================================
--- trunk/memcheck/tests/big_blocks_freed_list.stderr.exp (original)
+++ trunk/memcheck/tests/big_blocks_freed_list.stderr.exp Sat Aug 29 11:45:26 2015
@@ -4,12 +4,18 @@
Address 0x........ is 1,000 bytes inside a block of size 1,000,015 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (big_blocks_freed_list.c:21)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (big_blocks_freed_list.c:19)
Invalid read of size 1
at 0x........: main (big_blocks_freed_list.c:23)
Address 0x........ is 1,000 bytes inside a block of size 900,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (big_blocks_freed_list.c:20)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (big_blocks_freed_list.c:18)
Invalid read of size 1
at 0x........: main (big_blocks_freed_list.c:33)
@@ -20,24 +26,36 @@
Address 0x........ is 2,000 bytes inside a block of size 900,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (big_blocks_freed_list.c:20)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (big_blocks_freed_list.c:18)
Invalid read of size 1
at 0x........: main (big_blocks_freed_list.c:41)
Address 0x........ is 10 bytes inside a block of size 10,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (big_blocks_freed_list.c:28)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (big_blocks_freed_list.c:27)
Invalid read of size 1
at 0x........: main (big_blocks_freed_list.c:46)
Address 0x........ is 10 bytes inside a block of size 1,000,015 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (big_blocks_freed_list.c:40)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (big_blocks_freed_list.c:39)
Invalid read of size 1
at 0x........: main (big_blocks_freed_list.c:55)
Address 0x........ is 10 bytes inside a block of size 10,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (big_blocks_freed_list.c:28)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (big_blocks_freed_list.c:27)
HEAP SUMMARY:
Modified: trunk/memcheck/tests/cond_ld.vgtest
==============================================================================
--- trunk/memcheck/tests/cond_ld.vgtest (original)
+++ trunk/memcheck/tests/cond_ld.vgtest Sat Aug 29 11:45:26 2015
@@ -1,4 +1,4 @@
prog: cond_ld_st
args: loads
-vgopts: -q
+vgopts: -q --keep-stacktraces=alloc-then-free
stderr_filter_args: cond_ld_st
Modified: trunk/memcheck/tests/cond_st.vgtest
==============================================================================
--- trunk/memcheck/tests/cond_st.vgtest (original)
+++ trunk/memcheck/tests/cond_st.vgtest Sat Aug 29 11:45:26 2015
@@ -1,4 +1,4 @@
prog: cond_ld_st
args: stores
-vgopts: -q
+vgopts: -q --keep-stacktraces=alloc-then-free
stderr_filter_args: cond_ld_st
Modified: trunk/memcheck/tests/custom_alloc.vgtest
==============================================================================
--- trunk/memcheck/tests/custom_alloc.vgtest (original)
+++ trunk/memcheck/tests/custom_alloc.vgtest Sat Aug 29 11:45:26 2015
@@ -1,2 +1,2 @@
prog: custom_alloc
-vgopts: -q
+vgopts: -q --keep-stacktraces=alloc-then-free
Modified: trunk/memcheck/tests/doublefree.stderr.exp
==============================================================================
--- trunk/memcheck/tests/doublefree.stderr.exp (original)
+++ trunk/memcheck/tests/doublefree.stderr.exp Sat Aug 29 11:45:26 2015
@@ -4,4 +4,7 @@
Address 0x........ is 0 bytes inside a block of size 177 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (doublefree.c:10)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (doublefree.c:8)
Modified: trunk/memcheck/tests/err_disable1.stderr.exp
==============================================================================
--- trunk/memcheck/tests/err_disable1.stderr.exp (original)
+++ trunk/memcheck/tests/err_disable1.stderr.exp Sat Aug 29 11:45:26 2015
@@ -10,6 +10,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable1.c:26)
--------- disabled (expect 0) ---------
@@ -23,6 +26,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable1.c:26)
--------- MULTI-LEVEL TEST (expect 2) ---------
@@ -33,6 +39,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable1.c:26)
Invalid read of size 1
at 0x........: err (err_disable1.c:21)
@@ -40,6 +49,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable1.c:26)
--------- MULTI-LEVEL TEST end ---------
Modified: trunk/memcheck/tests/err_disable2.stderr.exp
==============================================================================
--- trunk/memcheck/tests/err_disable2.stderr.exp (original)
+++ trunk/memcheck/tests/err_disable2.stderr.exp Sat Aug 29 11:45:26 2015
@@ -7,6 +7,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable2.c:28)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable2.c:27)
--------- disabled (expect 0) ---------
Modified: trunk/memcheck/tests/err_disable3.stderr.exp
==============================================================================
--- trunk/memcheck/tests/err_disable3.stderr.exp (original)
+++ trunk/memcheck/tests/err_disable3.stderr.exp Sat Aug 29 11:45:26 2015
@@ -15,6 +15,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable3.c:41)
--------- c: end ---------
@@ -32,4 +35,7 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable3.c:41)
Modified: trunk/memcheck/tests/err_disable4.stderr.exp
==============================================================================
--- trunk/memcheck/tests/err_disable4.stderr.exp (original)
+++ trunk/memcheck/tests/err_disable4.stderr.exp Sat Aug 29 11:45:26 2015
@@ -1506,6 +1506,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable4.c:80)
-------- Got 498 errors (expected 498 ==> PASS) ------
Modified: trunk/memcheck/tests/err_disable_arange1.stderr.exp
==============================================================================
--- trunk/memcheck/tests/err_disable_arange1.stderr.exp (original)
+++ trunk/memcheck/tests/err_disable_arange1.stderr.exp Sat Aug 29 11:45:26 2015
@@ -6,6 +6,9 @@
Address 0x........ is 492 bytes inside a block of size 4,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable_arange1.c:15)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable_arange1.c:14)
Disabling address error reporting for the range.
@@ -24,6 +27,9 @@
Address 0x........ is 3,156 bytes inside a block of size 4,000 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable_arange1.c:15)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (err_disable_arange1.c:14)
Exiting. Expect warnings of 2 remaining ranges.
Modified: trunk/memcheck/tests/fprw.vgtest
==============================================================================
--- trunk/memcheck/tests/fprw.vgtest (original)
+++ trunk/memcheck/tests/fprw.vgtest Sat Aug 29 11:45:26 2015
@@ -1,2 +1,2 @@
-vgopts: -q
+vgopts: -q --keep-stacktraces=alloc-then-free
prog: fprw
Modified: trunk/memcheck/tests/malloc1.stderr.exp
==============================================================================
--- trunk/memcheck/tests/malloc1.stderr.exp (original)
+++ trunk/memcheck/tests/malloc1.stderr.exp Sat Aug 29 11:45:26 2015
@@ -5,6 +5,10 @@
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)
Modified: trunk/memcheck/tests/malloc2.stderr.exp
==============================================================================
--- trunk/memcheck/tests/malloc2.stderr.exp (original)
+++ trunk/memcheck/tests/malloc2.stderr.exp Sat Aug 29 11:45:26 2015
@@ -3,6 +3,9 @@
Address 0x........ is 0 bytes inside a block of size 772 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (malloc2.c:49)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (malloc2.c:41)
Invalid free() / delete / delete[] / realloc()
at 0x........: free (vg_replace_malloc.c:...)
@@ -10,4 +13,7 @@
Address 0x........ is 0 bytes inside a block of size 772 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (malloc2.c:49)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (malloc2.c:41)
Modified: trunk/memcheck/tests/memalign_test.stderr.exp
==============================================================================
--- trunk/memcheck/tests/memalign_test.stderr.exp (original)
+++ trunk/memcheck/tests/memalign_test.stderr.exp Sat Aug 29 11:45:26 2015
@@ -4,4 +4,8 @@
Address 0x........ is 0 bytes inside a block of size 111,110 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (memalign_test.c:23)
+ Block was alloc'd at
+ at 0x........: memalign (vg_replace_malloc.c:...)
+ by 0x........: valloc (vg_replace_malloc.c:...)
+ by 0x........: main (memalign_test.c:16)
Modified: trunk/memcheck/tests/noisy_child.stderr.exp
==============================================================================
--- trunk/memcheck/tests/noisy_child.stderr.exp (original)
+++ trunk/memcheck/tests/noisy_child.stderr.exp Sat Aug 29 11:45:26 2015
@@ -4,6 +4,9 @@
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (noisy_child.c:24)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (noisy_child.c:23)
Invalid write of size 1
at 0x........: do_parent_badness (noisy_child.c:16)
@@ -11,6 +14,9 @@
Address 0x........ is 0 bytes after a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (noisy_child.c:24)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (noisy_child.c:23)
HEAP SUMMARY:
Modified: trunk/memcheck/tests/partial_load_dflt.vgtest
==============================================================================
--- trunk/memcheck/tests/partial_load_dflt.vgtest (original)
+++ trunk/memcheck/tests/partial_load_dflt.vgtest Sat Aug 29 11:45:26 2015
@@ -1,3 +1,4 @@
prog: partial_load
+vgopts: --keep-stacktraces=alloc-then-free
stderr_filter: filter_allocs
stderr_filter_args: partial_load.c
Modified: trunk/memcheck/tests/partial_load_ok.vgtest
==============================================================================
--- trunk/memcheck/tests/partial_load_ok.vgtest (original)
+++ trunk/memcheck/tests/partial_load_ok.vgtest Sat Aug 29 11:45:26 2015
@@ -1,4 +1,4 @@
prog: partial_load
-vgopts: --partial-loads-ok=yes
+vgopts: --partial-loads-ok=yes --keep-stacktraces=alloc-then-free
stderr_filter: filter_allocs
stderr_filter_args: partial_load.c
Modified: trunk/memcheck/tests/suppfree.stderr.exp
==============================================================================
--- trunk/memcheck/tests/suppfree.stderr.exp (original)
+++ trunk/memcheck/tests/suppfree.stderr.exp Sat Aug 29 11:45:26 2015
@@ -12,4 +12,7 @@
by 0x........: bbb (suppfree.c:17)
by 0x........: aaa (suppfree.c:22)
by 0x........: main (suppfree.c:36)
+ Block was alloc'd at
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (suppfree.c:32)
Modified: trunk/memcheck/tests/test-plo-no.vgtest
==============================================================================
--- trunk/memcheck/tests/test-plo-no.vgtest (original)
+++ trunk/memcheck/tests/test-plo-no.vgtest Sat Aug 29 11:45:26 2015
@@ -1,2 +1,2 @@
prog: test-plo
-vgopts: -q
+vgopts: -q --keep-stacktraces=alloc-then-free
Modified: trunk/memcheck/tests/test-plo-yes.vgtest
==============================================================================
--- trunk/memcheck/tests/test-plo-yes.vgtest (original)
+++ trunk/memcheck/tests/test-plo-yes.vgtest Sat Aug 29 11:45:26 2015
@@ -1,3 +1,3 @@
prereq: ! ../../tests/arch_test ppc32 && ! ../../tests/arch_test ppc64 && ! ../../tests/arch_test s390x && ! ../../tests/mips_features mips-be
prog: test-plo
-vgopts: -q --partial-loads-ok=yes
+vgopts: -q --partial-loads-ok=yes --keep-stacktraces=alloc-then-free
Modified: trunk/memcheck/tests/xml1.vgtest
==============================================================================
--- trunk/memcheck/tests/xml1.vgtest (original)
+++ trunk/memcheck/tests/xml1.vgtest Sat Aug 29 11:45:26 2015
@@ -1,3 +1,3 @@
prog: xml1
-vgopts: --xml=yes --xml-fd=2 --log-file=/dev/null
+vgopts: --xml=yes --xml-fd=2 --log-file=/dev/null --keep-stacktraces=alloc-then-free
stderr_filter: filter_xml
|
|
From: <sv...@va...> - 2015-08-29 07:42:49
|
Author: rhyskidd
Date: Sat Aug 29 08:42:40 2015
New Revision: 15596
Log:
Intercept platform_memchr$VARIANT$Haswell on OS X
bz#351756
On OS X 10.10 (without Haswell hardware)
Before:
== 595 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 595 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
Modified:
trunk/NEWS
trunk/shared/vg_replace_strmem.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Aug 29 08:42:40 2015
@@ -339,6 +339,7 @@
351386 Solaris: Cannot run ld.so.1 under Valgrind
351474 Fix VG_(iseqsigset) as obvious
351534 Fix incorrect header guard
+351756 Intercept platform_memchr$VARIANT$Haswell on OS X
n-i-bz Provide implementations of certain compiler builtins to support
compilers that may not provide those
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
Modified: trunk/shared/vg_replace_strmem.c
==============================================================================
--- trunk/shared/vg_replace_strmem.c (original)
+++ trunk/shared/vg_replace_strmem.c Sat Aug 29 08:42:40 2015
@@ -262,6 +262,7 @@
# if DARWIN_VERS >= DARWIN_10_10
/* _platform_strchr$VARIANT$Generic */
STRCHR(libsystemZuplatformZddylib, _platform_strchr$VARIANT$Generic)
+ /* _platform_strchr$VARIANT$Haswell */
STRCHR(libsystemZuplatformZddylib, _platform_strchr$VARIANT$Haswell)
# endif
@@ -891,6 +892,8 @@
MEMCHR(VG_Z_DYLD, memchr)
/* _platform_memchr$VARIANT$Generic */
MEMCHR(libsystemZuplatformZddylib, _platform_memchr$VARIANT$Generic)
+ /* _platform_memchr$VARIANT$Haswell */
+ MEMCHR(libsystemZuplatformZddylib, _platform_memchr$VARIANT$Haswell)
# endif
#elif defined(VGO_solaris)
|