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
(12) |
2
(14) |
3
(8) |
|
4
(6) |
5
(15) |
6
(14) |
7
(13) |
8
(14) |
9
(13) |
10
(9) |
|
11
(6) |
12
(12) |
13
(10) |
14
(12) |
15
(9) |
16
(9) |
17
(2) |
|
18
(16) |
19
(21) |
20
(17) |
21
(6) |
22
(5) |
23
(3) |
24
(12) |
|
25
(10) |
26
(5) |
27
(15) |
28
(16) |
29
(12) |
30
(11) |
31
(11) |
|
From: Rich C. <rc...@wi...> - 2015-01-31 05:32:25
|
valgrind revision: 14898
VEX revision: 3080
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.6-2-desktop x86_64
Vendor version: Welcome to openSUSE 13.2 "Harlequin" - Kernel %r (%t).
Nightly build on rodan ( Linux 3.16.6-2-desktop x86_64 )
Started at 2015-01-30 19:22:01 CST
Ended at 2015-01-30 23:32:17 CST
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 615 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
+ perl perf/vg_perf --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old perf
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.48s no: 7.7s (16.0x, -----) me:15.5s (32.4x, -----) ca:61.3s (127.7x, -----) he: 9.6s (19.9x, -----) ca:17.1s (35.7x, -----) dr: 9.1s (19.0x, -----) ma: 8.9s (18.6x, -----)
bigcode1 valgrind-old:0.48s no: 7.7s (15.9x, 0.6%) me:15.6s (32.4x, -0.1%) ca:61.5s (128.2x, -0.4%) he: 9.6s (19.9x, -0.2%) ca:17.2s (35.8x, -0.2%) dr: 9.1s (19.0x, -0.1%) ma: 8.9s (18.6x, 0.1%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.9s (38.6x, -----) me:39.8s (81.2x, -----) ca:106.5s (217.4x, -----) he:24.2s (49.4x, -----) ca:32.9s (67.1x, -----) dr:22.0s (45.0x, -----) ma:21.6s (44.0x, -----)
bigcode2 valgrind-old:0.49s no:18.7s (38.2x, 0.8%) me:39.8s (81.2x, -0.1%) ca:105.9s (216.1x, 0.6%) he:24.2s (49.4x, 0.0%) ca:33.0s (67.2x, -0.2%) dr:22.0s (45.0x, 0.0%) ma:21.6s (44.0x, -0.0%)
-- bz2 --
bz2 valgrind-new:2.32s no: 7.8s ( 3.4x, -----) me:25.6s (11.0x, -----) ca:56.3s (24.3x, -----) he:37.5s (16.2x, -----) ca:52.9s (22.8x, -----) dr:53.1s (22.9x, -----) ma: 7.2s ( 3.1x, -----)
bz2 valgrind-old:2.32s no: 7.8s ( 3.4x, -0.4%) me:25.6s (11.0x, 0.2%) ca:56.6s (24.4x, -0.5%) he:37.5s (16.2x, 0.1%) ca:50.2s (21.6x, 5.1%) dr:53.1s (22.9x, 0.1%) ma: 7.4s ( 3.2x, -2.5%)
-- fbench --
fbench valgrind-new:1.45s no: 5.2s ( 3.6x, -----) me:17.4s (12.0x, -----) ca:26.3s (18.2x, -----) he:13.2s ( 9.1x, -----) ca:16.3s (11.2x, -----) dr:13.3s ( 9.2x, -----) ma: 5.4s ( 3.7x, -----)
fbench valgrind-old:1.45s no: 5.2s ( 3.6x, -0.8%) me:17.4s (12.0x, 0.0%) ca:26.7s (18.4x, -1.3%) he:13.1s ( 9.1x, 0.7%) ca:16.3s (11.2x, 0.2%) dr:13.2s ( 9.1x, 0.3%) ma: 5.4s ( 3.7x, 0.0%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.5s ( 3.5x, -----) me:12.3s (12.3x, -----) ca: 7.8s ( 7.8x, -----) he:21.0s (21.0x, -----) ca:20.4s (20.4x, -----) dr:16.8s (16.8x, -----) ma: 3.4s ( 3.4x, -----)
ffbench valgrind-old:1.00s no: 3.4s ( 3.4x, 0.6%) me:12.3s (12.3x, 0.0%) ca: 7.8s ( 7.8x, 0.0%) he:21.0s (21.0x, 0.0%) ca:20.1s (20.1x, 1.6%) dr:16.8s (16.8x, 0.1%) ma: 3.4s ( 3.4x, 0.0%)
-- heap --
heap valgrind-new:0.41s no: 3.0s ( 7.4x, -----) me:21.9s (53.5x, -----) ca:30.0s (73.1x, -----) he:30.4s (74.2x, -----) ca:15.0s (36.5x, -----) dr:20.3s (49.5x, -----) ma:21.4s (52.3x, -----)
heap valgrind-old:0.41s no: 3.0s ( 7.3x, 1.3%) me:22.2s (54.2x, -1.4%) ca:30.0s (73.2x, -0.1%) he:30.5s (74.3x, -0.1%) ca:15.1s (36.9x, -1.2%) dr:20.2s (49.2x, 0.6%) ma:21.5s (52.5x, -0.3%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.56s no: 3.3s ( 5.9x, -----) me:37.8s (67.6x, -----) ca:33.4s (59.6x, -----) he:34.6s (61.7x, -----) ca:17.1s (30.6x, -----) dr:23.2s (41.4x, -----) ma:22.5s (40.2x, -----)
heap_pdb4 valgrind-old:0.56s no: 3.3s ( 5.9x, -1.2%) me:38.3s (68.4x, -1.3%) ca:33.5s (59.8x, -0.4%) he:34.7s (61.9x, -0.3%) ca:16.9s (30.2x, 1.4%) dr:23.3s (41.5x, -0.4%) ma:22.6s (40.4x, -0.4%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.0s (20.8x, -----) me: 6.0s (120.0x, -----) ca: 4.8s (95.6x, -----) he: 5.4s (107.4x, -----) ca: 2.9s (57.4x, -----) dr: 4.9s (98.8x, -----) ma: 4.8s (95.4x, -----)
many-loss-records valgrind-old:0.05s no: 1.0s (20.6x, 1.0%) me: 6.1s (121.2x, -1.0%) ca: 4.8s (95.4x, 0.2%) he: 5.3s (106.4x, 0.9%) ca: 2.9s (57.2x, 0.3%) dr: 5.0s (99.2x, -0.4%) ma: 4.7s (94.0x, 1.5%)
-- many-xpts --
many-xpts valgrind-new:0.15s no: 1.3s ( 8.7x, -----) me: 7.2s (48.3x, -----) ca:12.7s (84.3x, -----) he: 9.8s (65.0x, -----) ca: 4.2s (27.8x, -----) dr: 6.5s (43.7x, -----) ma: 7.1s (47.3x, -----)
many-xpts valgrind-old:0.15s no: 1.3s ( 8.7x, 0.0%) me: 7.3s (49.0x, -1.5%) ca:12.8s (85.0x, -0.8%) he: 9.8s (65.2x, -0.3%) ca: 4.1s (27.5x, 1.2%) dr: 6.6s (44.1x, -1.1%) ma: 7.1s (47.1x, 0.3%)
-- sarp --
sarp valgrind-new:0.11s no: 1.2s (11.4x, -----) me: 9.1s (82.5x, -----) ca: 7.8s (70.8x, -----) he:31.0s (282.2x, -----) ca: 4.3s (39.3x, -----) dr: 4.3s (39.2x, -----) ma: 1.3s (11.8x, -----)
sarp valgrind-old:0.11s no: 1.2s (11.3x, 0.8%) me: 9.1s (82.6x, -0.2%) ca: 7.8s (70.6x, 0.3%) he:30.8s (280.1x, 0.7%) ca: 4.3s (39.3x, 0.0%) dr: 4.3s (39.4x, -0.5%) ma: 1.3s (11.9x, -0.8%)
-- tinycc --
tinycc valgrind-new:0.76s no: 7.5s ( 9.8x, -----) me:37.6s (49.4x, -----) ca:46.8s (61.5x, -----) he:44.9s (59.1x, -----) ca:39.4s (51.9x, -----) dr:39.9s (52.5x, -----) ma:11.6s (15.3x, -----)
tinycc valgrind-old:0.76s no: 7.4s ( 9.8x, 0.3%) me:37.8s (49.7x, -0.5%) ca:46.8s (61.6x, -0.1%) he:44.7s (58.9x, 0.4%) ca:39.2s (51.6x, 0.6%) dr:40.0s (52.6x, -0.2%) ma:11.7s (15.3x, -0.4%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
real 151m43.144s
user 150m12.822s
sys 1m24.282s
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-01-30 20:11:14.505530701 -0600
+++ hgtls.stdoutB.out 2015-01-30 20:26:04.480428590 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-01-30 20:11:17.093551239 -0600
+++ err_disable3.stderr.out 2015-01-30 20:30:28.264233434 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
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)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-01-30 20:11:21.207583902 -0600
+++ err_disable4.stderr.out 2015-01-30 20:30:32.498263173 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
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:68)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-01-30 20:11:19.124567362 -0600
+++ threadname.stderr.out 2015-01-30 20:37:18.671223087 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-01-30 20:11:18.182559883 -0600
+++ threadname_xml.stderr.out 2015-01-30 20:37:20.988240559 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-01-30 19:22:17.240302457 -0600
+++ hgtls.stdoutB.out 2015-01-30 19:36:41.769473981 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-01-30 19:22:20.524339289 -0600
+++ err_disable3.stderr.out 2015-01-30 19:41:06.411221673 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
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)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-01-30 19:22:23.226369597 -0600
+++ err_disable4.stderr.out 2015-01-30 19:41:11.274272542 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
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:68)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-01-30 19:22:22.235358481 -0600
+++ threadname.stderr.out 2015-01-30 19:47:57.368046584 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-01-30 19:22:21.551350809 -0600
+++ threadname_xml.stderr.out 2015-01-30 19:47:59.679059455 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
|
|
From: Christian B. <bor...@de...> - 2015-01-31 05:20:09
|
valgrind revision: 14898 VEX revision: 3080 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] GDB: GNU gdb (GDB) SUSE (7.5.1-0.7.29) Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 C library: GNU C Library stable release version 2.11.3 (20110527) uname -mrs: Linux 3.0.101-0.40-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP3 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP3 gcc 4.3.4 on z196 (s390x) ) Started at 2015-01-31 03:45:01 CET Ended at 2015-01-31 06:19:54 CET Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 664 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) helgrind/tests/tc20_verifywrap (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.23s no: 4.9s (21.2x, -----) me: 7.2s (31.4x, -----) ca:26.0s (113.2x, -----) he: 5.5s (24.0x, -----) ca: 9.3s (40.3x, -----) dr: 5.4s (23.4x, -----) ma: 4.9s (21.3x, -----) bigcode1 valgrind-old:0.23s no: 5.1s (22.3x, -5.5%) me: 7.1s (31.0x, 1.2%) ca:26.0s (113.1x, 0.0%) he: 4.8s (20.7x, 13.9%) ca: 9.3s (40.4x, -0.1%) dr: 5.2s (22.8x, 2.6%) ma: 5.0s (21.8x, -2.5%) -- bigcode2 -- bigcode2 valgrind-new:0.25s no: 8.1s (32.4x, -----) me:14.5s (57.8x, -----) ca:54.3s (217.2x, -----) he:10.7s (43.0x, -----) ca:14.9s (59.6x, -----) dr: 9.8s (39.3x, -----) ma: 8.6s (34.4x, -----) bigcode2 valgrind-old:0.25s no: 8.6s (34.6x, -6.8%) me:14.4s (57.7x, 0.3%) ca:39.9s (159.5x, 26.5%) he: 9.9s (39.7x, 7.6%) ca:14.8s (59.0x, 0.9%) dr: 9.7s (38.7x, 1.6%) ma: 8.7s (34.8x, -1.4%) -- bz2 -- bz2 valgrind-new:0.70s no: 6.6s ( 9.4x, -----) me:13.6s (19.4x, -----) ca:30.1s (43.0x, -----) he:19.8s (28.3x, -----) ca:34.2s (48.9x, -----) dr:29.8s (42.5x, -----) ma: 3.8s ( 5.4x, -----) bz2 valgrind-old:0.70s no: 6.7s ( 9.6x, -2.0%) me:13.5s (19.3x, 0.4%) ca:30.0s (42.9x, 0.3%) he:19.8s (28.2x, 0.3%) ca:34.3s (49.1x, -0.3%) dr:29.6s (42.3x, 0.4%) ma: 5.5s ( 7.8x,-45.5%) -- fbench -- fbench valgrind-new:0.41s no: 1.6s ( 4.0x, -----) me: 4.5s (11.0x, -----) ca: 9.3s (22.7x, -----) he: 6.5s (15.9x, -----) ca: 7.2s (17.6x, -----) dr: 5.8s (14.0x, -----) ma: 1.7s ( 4.2x, -----) fbench valgrind-old:0.41s no: 1.6s ( 4.0x, 0.0%) me: 4.5s (11.0x, -0.4%) ca: 9.2s (22.6x, 0.5%) he: 6.5s (15.9x, -0.2%) ca: 7.2s (17.6x, 0.1%) dr: 5.8s (14.1x, -0.3%) ma: 1.7s ( 4.1x, 1.2%) -- ffbench -- ffbench valgrind-new:0.22s no: 1.2s ( 5.6x, -----) me: 3.3s (15.1x, -----) ca: 3.0s (13.7x, -----) he:44.1s (200.5x, -----) ca: 9.6s (43.5x, -----) dr: 7.5s (34.1x, -----) ma: 1.0s ( 4.6x, -----) ffbench valgrind-old:0.22s no: 1.2s ( 5.5x, 1.6%) me: 3.4s (15.6x, -3.3%) ca: 3.0s (13.7x, 0.3%) he:44.9s (203.9x, -1.7%) ca: 9.6s (43.5x, -0.1%) dr: 7.5s (34.1x, 0.1%) ma: 1.0s ( 4.6x, 1.0%) -- heap -- heap valgrind-new:0.23s no: 2.3s (10.0x, -----) me: 9.2s (39.9x, -----) ca:13.1s (56.9x, -----) he:14.4s (62.5x, -----) ca:11.2s (48.7x, -----) dr: 8.2s (35.7x, -----) ma: 8.1s (35.3x, -----) heap valgrind-old:0.23s no: 2.4s (10.3x, -3.5%) me: 9.0s (39.1x, 2.0%) ca:13.1s (56.8x, 0.1%) he:13.4s (58.4x, 6.5%) ca:11.2s (48.6x, 0.1%) dr: 8.7s (38.0x, -6.5%) ma: 8.1s (35.2x, 0.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.24s no: 2.5s (10.6x, -----) me:14.4s (60.0x, -----) ca:14.1s (58.7x, -----) he:14.7s (61.0x, -----) ca:12.5s (52.0x, -----) dr: 9.0s (37.6x, -----) ma: 8.2s (34.3x, -----) heap_pdb4 valgrind-old:0.24s no: 2.6s (10.8x, -1.6%) me:13.2s (55.1x, 8.3%) ca:14.2s (59.2x, -0.9%) he:15.8s (65.7x, -7.6%) ca:12.4s (51.9x, 0.2%) dr: 9.1s (37.9x, -0.9%) ma: 8.2s (34.3x, 0.1%) -- many-loss-records -- many-loss-records valgrind-new:0.03s no: 0.5s (18.0x, -----) me: 2.5s (84.7x, -----) ca: 1.9s (64.3x, -----) he: 2.4s (80.3x, -----) ca: 1.9s (64.0x, -----) dr: 2.0s (66.0x, -----) ma: 1.7s (57.0x, -----) many-loss-records valgrind-old:0.03s no: 0.6s (18.3x, -1.9%) me: 2.4s (78.7x, 7.1%) ca: 1.9s (65.0x, -1.0%) he: 2.4s (80.7x, -0.4%) ca: 1.9s (64.7x, -1.0%) dr: 2.0s (66.3x, -0.5%) ma: 1.7s (56.3x, 1.2%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.7s (10.1x, -----) me: 3.5s (49.4x, -----) ca:348.3s (4975.3x, -----) he: 6.9s (98.9x, -----) ca: 2.8s (40.0x, -----) dr: 2.7s (39.0x, -----) ma: 2.7s (38.0x, -----) many-xpts valgrind-old:0.07s no: 0.7s (10.0x, 1.4%) me: 3.4s (49.0x, 0.9%) ca:351.4s (5020.3x, -0.9%) he: 7.0s (99.4x, -0.6%) ca: 2.8s (40.0x, 0.0%) dr: 2.7s (39.0x, 0.0%) ma: 2.7s (38.4x, -1.1%) -- sarp -- sarp valgrind-new:0.03s no: 0.6s (18.7x, -----) me: 3.8s (128.0x, -----) ca: 3.3s (108.7x, -----) he:17.6s (585.3x, -----) ca: 2.1s (68.7x, -----) dr: 1.6s (53.0x, -----) ma: 0.5s (16.7x, -----) sarp valgrind-old:0.03s no: 0.6s (20.7x,-10.7%) me: 3.9s (128.7x, -0.5%) ca: 3.3s (108.7x, 0.0%) he:17.6s (587.0x, -0.3%) ca: 2.1s (69.0x, -0.5%) dr: 1.6s (53.3x, -0.6%) ma: 0.5s (18.0x, -8.0%) -- tinycc -- tinycc valgrind-new:0.22s no: 3.0s (13.8x, -----) me:15.0s (68.3x, -----) ca:29.7s (135.0x, -----) he:28.1s (127.9x, -----) ca:21.3s (96.9x, -----) dr:20.8s (94.6x, -----) ma: 3.9s (17.9x, -----) tinycc valgrind-old:0.22s no: 3.2s (14.7x, -6.6%) me:14.8s (67.3x, 1.5%) ca:29.9s (136.1x, -0.8%) he:28.1s (127.8x, 0.0%) ca:21.3s (96.8x, 0.1%) dr:20.8s (94.7x, -0.1%) ma: 4.2s (19.0x, -5.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 116m7.360s user 115m0.638s sys 0m49.070s |
|
From: <ma...@bu...> - 2015-01-31 04:34:16
|
valgrind revision: 14897
VEX revision: 3080
C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)
GDB: GNU gdb (GDB) Fedora 7.7.1-21.fc20
Assembler: GNU assembler version 2.23.2
C library: GNU C Library (GNU libc) stable release version 2.18
uname -mrs: Linux 3.17.7-200.fc20.s390x s390x
Vendor version: Fedora 20 (Heisenbug)
Nightly build on lfedora1 ( Fedora release 20 (Heisenbug), s390x )
Started at 2015-01-31 00:00:01 UTC
Ended at 2015-01-31 00:56:33 UTC
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 670 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/pth_cond_destroy_busy (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2015-01-31 00:28:34.098994625 +0000
+++ locked_vs_unlocked2.stderr.out 2015-01-31 00:46:43.568994625 +0000
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-new/helgrind/tests/pth_cond_destroy_busy.stderr.diff
=================================================
--- pth_cond_destroy_busy.stderr.exp 2015-01-31 00:28:34.058994625 +0000
+++ pth_cond_destroy_busy.stderr.out 2015-01-31 00:46:50.378994625 +0000
@@ -47,4 +47,4 @@
First pthread_cond_destroy() call returned EBUSY.
Second pthread_cond_destroy() call returned success.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2015-01-31 00:28:34.048994625 +0000
+++ tc22_exit_w_lock.stderr.out 2015-01-31 00:48:07.938994625 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is in a rw- anonymous segment
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
@@ -23,10 +40,6 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -34,4 +47,4 @@
by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86
=================================================
--- tc22_exit_w_lock.stderr.exp-kfail-x86 2015-01-31 00:28:34.058994625 +0000
+++ tc22_exit_w_lock.stderr.out 2015-01-31 00:48:07.938994625 +0000
@@ -3,7 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
@@ -14,9 +13,25 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is in a rw- anonymous segment
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
@@ -25,14 +40,11 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2015-01-31 00:00:16.238994625 +0000
+++ locked_vs_unlocked2.stderr.out 2015-01-31 00:18:36.558994625 +0000
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-old/helgrind/tests/pth_cond_destroy_busy.stderr.diff
=================================================
--- pth_cond_destroy_busy.stderr.exp 2015-01-31 00:00:16.198994625 +0000
+++ pth_cond_destroy_busy.stderr.out 2015-01-31 00:18:43.378994625 +0000
@@ -47,4 +47,4 @@
First pthread_cond_destroy() call returned EBUSY.
Second pthread_cond_destroy() call returned success.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2015-01-31 00:00:16.178994625 +0000
+++ tc22_exit_w_lock.stderr.out 2015-01-31 00:20:01.468994625 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is in a rw- anonymous segment
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
@@ -23,10 +40,6 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -34,4 +47,4 @@
by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86
=================================================
--- tc22_exit_w_lock.stderr.exp-kfail-x86 2015-01-31 00:00:16.198994625 +0000
+++ tc22_exit_w_lock.stderr.out 2015-01-31 00:20:01.468994625 +0000
@@ -3,7 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
@@ -14,9 +13,25 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is in a rw- anonymous segment
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
@@ -25,14 +40,11 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
|
|
From: Tom H. <to...@co...> - 2015-01-31 04:13:37
|
valgrind revision: 14898 VEX revision: 3080 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.1-48.fc15) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.17.8-300.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2015-01-31 03:02:05 GMT Ended at 2015-01-31 04:13:25 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 698 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.10s no: 1.7s (16.6x, -----) me: 3.3s (33.4x, -----) ca:14.3s (143.4x, -----) he: 2.1s (20.6x, -----) ca: 3.9s (38.5x, -----) dr: 2.0s (19.8x, -----) ma: 1.9s (19.4x, -----) bigcode1 valgrind-old:0.10s no: 1.7s (16.6x, 0.0%) me: 3.3s (33.1x, 0.9%) ca:14.4s (143.7x, -0.2%) he: 2.0s (20.3x, 1.5%) ca: 3.9s (38.6x, -0.3%) dr: 2.0s (19.9x, -0.5%) ma: 1.9s (19.4x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.5x, -----) me: 8.5s (77.5x, -----) ca:25.6s (233.1x, -----) he: 5.1s (46.2x, -----) ca: 7.3s (66.3x, -----) dr: 4.7s (42.5x, -----) ma: 4.6s (41.5x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.4x, 0.2%) me: 8.5s (76.9x, 0.7%) ca:25.5s (232.0x, 0.5%) he: 5.0s (45.2x, 2.2%) ca: 7.3s (66.4x, -0.1%) dr: 4.7s (42.8x, -0.9%) ma: 4.6s (41.6x, -0.2%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.7s (11.0x, -----) ca:13.2s (25.4x, -----) he: 8.3s (16.0x, -----) ca:10.8s (20.9x, -----) dr:10.5s (20.2x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, -0.0%) me: 5.7s (10.9x, 0.5%) ca:13.2s (25.4x, 0.0%) he: 8.2s (15.9x, 1.1%) ca:10.9s (20.9x, -0.3%) dr:10.7s (20.5x, -1.9%) ma: 1.6s ( 3.1x, -1.3%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.5x, -----) me: 3.8s (17.0x, -----) ca: 5.5s (25.2x, -----) he: 2.8s (12.9x, -----) ca: 3.2s (14.4x, -----) dr: 2.6s (11.9x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, -1.0%) me: 3.8s (17.1x, -0.3%) ca: 5.6s (25.3x, -0.2%) he: 2.8s (12.9x, 0.0%) ca: 3.2s (14.5x, -0.6%) dr: 2.6s (11.9x, 0.4%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.20s no: 0.9s ( 4.5x, -----) me: 2.8s (14.0x, -----) ca: 1.8s ( 9.0x, -----) he: 5.5s (27.7x, -----) ca: 4.1s (20.6x, -----) dr: 3.2s (16.1x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.20s no: 0.9s ( 4.5x, -1.1%) me: 2.8s (13.9x, 0.4%) ca: 1.8s ( 9.0x, 0.0%) he: 5.0s (25.2x, 9.0%) ca: 4.1s (20.5x, 0.2%) dr: 3.2s (16.1x, -0.3%) ma: 0.8s ( 4.2x, 1.2%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.6x, -----) me: 5.0s (62.0x, -----) ca: 6.1s (75.9x, -----) he: 6.5s (81.1x, -----) ca: 3.2s (39.9x, -----) dr: 4.2s (52.6x, -----) ma: 4.6s (58.0x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.1x, 6.6%) me: 4.9s (61.2x, 1.2%) ca: 6.1s (75.9x, 0.0%) he: 6.5s (81.2x, -0.2%) ca: 3.2s (39.6x, 0.6%) dr: 4.3s (53.6x, -1.9%) ma: 4.5s (56.6x, 2.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.6s ( 6.3x, -----) me: 8.3s (83.5x, -----) ca: 6.7s (67.0x, -----) he: 7.5s (75.2x, -----) ca: 3.5s (34.7x, -----) dr: 4.9s (49.0x, -----) ma: 4.8s (48.3x, -----) heap_pdb4 valgrind-old:0.10s no: 0.6s ( 6.4x, -1.6%) me: 8.3s (83.3x, 0.2%) ca: 6.7s (67.3x, -0.4%) he: 7.5s (74.6x, 0.8%) ca: 3.5s (34.8x, -0.3%) dr: 5.0s (49.9x, -1.8%) ma: 4.7s (47.0x, 2.7%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (24.0x, -----) me: 1.4s (137.0x, -----) ca: 1.0s (99.0x, -----) he: 1.1s (114.0x, -----) ca: 0.7s (66.0x, -----) dr: 1.0s (104.0x, -----) ma: 0.9s (95.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (24.0x, 0.0%) me: 1.4s (141.0x, -2.9%) ca: 1.1s (106.0x, -7.1%) he: 1.2s (123.0x, -7.9%) ca: 0.7s (70.0x, -6.1%) dr: 1.1s (111.0x, -6.7%) ma: 1.0s (99.0x, -4.2%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 2.0s (65.7x, -----) ca: 2.7s (90.3x, -----) he: 2.3s (76.7x, -----) ca: 1.0s (33.3x, -----) dr: 1.5s (51.3x, -----) ma: 1.5s (49.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (11.0x, -3.1%) me: 2.0s (66.3x, -1.0%) ca: 2.7s (90.0x, 0.4%) he: 2.3s (77.0x, -0.4%) ca: 1.0s (33.3x, 0.0%) dr: 1.6s (51.7x, -0.6%) ma: 1.5s (48.7x, 0.7%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.6s (132.5x, -----) ca: 1.9s (94.0x, -----) he: 6.8s (341.0x, -----) ca: 0.9s (47.0x, -----) dr: 1.0s (51.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.6s (132.5x, 0.0%) ca: 1.9s (93.5x, 0.5%) he: 6.7s (336.0x, 1.5%) ca: 0.9s (47.5x, -1.1%) dr: 1.0s (51.0x, 0.0%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 9.0x, -----) me: 9.2s (57.4x, -----) ca:11.2s (70.1x, -----) he: 9.8s (61.6x, -----) ca: 8.4s (52.2x, -----) dr: 8.2s (51.6x, -----) ma: 2.5s (15.8x, -----) tinycc valgrind-old:0.16s no: 1.5s ( 9.2x, -2.1%) me: 9.2s (57.4x, 0.0%) ca:11.2s (70.1x, 0.0%) he: 9.9s (61.6x, -0.1%) ca: 8.4s (52.3x, -0.1%) dr: 8.2s (51.5x, 0.1%) ma: 2.4s (15.2x, 3.2%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m10.121s user 33m15.485s sys 0m22.216s |
|
From: Rich C. <rc...@wi...> - 2015-01-31 04:08:13
|
valgrind revision: 14898
VEX revision: 3080
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.6-2-desktop x86_64
Vendor version: openSUSE 13.2 (Harlequin)
Nightly build on ultra ( gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064] Linux 3.16.6-2-desktop x86_64 )
Started at 2015-01-30 21:30:01 CST
Ended at 2015-01-30 22:08:02 CST
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 615 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-01-30 21:49:35.086254152 -0600
+++ hgtls.stdoutB.out 2015-01-30 21:55:59.116071887 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-01-30 21:50:50.050269020 -0600
+++ hg05_race2.stderr.out 2015-01-30 22:02:34.382559239 -0600
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2015-01-30 21:50:50.072268437 -0600
+++ tc09_bad_unlock.stderr.out 2015-01-30 22:03:01.687833275 -0600
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-01-30 21:49:41.242091185 -0600
+++ err_disable3.stderr.out 2015-01-30 21:57:49.958127311 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
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)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-01-30 21:49:48.574895844 -0600
+++ err_disable4.stderr.out 2015-01-30 21:57:51.226093613 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
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:68)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-01-30 21:49:45.151987671 -0600
+++ threadname.stderr.out 2015-01-30 21:59:50.586919995 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-01-30 21:49:43.705025981 -0600
+++ threadname_xml.stderr.out 2015-01-30 21:59:51.247902413 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-01-30 21:30:19.476763302 -0600
+++ hgtls.stdoutB.out 2015-01-30 21:37:20.174225692 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-01-30 21:31:38.977584477 -0600
+++ hg05_race2.stderr.out 2015-01-30 21:43:58.053296529 -0600
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2015-01-30 21:31:39.000583898 -0600
+++ tc09_bad_unlock.stderr.out 2015-01-30 21:44:25.592539488 -0600
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-01-30 21:30:24.412628049 -0600
+++ err_disable3.stderr.out 2015-01-30 21:39:11.344173640 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
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)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-01-30 21:30:32.614403334 -0600
+++ err_disable4.stderr.out 2015-01-30 21:39:12.671137202 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
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:68)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-01-30 21:30:29.338493075 -0600
+++ threadname.stderr.out 2015-01-30 21:41:12.097857030 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-01-30 21:30:27.776535913 -0600
+++ threadname_xml.stderr.out 2015-01-30 21:41:12.739839393 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2015-01-31 04:04:58
|
valgrind revision: 14898 VEX revision: 3080 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.17.8-300.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2015-01-31 02:51:28 GMT Ended at 2015-01-31 04:04:47 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 698 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.7s (15.1x, -----) me: 3.4s (30.7x, -----) ca:14.4s (130.5x, -----) he: 2.1s (19.1x, -----) ca: 3.9s (35.2x, -----) dr: 2.0s (18.4x, -----) ma: 2.0s (17.8x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.2x, -0.6%) me: 3.4s (30.7x, 0.0%) ca:14.3s (130.5x, 0.1%) he: 2.1s (19.1x, 0.0%) ca: 3.9s (35.1x, 0.3%) dr: 2.0s (18.4x, 0.0%) ma: 2.0s (17.8x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.5x, -----) me: 8.6s (77.7x, -----) ca:26.6s (241.5x, -----) he: 5.1s (46.0x, -----) ca: 7.3s (66.7x, -----) dr: 4.8s (43.4x, -----) ma: 4.6s (41.7x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.6x, -0.2%) me: 8.5s (77.5x, 0.4%) ca:25.6s (233.1x, 3.5%) he: 5.0s (45.9x, 0.2%) ca: 7.3s (66.4x, 0.5%) dr: 4.8s (43.2x, 0.4%) ma: 4.6s (41.5x, 0.4%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.2x, -----) me: 5.8s (11.1x, -----) ca:13.2s (25.5x, -----) he: 8.4s (16.2x, -----) ca:11.0s (21.1x, -----) dr:10.5s (20.2x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, 1.8%) me: 5.8s (11.1x, 0.0%) ca:13.5s (25.9x, -1.7%) he: 8.5s (16.3x, -0.6%) ca:11.0s (21.2x, -0.3%) dr:10.5s (20.2x, -0.1%) ma: 1.6s ( 3.1x, -0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.8s (17.2x, -----) ca: 5.6s (25.5x, -----) he: 2.8s (12.9x, -----) ca: 3.2s (14.4x, -----) dr: 2.7s (12.1x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.8s (17.1x, 0.5%) ca: 5.6s (25.6x, -0.5%) he: 2.8s (12.9x, -0.4%) ca: 3.2s (14.6x, -1.6%) dr: 2.7s (12.1x, 0.0%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.5x, -----) me: 2.9s (14.0x, -----) ca: 1.9s ( 8.9x, -----) he: 6.0s (28.6x, -----) ca: 4.2s (20.0x, -----) dr: 3.4s (16.4x, -----) ma: 0.9s ( 4.2x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.5x, 0.0%) me: 2.9s (14.0x, 0.3%) ca: 1.9s ( 9.0x, -1.6%) he: 5.5s (26.1x, 8.5%) ca: 4.2s (20.1x, -0.2%) dr: 3.4s (16.3x, 0.6%) ma: 0.9s ( 4.2x, 0.0%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.9x, -----) me: 5.1s (63.9x, -----) ca: 6.7s (83.6x, -----) he: 7.1s (88.2x, -----) ca: 3.3s (41.5x, -----) dr: 4.6s (57.8x, -----) ma: 4.9s (61.0x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.8x, 1.6%) me: 5.0s (62.5x, 2.2%) ca: 6.6s (82.0x, 1.9%) he: 6.9s (86.7x, 1.7%) ca: 3.3s (40.8x, 1.8%) dr: 4.7s (58.2x, -0.9%) ma: 4.8s (60.4x, 1.0%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.2x, -----) me: 8.7s (78.9x, -----) ca: 7.2s (65.7x, -----) he: 7.8s (70.5x, -----) ca: 3.7s (33.5x, -----) dr: 5.1s (46.3x, -----) ma: 5.0s (45.4x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.2x, 0.0%) me: 8.6s (78.4x, 0.7%) ca: 7.2s (65.3x, 0.7%) he: 7.6s (69.1x, 1.9%) ca: 3.6s (32.4x, 3.3%) dr: 4.9s (44.6x, 3.5%) ma: 4.9s (44.3x, 2.4%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.4s (139.0x, -----) ca: 1.1s (105.0x, -----) he: 1.2s (119.0x, -----) ca: 0.7s (68.0x, -----) dr: 1.1s (109.0x, -----) ma: 1.0s (96.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 0.0%) me: 1.4s (137.0x, 1.4%) ca: 1.1s (108.0x, -2.9%) he: 1.2s (118.0x, 0.8%) ca: 0.7s (68.0x, 0.0%) dr: 1.1s (107.0x, 1.8%) ma: 1.0s (97.0x, -1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.9s (63.7x, -----) ca: 2.7s (89.0x, -----) he: 2.2s (73.3x, -----) ca: 0.9s (31.7x, -----) dr: 1.5s (50.3x, -----) ma: 1.4s (46.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.0x, 3.2%) me: 1.9s (62.3x, 2.1%) ca: 2.7s (89.0x, 0.0%) he: 2.2s (74.0x, -0.9%) ca: 0.9s (31.7x, 0.0%) dr: 1.5s (50.0x, 0.7%) ma: 1.4s (46.7x, 0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (13.5x, -----) me: 2.4s (122.0x, -----) ca: 1.7s (85.5x, -----) he: 6.5s (326.5x, -----) ca: 0.9s (45.0x, -----) dr: 1.0s (50.0x, -----) ma: 0.3s (14.5x, -----) sarp valgrind-old:0.02s no: 0.3s (13.5x, 0.0%) me: 2.5s (123.0x, -0.8%) ca: 1.7s (85.0x, 0.6%) he: 6.5s (324.5x, 0.6%) ca: 0.9s (46.0x, -2.2%) dr: 1.0s (50.0x, 0.0%) ma: 0.3s (14.5x, 0.0%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.1x, -----) me: 8.7s (58.1x, -----) ca:10.7s (71.5x, -----) he: 9.4s (62.5x, -----) ca: 7.8s (52.2x, -----) dr: 7.8s (51.9x, -----) ma: 2.4s (15.9x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.1x, 0.0%) me: 8.7s (58.3x, -0.3%) ca:10.8s (71.9x, -0.6%) he: 9.4s (62.4x, 0.1%) ca: 7.9s (52.6x, -0.8%) dr: 7.8s (52.0x, -0.1%) ma: 2.4s (15.8x, 0.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m33.610s user 33m30.830s sys 0m23.446s |
|
From: Tom H. <to...@co...> - 2015-01-31 03:55:44
|
valgrind revision: 14898 VEX revision: 3080 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.6.1-46.fc19 Assembler: GNU assembler version 2.23.52.0.1-9.fc19 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.17.8-300.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2015-01-31 02:41:12 GMT Ended at 2015-01-31 03:55:31 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 698 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.10s no: 1.7s (16.7x, -----) me: 3.4s (34.3x, -----) ca:13.2s (132.3x, -----) he: 2.1s (21.1x, -----) ca: 3.8s (38.1x, -----) dr: 2.0s (20.5x, -----) ma: 1.9s (19.5x, -----) bigcode1 valgrind-old:0.10s no: 1.7s (16.7x, 0.0%) me: 3.4s (34.3x, 0.0%) ca:13.2s (132.2x, 0.1%) he: 2.1s (21.0x, 0.5%) ca: 3.8s (38.3x, -0.5%) dr: 2.0s (20.4x, 0.5%) ma: 1.9s (19.3x, 1.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.8x, -----) me: 8.5s (77.6x, -----) ca:24.3s (220.9x, -----) he: 5.0s (45.1x, -----) ca: 7.1s (64.8x, -----) dr: 4.7s (42.9x, -----) ma: 4.5s (41.2x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.0x, -0.5%) me: 8.5s (77.5x, 0.2%) ca:25.6s (232.5x, -5.2%) he: 5.0s (45.4x, -0.6%) ca: 7.3s (66.0x, -1.8%) dr: 4.7s (42.5x, 0.8%) ma: 4.5s (41.2x, 0.0%) -- bz2 -- bz2 valgrind-new:0.49s no: 1.6s ( 3.2x, -----) me: 5.7s (11.7x, -----) ca:12.5s (25.4x, -----) he: 8.6s (17.6x, -----) ca:10.6s (21.6x, -----) dr:10.7s (21.9x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.49s no: 1.6s ( 3.2x, -0.0%) me: 5.7s (11.6x, 0.3%) ca:12.4s (25.4x, 0.2%) he: 8.7s (17.8x, -1.2%) ca:10.5s (21.3x, 0.9%) dr:10.7s (21.8x, 0.1%) ma: 1.6s ( 3.2x, -0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.5s (15.8x, -----) ca: 5.4s (24.7x, -----) he: 2.9s (13.2x, -----) ca: 3.1s (13.9x, -----) dr: 2.7s (12.3x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 1.0%) me: 3.5s (16.0x, -0.9%) ca: 5.5s (24.8x, -0.6%) he: 2.9s (13.3x, -0.7%) ca: 3.1s (14.0x, -0.7%) dr: 2.7s (12.2x, 0.7%) ma: 1.1s ( 4.8x, 0.9%) -- ffbench -- ffbench valgrind-new:0.21s no: 1.0s ( 4.6x, -----) me: 3.0s (14.2x, -----) ca: 1.9s ( 9.0x, -----) he: 6.5s (30.8x, -----) ca: 4.4s (21.0x, -----) dr: 3.4s (16.0x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.21s no: 1.0s ( 4.6x, 0.0%) me: 3.0s (14.2x, 0.0%) ca: 1.9s ( 9.0x, 0.0%) he: 5.5s (26.1x, 15.2%) ca: 4.3s (20.7x, 1.6%) dr: 3.3s (15.9x, 1.2%) ma: 0.9s ( 4.3x, 0.0%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.5x, -----) me: 5.5s (68.5x, -----) ca: 6.1s (76.2x, -----) he: 6.8s (84.4x, -----) ca: 3.2s (39.8x, -----) dr: 5.0s (62.3x, -----) ma: 4.7s (58.8x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.6x, -1.7%) me: 5.4s (67.8x, 1.1%) ca: 6.3s (78.4x, -2.8%) he: 6.8s (85.4x, -1.2%) ca: 3.2s (39.8x, 0.0%) dr: 4.9s (61.7x, 0.8%) ma: 4.8s (59.4x, -1.1%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.8x, -----) me: 9.4s (94.2x, -----) ca: 6.8s (67.8x, -----) he: 7.7s (77.3x, -----) ca: 3.5s (35.2x, -----) dr: 4.9s (49.0x, -----) ma: 4.9s (49.3x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.8x, 0.0%) me: 9.3s (92.6x, 1.7%) ca: 6.7s (67.1x, 1.0%) he: 7.8s (78.0x, -0.9%) ca: 3.6s (35.8x, -1.7%) dr: 4.9s (48.8x, 0.4%) ma: 4.9s (49.1x, 0.4%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (27.0x, -----) me: 1.4s (145.0x, -----) ca: 1.0s (101.0x, -----) he: 1.3s (127.0x, -----) ca: 0.7s (68.0x, -----) dr: 1.2s (118.0x, -----) ma: 1.1s (105.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (27.0x, 0.0%) me: 1.5s (147.0x, -1.4%) ca: 1.0s (100.0x, 1.0%) he: 1.3s (130.0x, -2.4%) ca: 0.7s (66.0x, 2.9%) dr: 1.2s (117.0x, 0.8%) ma: 1.1s (106.0x, -1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.6s (54.3x, -----) ca: 2.5s (84.0x, -----) he: 2.2s (73.3x, -----) ca: 0.9s (31.7x, -----) dr: 1.5s (51.3x, -----) ma: 1.6s (52.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, 0.0%) me: 1.6s (55.0x, -1.2%) ca: 2.5s (84.3x, -0.4%) he: 2.2s (74.3x, -1.4%) ca: 0.9s (31.3x, 1.1%) dr: 1.5s (51.3x, 0.0%) ma: 1.6s (51.7x, 0.6%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.3s (115.0x, -----) ca: 1.8s (89.0x, -----) he: 6.6s (331.0x, -----) ca: 0.9s (46.0x, -----) dr: 1.1s (54.5x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 3.4%) me: 2.3s (115.0x, 0.0%) ca: 1.8s (88.0x, 1.1%) he: 6.7s (336.0x, -1.5%) ca: 0.9s (46.5x, -1.1%) dr: 1.1s (54.5x, 0.0%) ma: 0.3s (15.5x, 0.0%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.3x, -----) me: 7.8s (52.1x, -----) ca:10.6s (70.4x, -----) he: 9.8s (65.5x, -----) ca: 7.7s (51.2x, -----) dr: 8.1s (53.7x, -----) ma: 2.4s (15.8x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.0x, 2.9%) me: 7.8s (52.2x, -0.3%) ca:10.7s (71.0x, -0.9%) he: 9.9s (65.9x, -0.6%) ca: 7.6s (50.8x, 0.8%) dr: 8.1s (54.1x, -0.6%) ma: 2.4s (16.1x, -1.7%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 33m57.213s user 33m0.191s sys 0m23.974s |
|
From: Tom H. <to...@co...> - 2015-01-31 03:46:13
|
valgrind revision: 14898 VEX revision: 3080 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.7.1-21.fc20 Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.18 uname -mrs: Linux 3.17.8-300.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2015-01-31 02:31:18 GMT Ended at 2015-01-31 03:45:59 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 698 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.9x, -----) me: 3.4s (30.6x, -----) ca:13.4s (121.5x, -----) he: 2.1s (18.7x, -----) ca: 3.8s (34.1x, -----) dr: 2.0s (18.5x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.6x, 1.8%) me: 3.3s (30.4x, 0.9%) ca:13.3s (120.6x, 0.7%) he: 2.1s (18.9x, -1.0%) ca: 3.8s (34.6x, -1.6%) dr: 2.0s (18.5x, -0.5%) ma: 1.9s (17.5x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.8x, -----) me: 8.7s (78.7x, -----) ca:25.9s (235.1x, -----) he: 5.0s (45.3x, -----) ca: 7.1s (64.8x, -----) dr: 4.7s (42.9x, -----) ma: 4.5s (41.3x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (35.9x, -0.3%) me: 8.7s (79.0x, -0.3%) ca:25.6s (232.4x, 1.2%) he: 5.0s (45.3x, 0.0%) ca: 7.1s (64.6x, 0.3%) dr: 4.7s (42.5x, 1.1%) ma: 4.5s (41.0x, 0.7%) -- bz2 -- bz2 valgrind-new:0.49s no: 1.6s ( 3.2x, -----) me: 5.7s (11.6x, -----) ca:12.4s (25.4x, -----) he: 8.5s (17.3x, -----) ca:10.4s (21.2x, -----) dr:10.5s (21.4x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.49s no: 1.6s ( 3.2x, 0.6%) me: 5.7s (11.6x, 0.2%) ca:12.4s (25.3x, 0.2%) he: 8.5s (17.4x, -0.5%) ca:10.4s (21.1x, 0.3%) dr:10.3s (21.1x, 1.4%) ma: 1.6s ( 3.2x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.4s (15.6x, -----) ca: 5.5s (25.0x, -----) he: 2.6s (11.8x, -----) ca: 3.0s (13.7x, -----) dr: 2.5s (11.6x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 1.0%) me: 3.5s (15.8x, -1.2%) ca: 5.5s (25.2x, -1.1%) he: 2.7s (12.1x, -2.7%) ca: 3.0s (13.5x, 1.0%) dr: 2.5s (11.4x, 2.0%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.22s no: 1.0s ( 4.4x, -----) me: 3.0s (13.7x, -----) ca: 1.9s ( 8.5x, -----) he: 5.9s (26.8x, -----) ca: 4.5s (20.5x, -----) dr: 3.5s (15.7x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.22s no: 1.0s ( 4.4x, 0.0%) me: 3.0s (13.5x, 1.3%) ca: 1.9s ( 8.5x, 0.0%) he: 6.1s (27.5x, -2.9%) ca: 4.3s (19.8x, 3.3%) dr: 3.4s (15.2x, 2.9%) ma: 0.9s ( 4.1x, 1.1%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.6x, -----) me: 5.2s (74.1x, -----) ca: 6.1s (87.1x, -----) he: 6.7s (95.4x, -----) ca: 3.3s (47.0x, -----) dr: 4.8s (69.1x, -----) ma: 4.7s (67.1x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.7x, -1.7%) me: 5.1s (72.9x, 1.7%) ca: 6.0s (86.4x, 0.8%) he: 6.8s (96.4x, -1.0%) ca: 3.3s (47.0x, 0.0%) dr: 4.8s (68.6x, 0.8%) ma: 4.7s (67.1x, 0.0%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.6x, -----) me: 9.0s (89.7x, -----) ca: 6.6s (66.2x, -----) he: 7.7s (77.2x, -----) ca: 3.6s (35.6x, -----) dr: 4.9s (49.4x, -----) ma: 5.0s (49.5x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.6x, 0.0%) me: 8.9s (89.3x, 0.4%) ca: 6.6s (66.0x, 0.3%) he: 7.8s (77.7x, -0.6%) ca: 3.6s (35.6x, 0.0%) dr: 4.9s (48.8x, 1.2%) ma: 5.1s (51.1x, -3.2%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (142.0x, -----) ca: 1.0s (100.0x, -----) he: 1.2s (125.0x, -----) ca: 0.7s (67.0x, -----) dr: 1.2s (116.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (144.0x, -1.4%) ca: 1.0s (101.0x, -1.0%) he: 1.3s (126.0x, -0.8%) ca: 0.7s (68.0x, -1.5%) dr: 1.2s (117.0x, -0.9%) ma: 1.1s (108.0x, -3.8%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.7s (55.7x, -----) ca: 2.5s (83.7x, -----) he: 2.2s (73.3x, -----) ca: 1.0s (32.0x, -----) dr: 1.6s (54.0x, -----) ma: 1.6s (52.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, 0.0%) me: 1.6s (54.7x, 1.8%) ca: 2.5s (83.7x, 0.0%) he: 2.2s (75.0x, -2.3%) ca: 1.0s (32.0x, 0.0%) dr: 1.6s (53.3x, 1.2%) ma: 1.6s (52.3x, 0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.3s (115.5x, -----) ca: 1.7s (85.5x, -----) he: 6.8s (338.0x, -----) ca: 0.9s (46.0x, -----) dr: 1.1s (54.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.4s (117.5x, -1.7%) ca: 1.7s (86.0x, -0.6%) he: 6.7s (334.5x, 1.0%) ca: 0.9s (45.5x, 1.1%) dr: 1.1s (54.0x, 0.0%) ma: 0.3s (15.5x, -3.3%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.3x, -----) me: 7.8s (52.1x, -----) ca:10.6s (70.3x, -----) he: 9.8s (65.3x, -----) ca: 7.9s (52.6x, -----) dr: 8.1s (54.0x, -----) ma: 2.4s (16.2x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.1x, 2.2%) me: 7.9s (52.4x, -0.5%) ca:10.7s (71.3x, -1.3%) he: 9.9s (65.7x, -0.7%) ca: 8.0s (53.0x, -0.8%) dr: 8.1s (54.0x, 0.0%) ma: 2.4s (16.0x, 1.2%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 33m58.931s user 32m58.676s sys 0m24.536s |
|
From: <ma...@bu...> - 2015-01-31 02:23:47
|
valgrind revision: 14897
VEX revision: 3080
C compiler: gcc (Debian 4.7.2-5) 4.7.2
GDB: GNU gdb (GDB) 7.4.1-debian
Assembler: GNU assembler (GNU Binutils for Debian) 2.22
C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u7) stable release version 2.13
uname -mrs: Linux 3.2.0-4-amd64 x86_64
Vendor version: Debian GNU/Linux 7 (wheezy)
Nightly build on wildebeest ( Debian 7.8 wheezy x86_64 )
Started at 2015-01-31 00:00:01 UTC
Ended at 2015-01-31 02:23:33 UTC
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 686 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/pth_destroy_cond (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... done
Regression test results follow
== 686 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2015-01-31 00:30:43.797457669 +0000
--- new.short 2015-01-31 01:06:55.417878470 +0000
***************
*** 4,6 ****
Building valgrind ... done
! Running regression tests ... done
--- 4,6 ----
Building valgrind ... done
! Running regression tests ... failed
***************
*** 8,10 ****
! == 686 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
--- 8,11 ----
! == 686 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! helgrind/tests/pth_destroy_cond (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.15s no: 2.4s (16.0x, -----) me: 4.7s (31.6x, -----) ca:20.6s (137.5x, -----) he: 3.1s (20.4x, -----) ca: 5.5s (36.9x, -----) dr: 3.0s (19.7x, -----) ma: 2.8s (18.6x, -----)
bigcode1 valgrind-old:0.15s no: 2.5s (16.4x, -2.5%) me: 5.1s (34.1x, -7.8%) ca:20.4s (136.0x, 1.1%) he: 3.4s (22.6x,-10.8%) ca: 5.7s (38.1x, -3.2%) dr: 2.9s (19.2x, 2.7%) ma: 2.7s (17.9x, 3.6%)
-- bigcode2 --
bigcode2 valgrind-new:0.13s no: 5.5s (42.1x, -----) me:12.8s (98.6x, -----) ca:39.8s (306.0x, -----) he: 6.7s (51.7x, -----) ca: 9.7s (74.6x, -----) dr: 6.6s (50.5x, -----) ma: 6.2s (47.5x, -----)
bigcode2 valgrind-old:0.13s no: 5.6s (42.8x, -1.8%) me:11.7s (89.8x, 9.0%) ca:37.7s (289.9x, 5.3%) he: 6.9s (53.1x, -2.7%) ca: 9.8s (75.5x, -1.2%) dr: 6.6s (50.5x, 0.0%) ma: 6.2s (47.7x, -0.5%)
-- bz2 --
bz2 valgrind-new:0.69s no: 2.3s ( 3.3x, -----) me: 7.7s (11.1x, -----) ca:16.6s (24.0x, -----) he:11.5s (16.7x, -----) ca:13.2s (19.1x, -----) dr:14.1s (20.4x, -----) ma: 2.1s ( 3.1x, -----)
bz2 valgrind-old:0.69s no: 2.1s ( 3.1x, 8.3%) me: 7.3s (10.6x, 4.7%) ca:16.4s (23.8x, 0.9%) he:11.0s (16.0x, 4.2%) ca:13.3s (19.2x, -0.6%) dr:15.2s (22.0x, -7.9%) ma: 2.1s ( 3.1x, 0.5%)
-- fbench --
fbench valgrind-new:0.28s no: 1.4s ( 4.8x, -----) me: 4.6s (16.5x, -----) ca: 7.2s (25.9x, -----) he: 3.7s (13.3x, -----) ca: 4.3s (15.4x, -----) dr: 3.3s (11.7x, -----) ma: 1.4s ( 5.1x, -----)
fbench valgrind-old:0.28s no: 1.3s ( 4.7x, 2.2%) me: 4.6s (16.6x, -0.4%) ca: 7.1s (25.2x, 2.5%) he: 3.9s (13.9x, -4.0%) ca: 4.0s (14.1x, 8.1%) dr: 3.2s (11.6x, 1.2%) ma: 1.4s ( 5.0x, 1.4%)
-- ffbench --
ffbench valgrind-new:0.25s no: 1.2s ( 4.9x, -----) me: 3.8s (15.1x, -----) ca: 2.4s ( 9.5x, -----) he: 9.0s (36.2x, -----) ca: 5.1s (20.5x, -----) dr: 4.4s (17.6x, -----) ma: 1.2s ( 4.7x, -----)
ffbench valgrind-old:0.25s no: 1.2s ( 4.9x, 0.0%) me: 3.8s (15.3x, -1.3%) ca: 2.4s ( 9.4x, 1.3%) he: 8.3s (33.4x, 7.7%) ca: 5.2s (20.7x, -1.2%) dr: 4.4s (17.8x, -0.7%) ma: 1.2s ( 4.7x, 0.0%)
-- heap --
heap valgrind-new:0.09s no: 0.9s (10.6x, -----) me: 7.2s (79.6x, -----) ca: 8.4s (93.8x, -----) he: 9.1s (101.0x, -----) ca: 4.1s (45.6x, -----) dr: 5.6s (61.8x, -----) ma: 6.1s (67.3x, -----)
heap valgrind-old:0.09s no: 0.9s ( 9.8x, 7.4%) me: 6.7s (74.9x, 5.9%) ca: 7.9s (87.7x, 6.5%) he: 9.1s (101.6x, -0.6%) ca: 4.2s (46.3x, -1.7%) dr: 5.5s (61.6x, 0.4%) ma: 6.2s (68.7x, -2.0%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.14s no: 0.9s ( 6.8x, -----) me:11.6s (82.6x, -----) ca: 8.9s (63.7x, -----) he:10.9s (77.6x, -----) ca: 4.6s (33.1x, -----) dr: 6.7s (48.0x, -----) ma: 6.8s (48.6x, -----)
heap_pdb4 valgrind-old:0.14s no: 0.9s ( 6.8x, 0.0%) me:11.8s (84.4x, -2.2%) ca: 9.0s (64.1x, -0.7%) he:10.9s (77.6x, 0.1%) ca: 4.6s (33.1x, 0.0%) dr: 7.0s (49.8x, -3.7%) ma: 6.9s (49.3x, -1.5%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.4s (20.5x, -----) me: 2.0s (98.0x, -----) ca: 1.3s (67.0x, -----) he: 1.7s (84.0x, -----) ca: 0.9s (45.0x, -----) dr: 1.5s (76.0x, -----) ma: 1.4s (68.5x, -----)
many-loss-records valgrind-old:0.02s no: 0.4s (18.5x, 9.8%) me: 2.0s (101.5x, -3.6%) ca: 1.3s (67.0x, 0.0%) he: 1.8s (91.0x, -8.3%) ca: 0.9s (45.5x, -1.1%) dr: 1.5s (76.5x, -0.7%) ma: 1.4s (67.5x, 1.5%)
-- many-xpts --
many-xpts valgrind-new:0.04s no: 0.5s (11.2x, -----) me: 2.5s (63.5x, -----) ca: 3.6s (90.0x, -----) he: 3.2s (79.5x, -----) ca: 1.3s (31.5x, -----) dr: 2.0s (50.0x, -----) ma: 2.1s (53.5x, -----)
many-xpts valgrind-old:0.04s no: 0.5s (11.7x, -4.4%) me: 2.6s (64.0x, -0.8%) ca: 3.5s (88.8x, 1.4%) he: 3.3s (82.5x, -3.8%) ca: 1.3s (31.8x, -0.8%) dr: 1.9s (48.0x, 4.0%) ma: 2.2s (54.0x, -0.9%)
-- sarp --
sarp valgrind-new:0.02s no: 0.4s (19.5x, -----) me: 3.2s (160.5x, -----) ca: 2.3s (113.0x, -----) he: 9.9s (496.0x, -----) ca: 1.3s (63.0x, -----) dr: 1.3s (63.5x, -----) ma: 0.4s (20.5x, -----)
sarp valgrind-old:0.02s no: 0.4s (21.0x, -7.7%) me: 3.2s (160.0x, 0.3%) ca: 2.2s (110.5x, 2.2%) he: 9.9s (497.0x, -0.2%) ca: 1.3s (64.5x, -2.4%) dr: 1.4s (67.5x, -6.3%) ma: 0.5s (22.5x, -9.8%)
-- tinycc --
tinycc valgrind-new:0.23s no: 1.8s ( 7.7x, -----) me:11.8s (51.2x, -----) ca:14.8s (64.5x, -----) he:13.1s (56.7x, -----) ca:10.7s (46.5x, -----) dr:10.4s (45.3x, -----) ma: 3.2s (14.0x, -----)
tinycc valgrind-old:0.23s no: 1.9s ( 8.3x, -7.9%) me:11.6s (50.6x, 1.3%) ca:13.9s (60.3x, 6.6%) he:13.1s (57.0x, -0.4%) ca:10.4s (45.1x, 3.0%) dr:10.0s (43.6x, 3.7%) ma: 3.1s (13.6x, 2.8%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
2781.63user 35.43system 1:16:38elapsed 61%CPU (0avgtext+0avgdata 499708maxresident)k
468744inputs+453744outputs (752major+11750031minor)pagefaults 0swaps
=================================================
./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff
=================================================
--- pth_destroy_cond.stderr.exp 2015-01-31 00:30:49.265458565 +0000
+++ pth_destroy_cond.stderr.out 2015-01-31 00:50:24.705641697 +0000
@@ -5,6 +5,34 @@
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (pth_destroy_cond.c:29)
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:25)
+ Address 0x........ is 0 bytes inside data symbol "mutex"
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: 1, at address 0x........
+ at 0x........: my_memcmp (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ by 0x........: ThreadFunction (pth_destroy_cond.c:18)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:31)
+ Address 0x........ is 4 bytes inside data symbol "cond"
+
----------------------------------------------------------------
Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
|
|
From: <sv...@va...> - 2015-01-31 00:30:03
|
Author: florian
Date: Sat Jan 31 00:29:50 2015
New Revision: 14898
Log:
Replace the SegName array with a simple string table.
The validity of this change follows from the following observations:
(1) There is a single source for allocating and storing segment names,
namely allocate_segname.
(2) For all invocations of allocate_segname the returned value (which
represents the segmant name) is assigned to NSegment::fnIdx.
(3) All but one assignments to NSegment::fnIdx assign allocate_segname.
The single exception assigns -1 in init_nsegment. That function is
called whenever a new segment (named or unnamed) is allocated.
For a segment name to become unused there must be an assignment to
NSegment::fnIdx which was previously assigned a return value from
allocate_segname. There is no such assignment.
It follows that all segment names are in use at all times, hence
SegName::inUse == True for all SegNames. So we can constant fold it
and don't need to represent it.
Pass 3 in preen_nsegments is obsolete as there are no segment names to
garbage collect.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
trunk/include/pub_tool_aspacemgr.h
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c Sat Jan 31 00:29:50 2015
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 3; -*- */
/*--------------------------------------------------------------------*/
/*--- The address space manager: segment initialisation and ---*/
@@ -290,25 +291,15 @@
# define VG_N_SEGNAMES 6000
#endif
-/* Max length of a segment file name. */
+/* Max length of a segment file name. FIXME: to be removed */
#define VG_MAX_SEGNAMELEN 1000
+/* String table for segment names */
-typedef
- struct {
- Bool inUse;
- Bool mark;
- HChar fname[VG_MAX_SEGNAMELEN];
- }
- SegName;
-
-/* Filename table. _used is the high water mark; an entry is only
- valid if its index >= 0, < _used, and its .inUse field == True.
- The .mark field is used to garbage-collect dead entries.
-*/
-static SegName segnames[VG_N_SEGNAMES];
-static Int segnames_used = 0;
-
+/* FIXME: This is just for backward compatibility for now. To be adjusted. */
+static HChar segnames[VG_N_SEGNAMES * VG_MAX_SEGNAMELEN];
+static SizeT segnames_used = 0; /* number of characters used */
+static UInt num_segnames = 0; /* number of names in string table */
/* Array [0 .. nsegments_used-1] of all mappings. */
/* Sorted by .addr field. */
@@ -390,60 +381,44 @@
/*-----------------------------------------------------------------*/
/*--- ---*/
-/*--- SegName array management. ---*/
+/*--- Segment name management. ---*/
/*--- ---*/
/*-----------------------------------------------------------------*/
-/* Searches the filename table to find an index for the given name.
- If none is found, an index is allocated and the name stored. If no
- space is available we just give up. If the string is too long to
- store, return -1.
+/* Searches the string table to find an index for the given name.
+ If none is found, an index is allocated and the name stored.
+ If the string is too long to store, return -1.
*/
static Int allocate_segname ( const HChar* name )
{
- Int i, j, len;
+ SizeT len, l, ix;
aspacem_assert(name);
if (0) VG_(debugLog)(0,"aspacem","allocate_segname %s\n", name);
len = VG_(strlen)(name);
- if (len + 1 > VG_MAX_SEGNAMELEN) {
- return -1;
- }
/* first see if we already have the name. */
- Int free_slot = -1;
- for (i = 0; i < segnames_used; i++) {
- if (!segnames[i].inUse) {
- free_slot = i;
- continue;
- }
- if (0 == VG_(strcmp)(name, &segnames[i].fname[0])) {
- return i;
- }
+ for (ix = 0; ix < segnames_used; ix += l + 1) {
+ l = VG_(strlen)(segnames + ix);
+ if (l == len && VG_(strcmp)(name, segnames + ix) == 0) return ix;
}
- /* no we don't. */
- if (free_slot >= 0) {
- /* we have a free slot; use it. */
- i = free_slot;
- } else {
- /* no free slots .. advance the high-water mark. */
- if (segnames_used < VG_N_SEGNAMES) {
- i = segnames_used;
- segnames_used++;
- } else {
- ML_(am_barf_toolow)("VG_N_SEGNAMES");
- }
+ /* Is there enough room in the string table? */
+ if (len + 1 > (sizeof segnames) - segnames_used) {
+ return -1;
}
+ ++num_segnames;
+
/* copy it in */
- segnames[i].inUse = True;
- for (j = 0; j < len; j++)
- segnames[i].fname[j] = name[j];
- segnames[i].fname[len] = 0;
- return i;
+ ix = segnames_used;
+
+ VG_(strcpy)(segnames + segnames_used, name);
+ segnames_used += len + 1;
+
+ return ix;
}
@@ -513,9 +488,8 @@
const HChar* name = "(none)";
if (seg->fnIdx >= 0 && seg->fnIdx < segnames_used
- && segnames[seg->fnIdx].inUse
- && segnames[seg->fnIdx].fname[0] != 0)
- name = segnames[seg->fnIdx].fname;
+ && segnames[seg->fnIdx] != 0)
+ name = segnames + seg->fnIdx;
show_len_concisely(len_buf, seg->start, seg->end);
@@ -606,14 +580,14 @@
void VG_(am_show_nsegments) ( Int logLevel, const HChar* who )
{
Int i;
+ SizeT ix;
VG_(debugLog)(logLevel, "aspacem",
- "<<< SHOW_SEGMENTS: %s (%d segments, %d segnames)\n",
- who, nsegments_used, segnames_used);
- for (i = 0; i < segnames_used; i++) {
- if (!segnames[i].inUse)
- continue;
+ "<<< SHOW_SEGMENTS: %s (%d segments, %u segnames)\n",
+ who, nsegments_used, num_segnames);
+ i = 0;
+ for (ix = 0; ix < segnames_used; ix += VG_(strlen)(segnames + ix) + 1) {
VG_(debugLog)(logLevel, "aspacem",
- "(%2d) %s\n", i, segnames[i].fname);
+ "(%2d) %s\n", i++, segnames + ix);
}
for (i = 0; i < nsegments_used; i++)
show_nsegment( logLevel, i, &nsegments[i] );
@@ -623,18 +597,13 @@
/* Get the filename corresponding to this segment, if known and if it
- has one. The returned name's storage cannot be assumed to be
- persistent, so the caller should immediately copy the name
- elsewhere. */
+ has one. */
const HChar* VG_(am_get_filename)( NSegment const * seg )
{
Int i;
aspacem_assert(seg);
i = seg->fnIdx;
- if (i < 0 || i >= segnames_used || !segnames[i].inUse)
- return NULL;
- else
- return &segnames[i].fname[0];
+ return (i < 0) ? NULL : segnames + i;
}
/* Collect up the start addresses of all non-free, non-resvn segments.
@@ -725,8 +694,7 @@
return
s->smode == SmFixed
&& (s->fnIdx == -1 ||
- (s->fnIdx >= 0 && s->fnIdx < segnames_used
- && segnames[s->fnIdx].inUse))
+ (s->fnIdx >= 0 && s->fnIdx < segnames_used))
&& !s->isCH;
case SkResvn:
@@ -807,7 +775,7 @@
static Bool preen_nsegments ( void )
{
- Int i, j, r, w, nsegments_used_old = nsegments_used;
+ Int i, r, w, nsegments_used_old = nsegments_used;
/* Pass 1: check the segment array covers the entire address space
exactly once, and also that each segment is sane. */
@@ -837,27 +805,6 @@
aspacem_assert(w > 0 && w <= nsegments_used);
nsegments_used = w;
- /* Pass 3: free up unused string table slots */
- /* clear mark bits */
- for (i = 0; i < segnames_used; i++)
- segnames[i].mark = False;
- /* mark */
- for (i = 0; i < nsegments_used; i++) {
- j = nsegments[i].fnIdx;
- aspacem_assert(j >= -1 && j < segnames_used);
- if (j >= 0) {
- aspacem_assert(segnames[j].inUse);
- segnames[j].mark = True;
- }
- }
- /* release */
- for (i = 0; i < segnames_used; i++) {
- if (segnames[i].mark == False) {
- segnames[i].inUse = False;
- segnames[i].fname[0] = 0;
- }
- }
-
return nsegments_used != nsegments_used_old;
}
Modified: trunk/include/pub_tool_aspacemgr.h
==============================================================================
--- trunk/include/pub_tool_aspacemgr.h (original)
+++ trunk/include/pub_tool_aspacemgr.h Sat Jan 31 00:29:50 2015
@@ -137,11 +137,7 @@
extern NSegment const * VG_(am_find_nsegment) ( Addr a );
/* Get the filename corresponding to this segment, if known and if it
- has one. The returned name's storage cannot be assumed to be
- persistent, so the caller should immediately copy the name
- elsewhere. This may return NULL if the file name is not known or
- for arbitrary other implementation-dependent reasons, so callers
- need to be able to handle a NULL return value. */
+ has one. The function may return NULL if the file name is not known. */
extern const HChar* VG_(am_get_filename)( NSegment const * );
/* Is the area [start .. start+len-1] validly accessible by the
|