You can subscribe to this list here.
| 2015 |
Jan
|
Feb
|
Mar
(124) |
Apr
(346) |
May
(340) |
Jun
(256) |
Jul
(238) |
Aug
(384) |
Sep
(304) |
Oct
(186) |
Nov
(184) |
Dec
(144) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2016 |
Jan
(165) |
Feb
(177) |
Mar
(181) |
Apr
(215) |
May
(97) |
Jun
(86) |
Jul
(220) |
Aug
(146) |
Sep
(167) |
Oct
(206) |
Nov
(174) |
Dec
(121) |
| 2017 |
Jan
(168) |
Feb
(175) |
Mar
(220) |
Apr
(177) |
May
(236) |
Jun
(173) |
Jul
(39) |
Aug
(102) |
Sep
(141) |
Oct
(109) |
Nov
(120) |
Dec
(37) |
| 2018 |
Jan
(122) |
Feb
(88) |
Mar
(88) |
Apr
(62) |
May
(32) |
Jun
(82) |
Jul
(79) |
Aug
(93) |
Sep
(125) |
Oct
(81) |
Nov
(64) |
Dec
(123) |
| 2019 |
Jan
(56) |
Feb
(64) |
Mar
(115) |
Apr
(109) |
May
(96) |
Jun
(42) |
Jul
(46) |
Aug
(83) |
Sep
(56) |
Oct
(83) |
Nov
(89) |
Dec
(67) |
| 2020 |
Jan
(172) |
Feb
(127) |
Mar
(116) |
Apr
(87) |
May
(93) |
Jun
(56) |
Jul
(20) |
Aug
(45) |
Sep
(46) |
Oct
(20) |
Nov
(46) |
Dec
(67) |
| 2021 |
Jan
(45) |
Feb
(81) |
Mar
(86) |
Apr
(27) |
May
(24) |
Jun
(27) |
Jul
(19) |
Aug
(5) |
Sep
(40) |
Oct
(109) |
Nov
(156) |
Dec
(80) |
| 2022 |
Jan
(18) |
Feb
(80) |
Mar
(8) |
Apr
(117) |
May
(90) |
Jun
(86) |
Jul
(21) |
Aug
(16) |
Sep
(35) |
Oct
(88) |
Nov
(41) |
Dec
(62) |
| 2023 |
Jan
(180) |
Feb
(120) |
Mar
(158) |
Apr
(216) |
May
(92) |
Jun
(34) |
Jul
(27) |
Aug
(86) |
Sep
(25) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(11) |
2
(7) |
3
|
4
(11) |
5
(11) |
6
(11) |
|
7
|
8
|
9
(11) |
10
(11) |
11
(10) |
12
(11) |
13
(10) |
|
14
(11) |
15
(11) |
16
(11) |
17
(11) |
18
(11) |
19
(11) |
20
(11) |
|
21
(11) |
22
|
23
(11) |
24
(11) |
25
(11) |
26
|
27
|
|
28
|
29
|
30
|
31
(11) |
|
|
|
|
From: <ma...@bu...> - 2017-05-06 02:34:24
|
valgrind revision: 16336
VEX revision: 3361
C compiler: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
GDB: GNU gdb (GDB) Fedora 7.12.1-47.fc25
Assembler: GNU assembler version 2.26.1-1.fc25
C library: GNU C Library (GNU libc) stable release version 2.24
uname -mrs: Linux 4.10.5-200.fc25.s390x s390x
Vendor version: Fedora 25 (Twenty Five)
Nightly build on lfedora1 ( Fedora release 25 (Twenty Five), s390x )
Started at 2017-05-06 00:00:02 UTC
Ended at 2017-05-06 00:23:15 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
== 716 tests, 7 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-06 00:11:52.710942062 +0000
+++ bar_bad.stderr.out 2017-05-06 00:20:47.090942062 +0000
@@ -32,7 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
+Not a barrier
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+
-ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-nohang
=================================================
--- bar_bad.stderr.exp-nohang 2017-05-06 00:11:52.680942062 +0000
+++ bar_bad.stderr.out 2017-05-06 00:20:47.090942062 +0000
@@ -32,6 +32,64 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
@@ -39,4 +97,4 @@
by 0x........: main (bar_bad.c:?)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-solaris
=================================================
--- bar_bad.stderr.exp-solaris 2017-05-06 00:11:52.710942062 +0000
+++ bar_bad.stderr.out 2017-05-06 00:20:47.090942062 +0000
@@ -32,18 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2017-05-06 00:11:52.720942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-06 00:20:58.470942062 +0000
@@ -158,13 +158,13 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -178,14 +178,17 @@
<line>...</line>
</frame>
</stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_init</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -193,17 +196,162 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2017-05-06 00:11:52.690942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-06 00:20:58.470942062 +0000
@@ -158,13 +158,13 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -178,14 +178,17 @@
<line>...</line>
</frame>
</stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_init</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -193,13 +196,133 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2017-05-06 00:11:52.720942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-06 00:20:58.470942062 +0000
@@ -158,13 +158,13 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -178,14 +178,17 @@
<line>...</line>
</frame>
</stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_init</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -193,27 +196,31 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
</stack>
- </first_observed_at>
-</error>
-
-
-destroy a barrier that was never initialised
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -221,45 +228,115 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-06 00:11:47.620942062 +0000
+++ hgtls.stdoutB.out 2017-05-06 00:13:44.890942062 +0000
@@ -8,28 +8,28 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-05-06 00:11:49.510942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-06 00:19:39.320942062 +0000
@@ -13,7 +13,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-05-06 00:11:49.510942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-06 00:19:39.320942062 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-05-06 00:11:49.520942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-06 00:19:39.320942062 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-06 00:11:49.510942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-06 00:11:49.530942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +219,23 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-06 00:11:49.510942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2017-05-06 00:11:49.510942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2017-05-06 00:11:49.510942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2017-05-06 00:11:49.520942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
@@ -167,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +221,21 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2017-05-06 00:11:49.510942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-06 00:19:49.040942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -89,7 +97,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -142,7 +150,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -158,22 +166,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2017-05-06 00:11:49.510942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-06 00:19:53.310942062 +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:...)
@@ -27,10 +44,6 @@
Process terminating with default action of signal 6 (SIGABRT)
...
by 0x........: main (tc22_exit_w_lock.c:48)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -38,4 +51,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 2017-05-06 00:11:49.510942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-06 00:19:53.310942062 +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,15 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: main (tc22_exit_w_lock.c:48)
----------------------------------------------------------------
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-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-solaris
=================================================
--- tc22_exit_w_lock.stderr.exp-solaris 2017-05-06 00:11:49.510942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-06 00:19:53.310942062 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement----------...
[truncated message content] |
|
From: <iv...@iv...> - 2017-05-06 02:23:50
|
valgrind revision: 16336
VEX revision: 3361
C compiler: gcc (GCC) 4.8.2
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.23.1
C library: Solaris libc
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris 11.3 X86
Nightly build on solaris11.3 ( Solaris 11.3 x86 )
Started at 2017-05-06 00:30:01 UTC
Ended at 2017-05-06 02:20:24 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
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
-- Finished tests in exp-bbv/tests/x86 ---------------------------------
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.6s (16.5x, -----) me: 3.1s (30.6x, -----) ca:13.3s (133.2x, -----) he: 2.0s (20.2x, -----) ca: 4.0s (40.5x, -----) dr: 1.9s (19.4x, -----) ma: 1.9s (19.3x, -----)
bigcode1 valgrind-old:0.10s no: 1.7s (16.6x, -0.6%) me: 3.1s (30.7x, -0.3%) ca:13.3s (133.1x, 0.1%) he: 2.0s (20.0x, 1.0%) ca: 4.0s (40.1x, 1.0%) dr: 2.0s (19.6x, -1.0%) ma: 1.9s (19.1x, 1.0%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.5s (32.3x, -----) me: 7.3s (66.1x, -----) ca:31.5s (286.3x, -----) he: 4.7s (42.5x, -----) ca: 6.9s (62.8x, -----) dr: 4.2s (38.2x, -----) ma: 4.1s (36.9x, -----)
bigcode2 valgrind-old:0.11s no: 3.5s (32.3x, 0.0%) me: 7.3s (66.8x, -1.1%) ca:30.7s (279.3x, 2.4%) he: 4.5s (41.4x, 2.6%) ca: 6.8s (61.6x, 1.9%) dr: 4.2s (38.6x, -1.2%) ma: 4.1s (37.2x, -0.7%)
-- bz2 --
bz2 valgrind-new:0.65s no: 2.0s ( 3.1x, -----) me: 6.8s (10.4x, -----) ca:12.1s (18.6x, -----) he:11.1s (17.1x, -----) ca:13.8s (21.2x, -----) dr:11.6s (17.8x, -----) ma: 2.0s ( 3.0x, -----)
bz2 valgrind-old:0.65s no: 2.0s ( 3.1x, -2.0%) me: 7.0s (10.7x, -2.5%) ca:12.2s (18.8x, -0.8%) he:11.0s (17.0x, 0.8%) ca:13.8s (21.3x, -0.4%) dr:11.5s (17.7x, 0.3%) ma: 1.9s ( 3.0x, 1.5%)
-- fbench --
fbench valgrind-new:0.28s no: 1.2s ( 4.2x, -----) me: 3.8s (13.5x, -----) ca: 5.7s (20.4x, -----) he: 2.7s ( 9.8x, -----) ca: 3.9s (13.9x, -----) dr: 2.8s ( 9.9x, -----) ma: 1.2s ( 4.5x, -----)
fbench valgrind-old:0.28s no: 1.2s ( 4.4x, -3.4%) me: 3.8s (13.6x, -1.1%) ca: 5.7s (20.5x, -0.5%) he: 2.7s ( 9.7x, 1.1%) ca: 4.0s (14.1x, -1.8%) dr: 2.8s (10.1x, -2.9%) ma: 1.3s ( 4.5x, -0.8%)
-- ffbench --
ffbench valgrind-new:0.28s no: 1.1s ( 4.1x, -----) me: 3.5s (12.4x, -----) ca: 2.2s ( 7.8x, -----) he: 6.9s (24.6x, -----) ca: 5.4s (19.4x, -----) dr: 3.8s (13.4x, -----) ma: 1.1s ( 3.9x, -----)
ffbench valgrind-old:0.28s no: 1.2s ( 4.1x, -0.9%) me: 3.5s (12.6x, -1.7%) ca: 2.2s ( 7.9x, -0.9%) he: 7.1s (25.2x, -2.3%) ca: 5.5s (19.5x, -0.7%) dr: 3.8s (13.4x, 0.0%) ma: 1.1s ( 3.8x, 0.9%)
-- heap --
heap valgrind-new:0.20s no: 1.4s ( 6.8x, -----) me: 6.0s (30.0x, -----) ca:10.9s (54.7x, -----) he: 8.9s (44.6x, -----) ca: 8.3s (41.4x, -----) dr: 5.4s (27.0x, -----) ma: 2.9s (14.4x, -----)
heap valgrind-old:0.20s no: 1.3s ( 6.7x, 0.7%) me: 6.1s (30.5x, -1.5%) ca:11.0s (55.1x, -0.7%) he: 8.9s (44.7x, -0.2%) ca: 8.2s (41.2x, 0.5%) dr: 5.4s (27.2x, -0.7%) ma: 2.8s (14.0x, 2.4%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.21s no: 1.4s ( 6.4x, -----) me: 9.8s (46.9x, -----) ca:11.5s (54.9x, -----) he:10.0s (47.4x, -----) ca: 8.9s (42.5x, -----) dr: 6.0s (28.5x, -----) ma: 3.0s (14.1x, -----)
heap_pdb4 valgrind-old:0.21s no: 1.4s ( 6.7x, -3.7%) me: 9.9s (47.2x, -0.7%) ca:11.5s (54.8x, 0.2%) he:10.0s (47.8x, -0.7%) ca: 8.8s (42.0x, 1.3%) dr: 5.9s (28.1x, 1.2%) ma: 2.9s (13.7x, 3.4%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 1.4s (70.0x, -----) ca: 1.4s (68.5x, -----) he: 1.2s (60.5x, -----) ca: 1.1s (57.0x, -----) dr: 1.1s (55.5x, -----) ma: 0.7s (35.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (15.0x, -7.1%) me: 1.5s (75.0x, -7.1%) ca: 1.4s (68.5x, 0.0%) he: 1.2s (61.5x, -1.7%) ca: 1.1s (56.0x, 1.8%) dr: 1.1s (56.0x, -0.9%) ma: 0.7s (32.5x, 7.1%)
-- many-xpts --
many-xpts valgrind-new:0.07s no: 0.4s ( 5.7x, -----) me: 1.7s (23.9x, -----) ca: 3.1s (44.1x, -----) he: 2.4s (34.4x, -----) ca: 1.6s (22.9x, -----) dr: 1.6s (22.1x, -----) ma: 1.7s (24.6x, -----)
many-xpts valgrind-old:0.07s no: 0.4s ( 5.6x, 2.5%) me: 1.6s (23.6x, 1.2%) ca: 3.1s (44.0x, 0.3%) he: 2.4s (33.9x, 1.7%) ca: 1.6s (23.0x, -0.6%) dr: 1.5s (21.7x, 1.9%) ma: 1.8s (25.1x, -2.3%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 8.0x, -----) me: 1.2s (19.3x, -----) ca: 2.8s (46.2x, -----) he: 5.5s (91.3x, -----) ca: 2.5s (42.2x, -----) dr: 1.3s (21.0x, -----) ma: 0.5s ( 8.8x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 7.8x, 2.1%) me: 1.2s (19.7x, -1.7%) ca: 2.8s (46.7x, -1.1%) he: 5.4s (89.3x, 2.2%) ca: 2.6s (43.7x, -3.6%) dr: 1.2s (19.8x, 5.6%) ma: 0.5s ( 8.0x, 9.4%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (13.0x, -----) me: 2.1s (106.0x, -----) ca: 1.8s (91.5x, -----) he: 6.2s (308.5x, -----) ca: 1.1s (55.5x, -----) dr: 1.0s (49.0x, -----) ma: 0.3s (14.5x, -----)
sarp valgrind-old:0.02s no: 0.3s (13.0x, 0.0%) me: 2.2s (108.0x, -1.9%) ca: 1.8s (89.5x, 2.2%) he: 6.1s (307.0x, 0.5%) ca: 1.2s (58.0x, -4.5%) dr: 0.9s (46.0x, 6.1%) ma: 0.3s (14.0x, 3.4%)
-- tinycc --
tinycc valgrind-new:0.19s no: 1.4s ( 7.1x, -----) me:10.3s (54.2x, -----) ca:11.2s (58.9x, -----) he:13.5s (70.9x, -----) ca:12.3s (64.5x, -----) dr:11.3s (59.5x, -----) ma: 1.7s ( 8.9x, -----)
tinycc valgrind-old:0.19s no: 1.4s ( 7.1x, 0.0%) me:10.2s (53.8x, 0.7%) ca:11.1s (58.4x, 1.0%) he:12.9s (68.2x, 3.9%) ca:12.3s (64.9x, -0.6%) dr:11.1s (58.2x, 2.1%) ma: 1.6s ( 8.5x, 4.7%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 41m56.54s
user 40m14.43s
sys 0m58.24s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-06 01:10:53.209768025 +0000
+++ preen_invars.stderr.out 2017-05-06 01:37:56.843468770 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-06 01:10:53.207636758 +0000
+++ stackerr.stderr.out 2017-05-06 01:37:57.888656770 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-06 01:10:53.216044660 +0000
+++ stackerr.stderr.out 2017-05-06 01:37:57.888656770 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-06 01:10:50.015666649 +0000
+++ hginfo.stderrB.out 2017-05-06 01:19:49.368315195 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-06 01:10:55.358049065 +0000
+++ bar_bad.stderr.out 2017-05-06 01:32:02.833448061 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-06 01:10:55.314513689 +0000
+++ bar_bad.stderr.out 2017-05-06 01:32:02.833448061 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-06 01:10:55.370321558 +0000
+++ bar_trivial.stderr.out 2017-05-06 01:32:04.466558148 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-06 01:10:55.340792372 +0000
+++ free_is_write.stderr.out 2017-05-06 01:32:07.664592254 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-06 01:10:55.402411423 +0000
+++ pth_barrier1.stderr.out 2017-05-06 01:32:25.131504686 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-06 01:10:55.295059628 +0000
+++ pth_barrier2.stderr.out 2017-05-06 01:32:25.747647266 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -39,590 +50,12 @@
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 4 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-06 01:10:55.363655975 +0000
+++ pth_barrier3.stderr.out 2017-05-06 01:32:26.441326408 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-06 01:10:55.301815366 +0000
+++ tc21_pthonce.stderr.out 2017-05-06 01:33:04.916718841 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-06 01:10:55.437405616 +0000
+++ tls_threads.stderr.out 2017-05-06 01:33:15.718871141 +0000
@@ -1,2 +1,3 @@
+--19443:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-06 01:10:51.638093420 +0000
+++ door_data.stderr.out 2017-05-06 01:23:31.186498020 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-06 01:10:51.690377894 +0000
+++ lsframe2.stderr.out 2017-05-06 01:23:42.421113853 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-06 00:30:17.186743754 +0000
+++ preen_invars.stderr.out 2017-05-06 01:10:16.539028289 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-06 00:30:17.184819888 +0000
+++ stackerr.stderr.out 2017-05-06 01:10:17.663564079 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-06 00:30:17.192843569 +0000
+++ stackerr.stderr.out 2017-05-06 01:10:17.663564079 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-06 00:30:14.044703417 +0000
+++ hginfo.stderrB.out 2017-05-06 00:41:19.316034528 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-06 00:30:19.434481362 +0000
+++ bar_bad.stderr.out 2017-05-06 01:04:21.003555756 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-06 00:30:19.376555294 +0000
+++ bar_bad.stderr.out 2017-05-06 01:04:21.003555756 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-06 00:30:19.452405508 +0000
+++ bar_trivial.stderr.out 2017-05-06 01:04:22.587019870 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-old/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-06 00:30:19.412112155 +0000
+++ free_is_write.stderr.out 2017-05-06 01:04:25.634253945 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-old/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-06 00:30:19.492619337 +0000
+++ pth_barrier1.stderr.out 2017-05-06 01:04:43.049573698 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-old/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-06 00:30:19.350069121 +0000
+++ pth_barrier2.stderr.out 2017-05-06 01:04:43.658524703 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -39,590 +50,12 @@
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 4 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-06 00:30:19.443783761 +0000
+++ pth_barrier3.stderr.out 2017-05-06 01:04:44.337375230 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-06 00:30:19.359138602 +0000
+++ tc21_pthonce.stderr.out 2017-05-06 01:05:23.503630764 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-06 00:30:19.529874197 +0000
+++ tls_threads.stderr.out 2017-05-06 01:05:34.370179274 +0000
@@ -1,2 +1,3 @@
+--15583:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-old/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-06 00:30:15.669022950 +0000
+++ door_data.stderr.out 2017-05-06 00:55:45.827859461 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-old/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-06 00:30:15.722542009 +0000
+++ lsframe2.stderr.out 2017-05-06 00:55:57.429422714 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
|
|
From: <iv...@iv...> - 2017-05-06 02:18:07
|
valgrind revision: 16336
VEX revision: 3361
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.12.1
Assembler: GNU assembler (GNU Binutils) 2.27
C library: Solaris libc
uname -mrs: SunOS 5.12 i86pc
Vendor version: Oracle Solaris 12.0 X86
Nightly build on solaris12 ( Solaris 12 x86 )
Started at 2017-05-06 00:30:00 UTC
Ended at 2017-05-06 02:12:38 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
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2017-05-06 00:59:59.387255922 +0000
+++ new.short 2017-05-06 01:30:28.533118524 +0000
@@ -18,3 +18,3 @@
helgrind/tests/pth_barrier1 (stderr)
-helgrind/tests/pth_barrier2 (stderr)
+helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
@@ -37,3 +37,3 @@
helgrind/tests/pth_barrier1 (stderr)
-helgrind/tests/pth_barrier2 (stderr)
+helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.09s no: 1.7s (18.7x, -----) me: 3.1s (34.7x, -----) ca:13.8s (153.0x, -----) he: 2.0s (22.2x, -----) ca: 3.9s (43.3x, -----) dr: 2.0s (22.1x, -----) ma: 1.9s (21.3x, -----)
bigcode1 valgrind-old:0.09s no: 1.7s (18.6x, 0.6%) me: 3.1s (34.1x, 1.6%) ca:13.7s (152.6x, 0.3%) he: 2.0s (22.3x, -0.5%) ca: 3.8s (42.3x, 2.3%) dr: 2.0s (22.4x, -1.5%) ma: 2.0s (21.9x, -2.6%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.6s (33.0x, -----) me: 7.4s (67.2x, -----) ca:32.4s (294.1x, -----) he: 4.6s (42.0x, -----) ca: 6.8s (61.7x, -----) dr: 4.4s (39.6x, -----) ma: 4.2s (38.3x, -----)
bigcode2 valgrind-old:0.11s no: 3.7s (33.5x, -1.7%) me: 7.3s (66.6x, 0.8%) ca:31.7s (288.2x, 2.0%) he: 4.6s (41.8x, 0.4%) ca: 6.7s (61.2x, 0.9%) dr: 4.3s (39.4x, 0.7%) ma: 4.2s (37.7x, 1.4%)
-- bz2 --
bz2 valgrind-new:0.65s no: 2.0s ( 3.1x, -----) me: 7.0s (10.8x, -----) ca:12.3s (19.0x, -----) he:10.2s (15.7x, -----) ca:12.4s (19.2x, -----) dr:11.8s (18.2x, -----) ma: 2.0s ( 3.0x, -----)
bz2 valgrind-old:0.65s no: 2.1s ( 3.2x, -1.5%) me: 7.0s (10.8x, 0.3%) ca:12.3s (18.9x, 0.2%) he:10.2s (15.8x, -0.6%) ca:12.4s (19.1x, 0.5%) dr:11.8s (18.2x, 0.3%) ma: 2.0s ( 3.0x, 0.0%)
-- fbench --
fbench valgrind-new:0.25s no: 1.2s ( 4.7x, -----) me: 3.8s (15.1x, -----) ca: 5.9s (23.8x, -----) he: 3.0s (11.9x, -----) ca: 3.8s (15.0x, -----) dr: 2.9s (11.4x, -----) ma: 1.2s ( 4.8x, -----)
fbench valgrind-old:0.25s no: 1.2s ( 4.7x, 0.8%) me: 3.8s (15.1x, 0.0%) ca: 5.8s (23.2x, 2.2%) he: 3.0s (12.0x, -0.3%) ca: 3.7s (14.7x, 1.9%) dr: 2.9s (11.5x, -1.1%) ma: 1.2s ( 4.9x, -1.7%)
-- ffbench --
ffbench valgrind-new:0.27s no: 1.2s ( 4.3x, -----) me: 3.6s (13.2x, -----) ca: 2.1s ( 7.9x, -----) he: 7.0s (26.0x, -----) ca: 4.8s (17.9x, -----) dr: 3.7s (13.6x, -----) ma: 1.1s ( 4.1x, -----)
ffbench valgrind-old:0.27s no: 1.1s ( 4.3x, 1.7%) me: 3.5s (13.0x, 1.4%) ca: 2.0s ( 7.6x, 3.8%) he: 6.2s (22.8x, 12.1%) ca: 5.1s (19.0x, -6.2%) dr: 3.6s (13.4x, 1.1%) ma: 1.1s ( 4.0x, 0.9%)
-- heap --
heap valgrind-new:0.21s no: 1.4s ( 6.7x, -----) me: 6.0s (28.6x, -----) ca:11.4s (54.5x, -----) he: 9.1s (43.4x, -----) ca: 7.7s (36.7x, -----) dr: 5.5s (26.0x, -----) ma: 2.9s (13.6x, -----)
heap valgrind-old:0.21s no: 1.4s ( 6.8x, -0.7%) me: 6.0s (28.3x, 0.8%) ca:11.3s (53.8x, 1.3%) he: 9.1s (43.3x, 0.2%) ca: 7.7s (36.6x, 0.4%) dr: 5.4s (25.5x, 2.0%) ma: 2.9s (13.7x, -0.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.23s no: 1.5s ( 6.4x, -----) me: 9.7s (42.2x, -----) ca:12.0s (52.3x, -----) he:10.1s (44.0x, -----) ca: 8.2s (35.6x, -----) dr: 6.0s (25.9x, -----) ma: 3.0s (13.1x, -----)
heap_pdb4 valgrind-old:0.23s no: 1.5s ( 6.4x, 0.0%) me: 9.7s (42.3x, -0.2%) ca:11.9s (51.9x, 0.8%) he: 9.9s (43.2x, 1.8%) ca: 8.2s (35.5x, 0.2%) dr: 6.0s (25.9x, 0.2%) ma: 2.9s (12.7x, 3.3%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (15.5x, -----) me: 1.5s (74.0x, -----) ca: 1.4s (72.0x, -----) he: 1.3s (63.0x, -----) ca: 1.1s (57.0x, -----) dr: 1.1s (55.5x, -----) ma: 0.7s (33.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (15.5x, 0.0%) me: 1.5s (76.0x, -2.7%) ca: 1.4s (71.5x, 0.7%) he: 1.2s (61.0x, 3.2%) ca: 1.1s (56.5x, 0.9%) dr: 1.1s (57.0x, -2.7%) ma: 0.7s (33.0x, 0.0%)
-- many-xpts --
many-xpts valgrind-new:0.08s no: 0.4s ( 5.5x, -----) me: 1.6s (20.6x, -----) ca: 3.2s (40.5x, -----) he: 2.4s (29.4x, -----) ca: 1.6s (19.4x, -----) dr: 1.6s (20.0x, -----) ma: 1.9s (23.8x, -----)
many-xpts valgrind-old:0.08s no: 0.4s ( 5.2x, 4.5%) me: 1.7s (21.0x, -1.8%) ca: 3.2s (40.5x, 0.0%) he: 2.4s (29.5x, -0.4%) ca: 1.6s (19.5x, -0.6%) dr: 1.6s (20.1x, -0.6%) ma: 1.8s (21.9x, 7.9%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 8.3x, -----) me: 1.2s (19.5x, -----) ca: 2.9s (47.8x, -----) he: 5.0s (83.8x, -----) ca: 2.1s (35.7x, -----) dr: 1.3s (21.8x, -----) ma: 0.5s ( 8.7x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 8.5x, -2.0%) me: 1.2s (20.0x, -2.6%) ca: 2.9s (48.3x, -1.0%) he: 5.0s (84.0x, -0.2%) ca: 2.2s (36.8x, -3.3%) dr: 1.3s (21.7x, 0.8%) ma: 0.5s ( 9.0x, -3.8%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (15.0x, -----) me: 2.3s (114.5x, -----) ca: 1.9s (93.5x, -----) he: 6.0s (299.5x, -----) ca: 0.9s (46.5x, -----) dr: 1.1s (53.0x, -----) ma: 0.3s (15.5x, -----)
sarp valgrind-old:0.02s no: 0.3s (15.0x, 0.0%) me: 2.3s (115.5x, -0.9%) ca: 1.9s (93.0x, 0.5%) he: 5.9s (294.0x, 1.8%) ca: 1.0s (49.0x, -5.4%) dr: 1.1s (53.0x, 0.0%) ma: 0.3s (15.5x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.21s no: 1.4s ( 6.8x, -----) me:10.6s (50.3x, -----) ca:11.8s (56.1x, -----) he:13.9s (66.3x, -----) ca:12.5s (59.3x, -----) dr:11.4s (54.2x, -----) ma: 1.8s ( 8.3x, -----)
tinycc valgrind-old:0.21s no: 1.4s ( 6.8x, 0.0%) me:10.5s (49.9x, 0.8%) ca:11.8s (56.4x, -0.4%) he:13.8s (65.7x, 0.9%) ca:12.4s (59.0x, 0.5%) dr:11.5s (54.7x, -0.8%) ma: 1.7s ( 8.3x, 0.6%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 42m9.83s
user 40m16.26s
sys 1m5.79s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-05-06 01:00:13.841975114 +0000
+++ omp_printf.stderr.out 2017-05-06 01:27:18.879047461 +0000
@@ -1,4 +1,45 @@
+Thread 3:
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-06 01:00:04.940753063 +0000
+++ preen_invars.stderr.out 2017-05-06 01:29:45.779804556 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-06 01:00:04.938596841 +0000
+++ stackerr.stderr.out 2017-05-06 01:29:46.879024469 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-06 01:00:04.944809269 +0000
+++ stackerr.stderr.out 2017-05-06 01:29:46.879024469 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-06 01:00:01.654010979 +0000
+++ hginfo.stderrB.out 2017-05-06 01:10:19.293342525 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-06 01:00:06.494955166 +0000
+++ bar_bad.stderr.out 2017-05-06 01:23:27.395157889 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-06 01:00:06.459082880 +0000
+++ bar_bad.stderr.out 2017-05-06 01:23:27.395157889 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-06 01:00:06.481383696 +0000
+++ free_is_write.stderr.out 2017-05-06 01:23:32.446713834 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-06 01:00:06.527911274 +0000
+++ pth_barrier1.stderr.out 2017-05-06 01:23:50.070239958 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-06 01:00:06.499287576 +0000
+++ pth_barrier3.stderr.out 2017-05-06 01:23:51.539219037 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-06 01:00:06.449470394 +0000
+++ tc21_pthonce.stderr.out 2017-05-06 01:24:32.498259395 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-06 01:00:06.556760684 +0000
+++ tls_threads.stderr.out 2017-05-06 01:24:43.574661058 +0000
@@ -1,2 +1,3 @@
+--19976:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2017-05-06 01:00:02.491529518 +0000
+++ dw4.stderr.out 2017-05-06 01:12:48.639689365 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris
=================================================
--- dw4.stderr.exp-solaris 2017-05-06 01:00:04.025409774 +0000
+++ dw4.stderr.out 2017-05-06 01:12:48.639689365 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2017-05-06 01:00:02.687905252 +0000
+++ leak_cpp_interior.stderr.out 2017-05-06 01:13:23.441149955 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-25) bytes in 4 (-1) blocks
- still reachable: 80 (+25) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2017-05-06 01:00:02.432415758 +0000
+++ leak_cpp_interior.stderr.out 2017-05-06 01:13:23.441149955 +0000
@@ -9,7 +9,7 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 239 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
@@ -24,7 +24,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 143 (+143) bytes in 4 (+4) blocks
- still reachable: 96 (-143) bytes in 4 (-4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -38,7 +38,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 128 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -50,7 +50,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 160 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -62,7 +62,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 111 (-49) bytes in 4 (-1) blocks
- still reachable: 128 (+49) bytes in 4 (+1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -74,7 +74,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 239 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
@@ -88,7 +88,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 239 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
@@ -102,7 +102,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 191 (+191) bytes in 6 (+6) blocks
- still reachable: 48 (-191) bytes in 2 (-6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -133,10 +133,16 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 9 allocs, 9 frees, 247 bytes allocated
+ in use at exit: 72,704 bytes in 1 blocks
+ total heap usage: 10 allocs, 9 frees, 72,951 bytes allocated
-All heap blocks were freed -- no leaks are possible
+LEAK SUMMARY:
+ definitely lost: 0 bytes in 0 blocks
+ indirectly lost: 0 bytes in 0 blocks
+ possibly lost: 0 bytes in 0 blocks
+ still reachable: 72,704 bytes in 1 blocks
+ suppressed: 0 bytes in 0 blocks
+Rerun with --leak-check=full to see details of leaked memory
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit-solaris
=================================================
--- leak_cpp_interior.stderr.exp-64bit-solaris 2017-05-06 01:00:01.863356957 +0000
+++ leak_cpp_interior.stderr.out 2017-05-06 01:13:23.441149955 +0000
@@ -9,9 +9,9 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 273 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 114 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +23,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 177 (+177) bytes in 4 (+4) blocks
- still reachable: 96 (-177) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,8 +37,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 162 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -49,8 +49,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 194 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -61,10 +61,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-83) bytes in 4 (-1) blocks
- still reachable: 162 (+83) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 114 (+114) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +74,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 273 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +88,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 273 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +101,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 225 (+225) bytes in 6 (+6) blocks
- still reachable: 48 (-225) bytes in 2 (-6) blocks
+ possibly lost: 191 (+191) bytes in 6 (+6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-solaris
=================================================
--- leak_cpp_interior.stderr.exp-solaris 2017-05-06 01:00:03.743902515 +0000
+++ leak_cpp_interior.stderr.out 2017-05-06 01:13:23.441149955 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 197 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 90 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 149 (+149) bytes in 4 (+4) blocks
- still reachable: 48 (-149) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-90) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 145 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 142 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-59) bytes in 4 (-1) blocks
- still reachable: 114 (+59) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 90 (+90) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-06 01:00:03.324142224 +0000
+++ door_data.stderr.out 2017-05-06 01:14:22.309828789 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-06 01:00:03.364804600 +0000
+++ lsframe2.stderr.out 2017-05-06 01:14:34.458624635 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-new/memcheck/tests/solaris/pkcs11.stderr.diff-illumos
=================================================
--- pkcs11.stderr.exp-illumos 2017-05-06 01:00:03.379711617 +0000
+++ pkcs11.stderr.out 2017-05-06 01:14:36.722361224 +0000
@@ -1,4 +1,12 @@
Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
...
Conditional jump or move depends on uninitialised value(s)
=================================================
./valgrind-new/memcheck/tests/solaris/pkcs11.stderr.diff-solaris
=================================================
--- pkcs11.stderr.exp-solaris 2017-05-06 01:00:03.411321791 +0000
+++ pkcs11.stderr.out 2017-05-06 01:14:36.722361224 +0000
@@ -0,0 +1,14 @@
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
=================================================
./valgrind-old/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-05-06 00:30:22.193406174 +0000
+++ omp_printf.stderr.out 2017-05-06 00:56:52.810426366 +0000
@@ -1,4 +1,45 @@
+Thread 2:
+Conflicting load by thread 2 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 3)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 3)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 3)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 3)
+ at 0x........: pthr...
[truncated message content] |
|
From: <ma...@gc...> - 2017-05-05 08:40:08
|
valgrind revision: 16333
VEX revision: 3360
C compiler: gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.3) 4.8.4
GDB: GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Assembler: GNU assembler (GNU Binutils for Ubuntu) 2.24
C library: GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.9) stable release version 2.19
uname -mrs: Linux 3.13.0-92-generic aarch64
Vendor version: Ubuntu 14.04.5 LTS, Trusty Tahr
Nightly build on gcc114-arm64 ( Ubuntu 14.04 trusty aarch64 )
Started at 2017-05-05 00:00:01 PDT
Ended at 2017-05-05 02:18:33 PDT
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
== 601 tests, 30 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/linux/getregset (stdout)
memcheck/tests/linux/getregset (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo1 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/pth_cancel1 (stdout)
none/tests/pth_cancel1 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 601 tests, 31 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/linux/getregset (stdout)
memcheck/tests/linux/getregset (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo1 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/pth_cancel1 (stdout)
none/tests/pth_cancel1 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2017-05-05 00:24:02.742180680 -0700
--- new.short 2017-05-05 00:47:30.152180680 -0700
***************
*** 8,10 ****
! == 601 tests, 31 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--- 8,10 ----
! == 601 tests, 30 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
***************
*** 38,40 ****
helgrind/tests/hg05_race2 (stderr)
- helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
--- 38,39 ----
***************
*** 57,59 ****
Last 20 lines of verbose log follow echo
! helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
--- 56,58 ----
Last 20 lines of verbose log follow echo
! helgrind/tests/hg05_race2 (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.21s no: 3.3s (15.5x, -----) me: 6.2s (29.4x, -----) ca:33.7s (160.4x, -----) he: 3.8s (17.9x, -----) ca: 9.1s (43.5x, -----) dr: 3.8s (17.9x, -----) ma: 3.9s (18.6x, -----)
bigcode1 valgrind-old:0.21s no: 3.2s (15.4x, 0.9%) me: 6.2s (29.5x, -0.3%) ca:33.7s (160.5x, -0.1%) he: 3.8s (17.9x, 0.0%) ca: 9.2s (43.7x, -0.4%) dr: 4.1s (19.4x, -8.5%) ma: 4.1s (19.6x, -5.4%)
-- bigcode2 --
bigcode2 valgrind-new:0.21s no: 7.8s (37.0x, -----) me:15.8s (75.1x, -----) ca:70.3s (334.8x, -----) he: 9.5s (45.2x, -----) ca:15.9s (75.7x, -----) dr: 9.5s (45.3x, -----) ma: 9.8s (46.5x, -----)
bigcode2 valgrind-old:0.21s no: 8.2s (39.0x, -5.4%) me:17.6s (83.6x,-11.2%) ca:67.3s (320.3x, 4.3%) he: 9.9s (47.3x, -4.6%) ca:16.2s (77.4x, -2.2%) dr: 8.9s (42.3x, 6.6%) ma: 9.7s (46.1x, 0.9%)
-- bz2 --
bz2 valgrind-new:1.16s no: 4.3s ( 3.7x, -----) me:15.8s (13.6x, -----) ca:39.6s (34.2x, -----) he:20.5s (17.6x, -----) ca:31.0s (26.8x, -----) dr:29.6s (25.5x, -----) ma: 4.2s ( 3.7x, -----)
bz2 valgrind-old:1.16s no: 4.0s ( 3.5x, 4.9%) me:15.1s (13.0x, 4.1%) ca:39.0s (33.6x, 1.6%) he:20.4s (17.6x, 0.3%) ca:31.0s (26.8x, 0.0%) dr:29.8s (25.7x, -0.6%) ma: 4.3s ( 3.7x, -0.2%)
-- fbench --
fbench valgrind-new:0.54s no: 4.2s ( 7.9x, -----) me: 8.4s (15.6x, -----) ca:17.3s (32.1x, -----) he: 7.6s (14.1x, -----) ca:10.8s (20.0x, -----) dr: 8.4s (15.6x, -----) ma: 4.4s ( 8.1x, -----)
fbench valgrind-old:0.54s no: 4.2s ( 7.8x, 1.2%) me: 8.7s (16.1x, -2.8%) ca:17.4s (32.2x, -0.3%) he: 7.7s (14.3x, -1.2%) ca:10.8s (20.0x, 0.3%) dr: 8.4s (15.6x, 0.0%) ma: 4.4s ( 8.1x, 0.2%)
-- ffbench --
ffbench valgrind-new:0.52s no: 2.8s ( 5.4x, -----) me: 5.4s (10.3x, -----) ca: 5.7s (11.0x, -----) he:13.9s (26.7x, -----) ca:10.6s (20.3x, -----) dr: 9.6s (18.5x, -----) ma: 2.9s ( 5.5x, -----)
ffbench valgrind-old:0.52s no: 2.9s ( 5.5x, -1.4%) me: 5.4s (10.4x, -0.2%) ca: 5.7s (11.0x, -0.4%) he:13.8s (26.6x, 0.4%) ca:10.6s (20.3x, 0.0%) dr: 9.6s (18.5x, -0.1%) ma: 2.9s ( 5.5x, 0.0%)
-- heap --
heap valgrind-new:0.52s no: 2.6s ( 5.0x, -----) me:10.8s (20.7x, -----) ca:22.0s (42.3x, -----) he:17.2s (33.0x, -----) ca:13.0s (25.0x, -----) dr:10.1s (19.5x, -----) ma: 5.8s (11.2x, -----)
heap valgrind-old:0.52s no: 2.6s ( 5.0x, -1.2%) me:10.8s (20.8x, -0.7%) ca:22.1s (42.4x, -0.4%) he:17.1s (32.9x, 0.4%) ca:13.0s (25.0x, 0.0%) dr:10.1s (19.5x, -0.2%) ma: 5.8s (11.2x, -0.2%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.55s no: 2.9s ( 5.2x, -----) me:17.9s (32.6x, -----) ca:23.8s (43.3x, -----) he:19.4s (35.2x, -----) ca:14.6s (26.6x, -----) dr:11.3s (20.5x, -----) ma: 6.0s (11.0x, -----)
heap_pdb4 valgrind-old:0.55s no: 2.9s ( 5.2x, 0.0%) me:17.9s (32.5x, 0.4%) ca:23.8s (43.3x, -0.1%) he:19.4s (35.3x, -0.1%) ca:14.7s (26.7x, -0.3%) dr:11.2s (20.5x, 0.2%) ma: 6.0s (11.0x, 0.0%)
-- many-loss-records --
many-loss-records valgrind-new:0.06s no: 0.6s (10.5x, -----) me: 2.9s (48.8x, -----) ca: 3.3s (55.7x, -----) he: 2.6s (42.8x, -----) ca: 2.3s (38.2x, -----) dr: 2.3s (37.8x, -----) ma: 1.4s (23.5x, -----)
many-loss-records valgrind-old:0.06s no: 0.6s (10.3x, 1.6%) me: 3.0s (49.2x, -0.7%) ca: 3.3s (55.3x, 0.6%) he: 2.5s (42.0x, 1.9%) ca: 2.3s (37.7x, 1.3%) dr: 2.3s (37.7x, 0.4%) ma: 1.4s (23.3x, 0.7%)
-- many-xpts --
many-xpts valgrind-new:0.13s no: 0.9s ( 6.6x, -----) me: 3.4s (26.2x, -----) ca: 8.2s (62.7x, -----) he: 4.9s (37.7x, -----) ca: 3.5s (27.3x, -----) dr: 3.4s (26.2x, -----) ma: 3.6s (27.8x, -----)
many-xpts valgrind-old:0.13s no: 0.9s ( 6.7x, -1.2%) me: 3.4s (26.2x, 0.0%) ca: 8.2s (62.8x, -0.1%) he: 4.9s (37.8x, -0.4%) ca: 3.6s (27.4x, -0.3%) dr: 3.4s (26.2x, 0.3%) ma: 3.6s (27.8x, -0.3%)
-- memrw --
memrw valgrind-new:0.28s no: 1.0s ( 3.7x, -----) me: 2.3s ( 8.2x, -----) ca: 8.6s (30.9x, -----) he:13.8s (49.4x, -----) ca: 4.1s (14.6x, -----) dr: 3.0s (10.8x, -----) ma: 1.2s ( 4.3x, -----)
memrw valgrind-old:0.28s no: 1.1s ( 3.8x, -2.9%) me: 2.3s ( 8.3x, -0.9%) ca: 8.6s (30.6x, 0.9%) he:13.8s (49.4x, -0.1%) ca: 4.1s (14.7x, -0.5%) dr: 3.0s (10.8x, 0.0%) ma: 1.2s ( 4.2x, 0.8%)
-- sarp --
sarp valgrind-new:0.03s no: 0.5s (17.3x, -----) me: 3.7s (124.3x, -----) ca: 4.4s (148.0x, -----) he:13.6s (452.7x, -----) ca: 2.3s (77.7x, -----) dr: 1.9s (65.0x, -----) ma: 0.6s (20.3x, -----)
sarp valgrind-old:0.03s no: 0.6s (19.0x, -9.6%) me: 3.7s (124.3x, 0.0%) ca: 4.4s (147.3x, 0.5%) he:13.6s (451.7x, 0.2%) ca: 2.4s (81.3x, -4.7%) dr: 2.0s (66.0x, -1.5%) ma: 0.6s (20.7x, -1.6%)
-- tinycc --
tinycc valgrind-new:0.40s no: 4.8s (11.9x, -----) me:19.9s (49.7x, -----) ca:46.0s (114.9x, -----) he:22.6s (56.4x, -----) ca:33.4s (83.6x, -----) dr:19.4s (48.5x, -----) ma: 6.1s (15.3x, -----)
tinycc valgrind-old:0.40s no: 4.7s (11.8x, 0.4%) me:19.9s (49.9x, -0.2%) ca:46.0s (115.1x, -0.2%) he:22.5s (56.3x, 0.3%) ca:33.5s (83.8x, -0.3%) dr:19.4s (48.6x, -0.3%) ma: 6.1s (15.2x, 0.7%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
5410.10user 44.35system 1:31:03elapsed 99%CPU (0avgtext+0avgdata 531264maxresident)k
0inputs+480880outputs (0major+14540170minor)pagefaults 0swaps
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff
=================================================
--- pth_cancel_locked.stderr.exp 2017-05-05 00:24:17.562180680 -0700
+++ pth_cancel_locked.stderr.out 2017-05-05 00:43:32.672180680 -0700
@@ -1,15 +1,19 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-pthread_cancel(): invalid thread ID 0x........
- at 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137)
+ by 0x........: __pthread_unwind (unwind.c:?)
+ by 0x........: __do_cancel (pthreadP.h:?)
+ by 0x........: sigcancel_handler (nptl-init.c:214)
+ by 0x........: ??? (in /home/mark/valgrind-nightly/valgrind-new/drd/drd-arm64-linux)
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff-darwin
=================================================
--- pth_cancel_locked.stderr.exp-darwin 2017-05-05 00:24:17.582180680 -0700
+++ pth_cancel_locked.stderr.out 2017-05-05 00:43:32.672180680 -0700
@@ -1,18 +1,19 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137)
+ by 0x........: __pthread_unwind (unwind.c:?)
+ by 0x........: __do_cancel (pthreadP.h:?)
+ by 0x........: sigcancel_handler (nptl-init.c:214)
+ by 0x........: ??? (in /home/mark/valgrind-nightly/valgrind-new/drd/drd-arm64-linux)
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/sigaltstack.stderr.diff
=================================================
--- sigaltstack.stderr.exp 2017-05-05 00:24:17.622180680 -0700
+++ sigaltstack.stderr.out 2017-05-05 00:45:30.882180680 -0700
@@ -4,3 +4,8 @@
raising the signal
caught signal, local var is on 0x........
done
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: ???
+Illegal instruction (core dumped)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2017-05-05 00:24:17.622180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-05 00:46:16.632180680 -0700
@@ -7,28 +7,20 @@
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:26)
+ at 0x........: bar (tc04_free_lock.c:40)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: foo (tc04_free_lock.c:47)
- by 0x........: main (tc04_free_lock.c:27)
+ at 0x........: foo (tc04_free_lock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-s390
=================================================
--- tc04_free_lock.stderr.exp-s390 2017-05-05 00:24:17.672180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-05 00:46:16.632180680 -0700
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,7 +16,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2017-05-05 00:24:17.682180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-05 00:46:16.632180680 -0700
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +16,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2017-05-05 00:24:17.652180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-05 00:46:21.742180680 -0700
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc
=================================================
--- tc09_bad_unlock.stderr.exp-ppc 2017-05-05 00:24:17.522180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-05 00:46:21.742180680 -0700
@@ -25,8 +25,8 @@
by 0x........: main (tc09_bad_unlock.c:49)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
+ at 0x........: nearly_main (tc09_bad_unlock.c:45)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-s390
=================================================
--- tc09_bad_unlock.stderr.exp-s390 2017-05-05 00:24:17.542180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-05 00:46:21.742180680 -0700
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2017-05-05 00:24:17.602180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-05 00:46:21.742180680 -0700
@@ -6,6 +6,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
@@ -15,6 +16,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread 1:
The object at address 0x........ is not a mutex.
@@ -24,10 +26,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
+ by 0x........: main (tc09_bad_unlock.c:49)
---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
@@ -37,18 +40,12 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:50)
The object at address 0x........ is not a mutex.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-x86
=================================================
--- tc09_bad_unlock.stderr.exp-x86 2017-05-05 00:24:17.582180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-05 00:46:21.742180680 -0700
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2017-05-05 00:24:10.012180680 -0700
+++ bad_percentify.stderr.out 2017-05-05 00:47:14.002180680 -0700
@@ -1,30 +1 @@
-
-Invalid read of size 1
- at 0x........: local_strlen (bad_percentify.c:138)
- by 0x........: VG_vsprintf (bad_percentify.c:535)
- by 0x........: VG_sprintf (bad_percentify.c:545)
- by 0x........: VG_percentify (bad_percentify.c:572)
- by 0x........: VG_print_translation_stats (bad_percentify.c:625)
- by 0x........: main (bad_percentify.c:645)
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 6 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 1
- at 0x........: local_strlen (bad_percentify.c:138)
- by 0x........: myvprintf_str (bad_percentify.c:187)
- by 0x........: VG_debugLog_vprintf (bad_percentify.c:490)
- by 0x........: vprintf_to_buf (bad_percentify.c:89)
- by 0x........: vprintf_WRK (bad_percentify.c:102)
- by 0x........: VG_vprintf (bad_percentify.c:115)
- by 0x........: VG_printf (bad_percentify.c:124)
- by 0x........: VG_print_translation_stats (bad_percentify.c:626)
- by 0x........: main (bad_percentify.c:645)
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 6 in frame 7 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stdout.diff
=================================================
--- bad_percentify.stdout.exp 2017-05-05 00:24:10.002180680 -0700
+++ bad_percentify.stdout.out 2017-05-05 00:47:13.802180680 -0700
@@ -1,3 +0,0 @@
-translate: fast SP updates identified: 0 ( --%)
-translate: generic_known SP updates identified: 0 ( --%)
-translate: generic_unknown SP updates identified: 0 ( --%)
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-gcc491-amd64
=================================================
--- globalerr.stderr.exp-gcc491-amd64 2017-05-05 00:24:10.012180680 -0700
+++ globalerr.stderr.out 2017-05-05 00:47:14.372180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "a" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: global array "a" of size 14 in object with soname "NONE"
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-glibc28-amd64
=================================================
--- globalerr.stderr.exp-glibc28-amd64 2017-05-05 00:24:10.012180680 -0700
+++ globalerr.stderr.out 2017-05-05 00:47:14.372180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "a" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2017-05-05 00:24:10.002180680 -0700
+++ hackedbz2.stderr.out 2017-05-05 00:47:14.482180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 1
- at 0x........: vex_strlen (hackedbz2.c:1006)
- by 0x........: add_to_myprintf_buf (hackedbz2.c:1284)
- by 0x........: vex_printf (hackedbz2.c:1155)
- by 0x........: BZ2_compressBlock (hackedbz2.c:4039)
- by 0x........: handle_compress (hackedbz2.c:4761)
- by 0x........: BZ2_bzCompress (hackedbz2.c:4831)
- by 0x........: BZ2_bzBuffToBuffCompress (hackedbz2.c:5638)
- by 0x........: main (hackedbz2.c:6484)
- Address 0x........ expected vs actual:
- Expected: global array "myprintf_buf" of size 70 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stdout.diff
=================================================
--- hackedbz2.stdout.exp 2017-05-05 00:24:10.012180680 -0700
+++ hackedbz2.stdout.out 2017-05-05 00:47:14.402180680 -0700
@@ -1,70 +0,0 @@
-22323 bytes read
- block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
- too repetitive; using fallback sorting algorithm
- 22373 in block, 13504 after MTF & 1-2 coding, 79+2 syms in use
- pass 1: size is 17143, grp uses are 38 62 2 92 6 71
- pass 2: size is 6506, grp uses are 28 71 0 86 9 77
- pass 3: size is 6479, grp uses are 26 70 0 81 11 83
- pass 4: size is 6469, grp uses are 26 69 0 74 17 85
- bytes: mapping 19, selectors 66, code lengths 134, codes 6465
- final combined CRC = 0xA212ABF8
- 6710 after compression
-bit 0 -5 DATA_ERROR_MAGIC
-bit 1 -5 DATA_ERROR_MAGIC
-bit 2 -5 DATA_ERROR_MAGIC
-bit 3 -5 DATA_ERROR_MAGIC
-bit 4 -5 DATA_ERROR_MAGIC
-bit 5 -5 DATA_ERROR_MAGIC
-bit 6 -5 DATA_ERROR_MAGIC
-bit 7 -5 DATA_ERROR_MAGIC
-bit 8 -5 DATA_ERROR_MAGIC
-bit 9 -5 DATA_ERROR_MAGIC
-bit 10 -5 DATA_ERROR_MAGIC
-bit 11 -5 DATA_ERROR_MAGIC
-bit 12 -5 DATA_ERROR_MAGIC
-bit 13 -5 DATA_ERROR_MAGIC
-bit 14 -5 DATA_ERROR_MAGIC
-bit 15 -5 DATA_ERROR_MAGIC
-bit 16 -5 DATA_ERROR_MAGIC
-bit 17 -5 DATA_ERROR_MAGIC
-bit 18 -5 DATA_ERROR_MAGIC
-bit 19 -5 DATA_ERROR_MAGIC
-bit 20 -5 DATA_ERROR_MAGIC
-bit 21 -5 DATA_ERROR_MAGIC
-bit 22 -5 DATA_ERROR_MAGIC
-bit 23 -5 DATA_ERROR_MAGIC
-bit 24 0 OK really ok!
-bit 25 -5 DATA_ERROR_MAGIC
-bit 26 -5 DATA_ERROR_MAGIC
-bit 27 0 OK really ok!
-bit 28 -5 DATA_ERROR_MAGIC
-bit 29 -5 DATA_ERROR_MAGIC
-bit 30 -5 DATA_ERROR_MAGIC
-bit 31 -5 DATA_ERROR_MAGIC
-bit 32 -4 DATA_ERROR
-bit 33 -4 DATA_ERROR
-bit 34 -4 DATA_ERROR
-bit 35 -4 DATA_ERROR
-bit 2412 -4 DATA_ERROR
-bit 4789 -4 DATA_ERROR
-bit 7166 -4 DATA_ERROR
-bit 9543 -4 DATA_ERROR
-bit 11920 -4 DATA_ERROR
-bit 14297 -4 DATA_ERROR
-bit 16674 -4 DATA_ERROR
-bit 19051 -4 DATA_ERROR
-bit 21428 -4 DATA_ERROR
-bit 23805 -4 DATA_ERROR
-bit 26182 -4 DATA_ERROR
-bit 28559 -4 DATA_ERROR
-bit 30936 -4 DATA_ERROR
-bit 33313 -4 DATA_ERROR
-bit 35690 -4 DATA_ERROR
-bit 38067 -4 DATA_ERROR
-bit 40444 -4 DATA_ERROR
-bit 42821 -4 DATA_ERROR
-bit 45198 -4 DATA_ERROR
-bit 47575 -4 DATA_ERROR
-bit 49952 -4 DATA_ERROR
-bit 52329 -4 DATA_ERROR
-all ok
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stderr.diff
=================================================
--- hsg.stderr.exp 2017-05-05 00:24:10.022180680 -0700
+++ hsg.stderr.out 2017-05-05 00:47:14.572180680 -0700
@@ -1,116 +1 @@
-<?xml version="1.0"?>
-
-<valgrindoutput>
-
-<protocolversion>4</protocolversion>
-<protocoltool>exp-sgcheck</protocoltool>
-
-<preamble>
- <line>...</line>
- <line>...</line>
- <line>...</line>
- <line>...</line>
- <line>...</line>
-</preamble>
-
-<pid>...</pid>
-<ppid>...</ppid>
-<tool>exp-sgcheck</tool>
-
-<args>
- <vargv>...</vargv>
- <argv>
- <exe>./hsg</exe>
- </argv>
-</args>
-
-<status>
- <state>RUNNING</state>
- <time>...</time>
-</status>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>SorG</kind>
- <what>Invalid read of size 2</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>addup_wrongly</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: global array "ga" of size 200 in object with soname "NONE"</auxwhat>
- <auxwhat>Actual: unknown</auxwhat>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>SorG</kind>
- <what>Invalid read of size 2</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>addup_wrongly</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_other_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: stack array "la" of size 200 in frame 1 back from here</auxwhat>
- <auxwhat>Actual: unknown</auxwhat>
-</error>
-
-
-<status>
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stdout.diff
=================================================
--- hsg.stdout.exp 2017-05-05 00:24:10.012180680 -0700
+++ hsg.stdout.out 2017-05-05 00:47:14.492180680 -0700
@@ -1 +0,0 @@
-boringly as expected
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-05 00:24:10.012180680 -0700
+++ preen_invars.stderr.out 2017-05-05 00:47:14.652180680 -0700
@@ -1,9 +1 @@
-
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stdout.diff
=================================================
--- preen_invars.stdout.exp 2017-05-05 00:24:10.012180680 -0700
+++ preen_invars.stdout.out 2017-05-05 00:47:14.602180680 -0700
@@ -1 +0,0 @@
-foo bar 1
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-05 00:24:10.012180680 -0700
+++ stackerr.stderr.out 2017-05-05 00:47:14.702180680 -0700
@@ -1,28 +1 @@
-
-Invalid write of size 4
- at 0x........: foo (stackerr.c:27)
- by 0x........: bar (stackerr.c:32)
- by 0x........: main (stackerr.c:41)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
- Actual: is 0 after Expected
-
-Invalid write of size 4
- at 0x........: main (stackerr.c:44)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
- Actual: is 0 after Expected
-
-Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-05 00:24:10.012180680 -0700
+++ stackerr.stderr.out 2017-05-05 00:47:14.702180680 -0700
@@ -1,28 +1 @@
-
-Invalid write of size 8
- at 0x........: foo (stackerr.c:27)
- by 0x........: bar (stackerr.c:32)
- by 0x........: main (stackerr.c:41)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 56 in frame 2 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid write of size 8
- at 0x........: main (stackerr.c:44)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 56 in this frame
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-05 00:24:07.312180680 -0700
+++ hginfo.stderrB.out 2017-05-05 00:29:11.642180680 -0700
@@ -12,6 +12,10 @@
...
Block was alloc'd by thread #x
Lock ga 0x........ {
+ Address 0x........ is 2440 bytes inside data symbol "_rtld_local"
+ kind mbRec
+}
+Lock ga 0x........ {
Address 0x........ is 0 bytes inside data symbol "mx"
kind mbRec
{ W1:thread #x tid #x }
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-05 00:24:07.212180680 -0700
+++ hgtls.stdoutB.out 2017-05-05 00:29:15.012180680 -0700
@@ -8,38 +8,8 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Program exited normally.
+A debugging session is active.
+ Inferior 1 [Remote target] will be detached.
+Quit anyway? (y or n) [answered Y; input not from terminal]
+Detaching from program: /home/mark/valgrind-nightly/valgrind-new/none/tests/tls, Remote target
+Ending remote debugging.
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2017-05-05 00:24:07.312180680 -0700
+++ mcinfcallWSRU.stderrB.out 2017-05-05 00:29:26.102180680 -0700
@@ -22,7 +22,10 @@
41 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+16>)
+54 ../ports/sysdeps/unix/sysv/linux/generic/select.c: No such file or directory.
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -31,7 +34,10 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+32>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -40,7 +46,10 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+48>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff
=================================================
--- nlvgdbsigqueue.stdoutB.exp 2017-05-05 00:24:07.242180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-05 00:30:01.152180680 -0700
@@ -1,16 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris1
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris1 2017-05-05 00:24:07.242180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-05 00:30:01.152180680 -0700
@@ -1,16 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris2
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris2 2017-05-05 00:24:07.242180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-05 00:30:01.152180680 -0700
@@ -1,17 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
-[New Thread ....]
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-05 00:24:11.332180680 -0700
+++ hg05_race2.stderr.out 2017-05-05 00:37:43.632180680 -0700
@@ -26,8 +26,8 @@
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
+ in frame #x, created by main (hg05_race2.c:23)
----------------------------------------------------------------
@@ -42,8 +42,8 @@
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
+ in frame #x, created by main (hg05_race2.c:23)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-05 00:24:11.292180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-05 00:39:12.772180680 -0700
@@ -169,8 +169,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
- declared at tc20_verifywrap.c:57, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-05 00:24:11.392180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-05 00:39:12.772180680 -0700
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +201,14 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -224,6 +241,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:284)
@@ -238,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-05 00:24:11.282180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-05 00:39:12.772180680 -0700
@@ -169,8 +169,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
- declared at tc20_verifywrap.c:57, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -235,6 +235,15 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
+----------------------------------------------------------------
+
+Thread #x's call to sem_post failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:284)
+
FIXME: can't figure out how to verify wrap of sem_post
@@ -247,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================...
[truncated message content] |
|
From: Philippe W. <phi...@sk...> - 2017-05-05 04:28:07
|
valgrind revision: 16333 VEX revision: 3360 C compiler: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) GDB: GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7 Assembler: GNU assembler version 2.25.1-22.base.el7 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.10.0-514.10.2.el7.ppc64le ppc64le Vendor version: CentOS Linux 7 (AltArch) Nightly build on gcc112 ( \S, ppc64le ) Started at 2017-05-05 03:00:06 UTC Ended at 2017-05-05 04:27:57 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 == 619 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo unit_bitmap: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_bitmap -s 93 -t 97 -q unit_vc: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_vc -- Finished tests in drd/tests ----------------------------------------- -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- == 619 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 --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.35s no: 2.5s ( 7.2x, -----) me: 4.9s (13.9x, -----) ca:19.4s (55.5x, -----) he: 2.5s ( 7.3x, -----) ca: 7.5s (21.3x, -----) dr: 2.9s ( 8.2x, -----) ma: 3.6s (10.2x, -----) bigcode1 valgrind-old:0.35s no: 2.1s ( 6.1x, 14.3%) me: 4.5s (13.0x, 6.6%) ca:19.4s (55.5x, 0.2%) he: 2.6s ( 7.5x, -2.7%) ca: 7.6s (21.7x, -2.0%) dr: 2.5s ( 7.1x, 13.2%) ma: 3.5s (10.1x, 1.4%) -- bigcode2 -- bigcode2 valgrind-new:0.22s no: 4.9s (22.4x, -----) me:11.2s (51.1x, -----) ca:30.9s (140.3x, -----) he: 6.2s (28.3x, -----) ca:10.7s (48.5x, -----) dr: 5.6s (25.4x, -----) ma: 6.7s (30.6x, -----) bigcode2 valgrind-old:0.22s no: 4.8s (21.8x, 2.8%) me:11.2s (51.1x, -0.1%) ca:30.6s (139.2x, 0.8%) he: 6.2s (28.1x, 0.5%) ca:10.7s (48.6x, -0.2%) dr: 5.5s (24.9x, 2.0%) ma: 6.5s (29.4x, 4.0%) -- bz2 -- bz2 valgrind-new:0.66s no: 3.9s ( 6.0x, -----) me:10.4s (15.8x, -----) ca:25.0s (37.9x, -----) he:13.2s (20.0x, -----) ca:20.8s (31.5x, -----) dr:15.3s (23.2x, -----) ma: 4.0s ( 6.1x, -----) bz2 valgrind-old:0.66s no: 3.8s ( 5.7x, 3.6%) me:10.9s (16.5x, -4.3%) ca:24.7s (37.5x, 1.1%) he:13.0s (19.7x, 1.2%) ca:21.1s (31.9x, -1.2%) dr:15.7s (23.7x, -2.2%) ma: 4.0s ( 6.1x, -0.5%) -- fbench -- fbench valgrind-new:0.36s no: 1.9s ( 5.4x, -----) me: 5.0s (13.8x, -----) ca: 8.0s (22.1x, -----) he: 4.5s (12.6x, -----) ca: 6.4s (17.9x, -----) dr: 4.1s (11.3x, -----) ma: 2.0s ( 5.5x, -----) fbench valgrind-old:0.36s no: 1.9s ( 5.2x, 3.6%) me: 4.9s (13.7x, 0.2%) ca: 7.9s (21.9x, 0.8%) he: 4.2s (11.6x, 8.2%) ca: 6.5s (18.1x, -0.9%) dr: 3.9s (10.9x, 3.7%) ma: 2.4s ( 6.6x,-18.6%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.6s ( 2.8x, -----) me: 1.9s ( 8.2x, -----) ca: 2.2s ( 9.5x, -----) he: 6.5s (28.2x, -----) ca: 6.2s (26.9x, -----) dr: 4.6s (19.9x, -----) ma: 0.7s ( 3.0x, -----) ffbench valgrind-old:0.23s no: 0.6s ( 2.7x, 1.6%) me: 1.9s ( 8.1x, 1.1%) ca: 2.2s ( 9.7x, -2.8%) he: 6.1s (26.6x, 5.7%) ca: 6.4s (27.8x, -3.4%) dr: 4.2s (18.3x, 7.9%) ma: 0.8s ( 3.3x, -8.6%) -- heap -- heap valgrind-new:0.28s no: 1.8s ( 6.2x, -----) me: 7.2s (25.7x, -----) ca:11.7s (41.6x, -----) he: 9.4s (33.5x, -----) ca:10.0s (35.8x, -----) dr: 6.0s (21.4x, -----) ma: 3.3s (11.7x, -----) heap valgrind-old:0.28s no: 1.7s ( 6.2x, 1.1%) me: 7.6s (27.0x, -4.9%) ca:11.3s (40.2x, 3.3%) he: 9.3s (33.1x, 1.4%) ca: 9.7s (34.8x, 3.0%) dr: 5.7s (20.2x, 5.5%) ma: 3.2s (11.5x, 1.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.28s no: 1.9s ( 6.8x, -----) me:11.4s (40.8x, -----) ca:12.2s (43.5x, -----) he:11.0s (39.3x, -----) ca:11.1s (39.6x, -----) dr: 6.6s (23.5x, -----) ma: 3.8s (13.5x, -----) heap_pdb4 valgrind-old:0.28s no: 1.9s ( 6.8x, -0.5%) me:11.6s (41.3x, -1.1%) ca:12.5s (44.6x, -2.6%) he:11.2s (40.0x, -1.8%) ca:10.8s (38.4x, 3.1%) dr: 6.6s (23.6x, -0.5%) ma: 3.8s (13.6x, -0.5%) -- many-loss-records -- many-loss-records valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.8s (61.3x, -----) ca: 1.6s (52.0x, -----) he: 1.4s (45.3x, -----) ca: 1.5s (50.0x, -----) dr: 1.1s (37.7x, -----) ma: 0.8s (28.3x, -----) many-loss-records valgrind-old:0.03s no: 0.3s (11.3x, -6.2%) me: 1.8s (58.7x, 4.3%) ca: 1.6s (52.0x, 0.0%) he: 1.4s (48.3x, -6.6%) ca: 1.5s (50.3x, -0.7%) dr: 1.2s (39.7x, -5.3%) ma: 0.8s (25.7x, 9.4%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.6s ( 8.3x, -----) me: 2.6s (36.9x, -----) ca: 3.9s (55.9x, -----) he: 3.0s (42.3x, -----) ca: 2.7s (38.6x, -----) dr: 1.8s (25.9x, -----) ma: 1.7s (24.4x, -----) many-xpts valgrind-old:0.07s no: 0.5s ( 7.1x, 13.8%) me: 2.4s (33.7x, 8.5%) ca: 4.1s (59.0x, -5.6%) he: 3.0s (42.7x, -1.0%) ca: 2.4s (34.6x, 10.4%) dr: 1.8s (26.3x, -1.7%) ma: 1.6s (22.6x, 7.6%) -- memrw -- memrw valgrind-new:0.10s no: 1.0s (10.0x, -----) me: 2.2s (21.8x, -----) ca: 4.5s (44.8x, -----) he: 6.6s (65.8x, -----) ca: 3.5s (35.0x, -----) dr: 1.7s (17.4x, -----) ma: 0.9s ( 9.5x, -----) memrw valgrind-old:0.10s no: 0.9s ( 8.6x, 14.0%) me: 2.1s (21.0x, 3.7%) ca: 4.4s (43.8x, 2.2%) he: 6.6s (66.3x, -0.8%) ca: 3.5s (35.3x, -0.9%) dr: 1.8s (17.8x, -2.3%) ma: 1.0s (10.1x, -6.3%) -- sarp -- sarp valgrind-new:0.03s no: 0.3s ( 9.0x, -----) me: 4.2s (139.7x, -----) ca: 2.5s (85.0x, -----) he: 9.7s (324.7x, -----) ca: 1.6s (52.0x, -----) dr: 1.3s (44.3x, -----) ma: 0.3s (11.0x, -----) sarp valgrind-old:0.03s no: 0.3s ( 9.3x, -3.7%) me: 3.8s (127.0x, 9.1%) ca: 2.5s (84.3x, 0.8%) he: 9.7s (323.0x, 0.5%) ca: 1.7s (55.7x, -7.1%) dr: 1.2s (41.7x, 6.0%) ma: 0.3s (10.7x, 3.0%) -- tinycc -- tinycc valgrind-new:0.22s no: 2.6s (11.9x, -----) me:13.3s (60.5x, -----) ca:14.4s (65.7x, -----) he:14.5s (65.9x, -----) ca:14.7s (66.8x, -----) dr:10.5s (47.8x, -----) ma: 2.7s (12.1x, -----) tinycc valgrind-old:0.22s no: 2.5s (11.5x, 3.4%) me:13.6s (61.6x, -2.0%) ca:14.1s (64.3x, 2.1%) he:14.7s (67.0x, -1.7%) ca:14.5s (65.8x, 1.5%) dr:10.2s (46.6x, 2.5%) ma: 3.1s (14.0x,-15.0%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= real 52m45.181s user 52m31.098s sys 0m13.789s |
|
From: Philippe W. <phi...@sk...> - 2017-05-05 04:19:44
|
valgrind revision: 16333 VEX revision: 3360 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.2-200.fc20.ppc64p7 ppc64 Vendor version: Fedora 20 (Heisenbug) Nightly build on gcc110 ( Fedora release 20 (Heisenbug), ppc64 ) Started at 2017-05-05 03:00:10 UTC Ended at 2017-05-05 04:19: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 == 646 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- -- Running tests in exp-bbv/tests/ppc32-linux ------------------------- ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million -- Finished tests in exp-bbv/tests/ppc32-linux ------------------------- == 646 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 --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: 1.4s ( 6.3x, -----) me: 2.8s (12.1x, -----) ca:18.0s (78.4x, -----) he: 1.7s ( 7.3x, -----) ca: 5.4s (23.3x, -----) dr: 1.6s ( 7.1x, -----) ma: 2.0s ( 8.8x, -----) bigcode1 valgrind-old:0.23s no: 1.4s ( 6.2x, 1.4%) me: 2.8s (12.2x, -0.4%) ca:18.1s (78.5x, -0.1%) he: 1.7s ( 7.3x, -0.0%) ca: 5.1s (22.0x, 5.6%) dr: 1.6s ( 7.0x, 1.8%) ma: 2.0s ( 8.8x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.24s no: 1.5s ( 6.2x, -----) me: 3.0s (12.4x, -----) ca:18.2s (75.8x, -----) he: 2.0s ( 8.2x, -----) ca: 5.0s (21.0x, -----) dr: 1.7s ( 7.2x, -----) ma: 2.1s ( 8.7x, -----) bigcode2 valgrind-old:0.24s no: 1.5s ( 6.2x, 0.0%) me: 2.8s (11.8x, 4.7%) ca:17.9s (74.8x, 1.3%) he: 2.0s ( 8.4x, -1.5%) ca: 5.1s (21.2x, -0.6%) dr: 1.7s ( 7.2x, 0.0%) ma: 2.1s ( 8.6x, 0.5%) -- bz2 -- bz2 valgrind-new:0.70s no: 4.5s ( 6.5x, -----) me:11.2s (16.0x, -----) ca:26.1s (37.3x, -----) he:14.9s (21.3x, -----) ca:22.6s (32.3x, -----) dr:18.4s (26.3x, -----) ma: 4.5s ( 6.4x, -----) bz2 valgrind-old:0.70s no: 4.4s ( 6.2x, 3.8%) me:11.2s (16.1x, -0.1%) ca:26.1s (37.3x, 0.1%) he:14.9s (21.3x, 0.0%) ca:22.8s (32.5x, -0.6%) dr:18.5s (26.5x, -0.8%) ma: 4.5s ( 6.4x, 0.4%) -- fbench -- fbench valgrind-new:0.37s no: 2.2s ( 5.9x, -----) me: 5.2s (14.1x, -----) ca: 8.6s (23.3x, -----) he: 5.1s (13.9x, -----) ca: 7.7s (20.8x, -----) dr: 5.0s (13.6x, -----) ma: 2.2s ( 5.9x, -----) fbench valgrind-old:0.37s no: 2.2s ( 5.9x, 0.0%) me: 5.2s (14.1x, -0.2%) ca: 8.6s (23.3x, 0.1%) he: 5.1s (13.8x, 0.8%) ca: 7.6s (20.5x, 1.7%) dr: 5.0s (13.6x, 0.0%) ma: 2.2s ( 6.0x, -2.8%) -- ffbench -- ffbench valgrind-new:0.42s no: 1.1s ( 2.5x, -----) me: 2.3s ( 5.6x, -----) ca: 2.4s ( 5.7x, -----) he: 6.9s (16.4x, -----) ca: 6.8s (16.3x, -----) dr: 5.0s (11.8x, -----) ma: 0.9s ( 2.3x, -----) ffbench valgrind-old:0.42s no: 1.1s ( 2.5x, 0.0%) me: 2.3s ( 5.5x, 1.3%) ca: 2.4s ( 5.7x, 0.8%) he: 6.8s (16.3x, 0.4%) ca: 6.6s (15.8x, 3.1%) dr: 5.0s (11.8x, 0.2%) ma: 0.9s ( 2.3x, 0.0%) -- heap -- heap valgrind-new:0.40s no: 2.1s ( 5.2x, -----) me: 7.6s (19.0x, -----) ca:12.9s (32.3x, -----) he:11.1s (27.6x, -----) ca:11.3s (28.4x, -----) dr: 6.8s (17.0x, -----) ma: 3.9s ( 9.6x, -----) heap valgrind-old:0.40s no: 2.1s ( 5.1x, 1.0%) me: 7.6s (19.0x, 0.0%) ca:13.0s (32.5x, -0.5%) he:11.3s (28.1x, -1.8%) ca:11.4s (28.6x, -0.7%) dr: 6.8s (17.1x, -0.4%) ma: 3.8s ( 9.6x, 0.5%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.42s no: 2.3s ( 5.4x, -----) me:11.7s (27.8x, -----) ca:13.9s (33.0x, -----) he:12.7s (30.1x, -----) ca:12.5s (29.7x, -----) dr: 7.8s (18.5x, -----) ma: 4.0s ( 9.6x, -----) heap_pdb4 valgrind-old:0.42s no: 2.2s ( 5.2x, 3.1%) me:11.7s (27.9x, -0.5%) ca:13.9s (33.1x, -0.3%) he:12.7s (30.1x, 0.0%) ca:12.6s (29.9x, -0.6%) dr: 7.8s (18.5x, -0.3%) ma: 4.1s ( 9.7x, -0.5%) -- many-loss-records -- many-loss-records valgrind-new:0.04s no: 0.4s ( 9.8x, -----) me: 1.8s (46.0x, -----) ca: 1.7s (43.5x, -----) he: 1.6s (40.8x, -----) ca: 1.7s (42.0x, -----) dr: 1.3s (32.5x, -----) ma: 0.8s (19.5x, -----) many-loss-records valgrind-old:0.04s no: 0.4s ( 9.8x, 0.0%) me: 1.8s (44.8x, 2.7%) ca: 1.7s (43.5x, 0.0%) he: 1.6s (40.8x, 0.0%) ca: 1.7s (42.0x, -0.0%) dr: 1.3s (32.5x, 0.0%) ma: 0.8s (19.2x, 1.3%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.6s ( 8.4x, -----) me: 2.9s (41.3x, -----) ca: 4.3s (61.7x, -----) he: 4.2s (59.4x, -----) ca: 2.7s (38.0x, -----) dr: 2.0s (28.0x, -----) ma: 2.5s (35.6x, -----) many-xpts valgrind-old:0.07s no: 0.6s ( 8.4x, 0.0%) me: 2.9s (41.4x, -0.3%) ca: 4.3s (62.1x, -0.7%) he: 4.1s (59.1x, 0.5%) ca: 2.7s (38.0x, 0.0%) dr: 2.0s (28.1x, -0.5%) ma: 2.3s (32.3x, 9.2%) -- memrw -- memrw valgrind-new:0.06s no: 0.9s (15.7x, -----) me: 1.9s (32.0x, -----) ca: 4.5s (75.8x, -----) he: 7.0s (116.8x, -----) ca: 3.2s (53.3x, -----) dr: 1.9s (32.2x, -----) ma: 1.0s (16.2x, -----) memrw valgrind-old:0.06s no: 0.9s (15.0x, 4.3%) me: 1.9s (30.8x, 3.6%) ca: 4.5s (75.3x, 0.7%) he: 7.0s (116.5x, 0.3%) ca: 3.2s (53.2x, 0.3%) dr: 1.9s (32.3x, -0.5%) ma: 1.0s (16.0x, 1.0%) -- sarp -- sarp valgrind-new:0.03s no: 0.3s ( 9.7x, -----) me: 3.6s (120.7x, -----) ca: 2.8s (92.7x, -----) he: 9.7s (322.3x, -----) ca: 1.6s (54.0x, -----) dr: 1.1s (36.7x, -----) ma: 0.3s (10.7x, -----) sarp valgrind-old:0.03s no: 0.3s ( 9.7x, 0.0%) me: 3.6s (120.7x, 0.0%) ca: 2.8s (92.7x, 0.0%) he: 9.9s (330.0x, -2.4%) ca: 1.7s (57.0x, -5.6%) dr: 1.2s (39.3x, -7.3%) ma: 0.3s (10.7x, 0.0%) -- tinycc -- tinycc valgrind-new:0.27s no: 2.8s (10.2x, -----) me:13.1s (48.5x, -----) ca:16.7s (61.7x, -----) he:17.8s (66.1x, -----) ca:14.9s (55.1x, -----) dr:11.3s (41.9x, -----) ma: 3.0s (11.0x, -----) tinycc valgrind-old:0.27s no: 2.8s (10.2x, 0.0%) me:13.2s (49.0x, -1.1%) ca:16.8s (62.1x, -0.7%) he:17.8s (65.7x, 0.5%) ca:15.1s (55.9x, -1.5%) dr:11.3s (41.8x, 0.2%) ma: 3.0s (11.0x, 0.3%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= real 51m23.193s user 50m32.233s sys 0m21.659s |
|
From: Rich C. <rc...@wi...> - 2017-05-05 02:57:41
|
valgrind revision: 16333
VEX revision: 3360
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.7-29-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.7-29-desktop x86_64 )
Started at 2017-05-04 21:30:01 CDT
Ended at 2017-05-04 21:57:31 CDT
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
== 663 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
Last 20 lines of verbose log follow echo
preen_invars: valgrind ./preen_invars
stackerr: valgrind --num-callers=3 ./stackerr
-- Finished tests in exp-sgcheck/tests ---------------------------------
-- Running tests in exp-bbv/tests/amd64-linux -------------------------
clone_test: valgrind --interval-size=100000 --bb-out-file=clone_test.out.bb --pc-out-file=clone_test.out.pc ./clone_test
complex_rep: valgrind --interval-size=100000 --bb-out-file=complex_rep.out.bb ./complex_rep
fldcw_check: valgrind --interval-size=10000 --bb-out-file=fldcw_check.out.bb ./fldcw_check
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 663 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1323: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-04 21:44:01.640720955 -0500
+++ hgtls.stdoutB.out 2017-05-04 21:47:10.606530353 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-04 21:44:04.385645547 -0500
+++ hg05_race2.stderr.out 2017-05-04 21:52:59.716944375 -0500
@@ -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/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-04 21:30:19.429323434 -0500
+++ hgtls.stdoutB.out 2017-05-04 21:33:35.278936784 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-04 21:30:31.610988335 -0500
+++ hg05_race2.stderr.out 2017-05-04 21:39:24.855326433 -0500
@@ -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)
|
|
From: <ma...@bu...> - 2017-05-05 02:34:24
|
valgrind revision: 16333
VEX revision: 3360
C compiler: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
GDB: GNU gdb (GDB) Fedora 7.12.1-47.fc25
Assembler: GNU assembler version 2.26.1-1.fc25
C library: GNU C Library (GNU libc) stable release version 2.24
uname -mrs: Linux 4.10.5-200.fc25.s390x s390x
Vendor version: Fedora 25 (Twenty Five)
Nightly build on lfedora1 ( Fedora release 25 (Twenty Five), s390x )
Started at 2017-05-05 00:00:01 UTC
Ended at 2017-05-05 00:25:38 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
== 716 tests, 7 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-05 00:12:53.890942062 +0000
+++ bar_bad.stderr.out 2017-05-05 00:23:01.770942062 +0000
@@ -32,7 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
+Not a barrier
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+
-ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-nohang
=================================================
--- bar_bad.stderr.exp-nohang 2017-05-05 00:12:53.870942062 +0000
+++ bar_bad.stderr.out 2017-05-05 00:23:01.770942062 +0000
@@ -32,6 +32,64 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
@@ -39,4 +97,4 @@
by 0x........: main (bar_bad.c:?)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-solaris
=================================================
--- bar_bad.stderr.exp-solaris 2017-05-05 00:12:53.890942062 +0000
+++ bar_bad.stderr.out 2017-05-05 00:23:01.770942062 +0000
@@ -32,18 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2017-05-05 00:12:53.900942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-05 00:23:13.250942062 +0000
@@ -202,8 +202,195 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2017-05-05 00:12:53.880942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-05 00:23:13.250942062 +0000
@@ -202,6 +202,168 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2017-05-05 00:12:53.900942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-05 00:23:13.250942062 +0000
@@ -202,18 +202,16 @@
</first_observed_at>
</error>
-
-destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -227,39 +225,157 @@
<line>...</line>
</frame>
</stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>free</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
- <file>vg_replace_malloc.c</file>
+ <file>drd_pthread_intercepts.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
<truncated beyond 100 lines>
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-05 00:12:28.980942062 +0000
+++ hgtls.stdoutB.out 2017-05-05 00:15:11.290942062 +0000
@@ -8,28 +8,28 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-05-05 00:12:39.290942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-05 00:21:35.150942062 +0000
@@ -13,7 +13,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-05-05 00:12:39.290942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-05 00:21:35.150942062 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-05-05 00:12:39.290942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-05 00:21:35.150942062 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-05 00:12:39.280942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-05 00:12:39.300942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +219,23 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-05 00:12:39.280942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2017-05-05 00:12:39.290942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2017-05-05 00:12:39.290942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2017-05-05 00:12:39.300942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
@@ -167,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +221,21 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2017-05-05 00:12:39.290942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-05 00:21:49.770942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -89,7 +97,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -142,7 +150,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -158,22 +166,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2017-05-05 00:12:39.290942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-05 00:21:54.950942062 +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:...)
@@ -27,10 +44,6 @@
Process terminating with default action of signal 6 (SIGABRT)
...
by 0x........: main (tc22_exit_w_lock.c:48)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -38,4 +51,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 2017-05-05 00:12:39.290942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-05 00:21:54.950942062 +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,15 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: main (tc22_exit_w_lock.c:48)
----------------------------------------------------------------
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-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-solaris
=================================================
--- tc22_exit_w_lock.stderr.exp-solaris 2017-05-05 00:12:39.290942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-05 00:21:54.950942062 +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)
+
+...
[truncated message content] |
|
From: <iv...@iv...> - 2017-05-05 02:16:17
|
valgrind revision: 16333
VEX revision: 3360
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.12.1
Assembler: GNU assembler (GNU Binutils) 2.27
C library: Solaris libc
uname -mrs: SunOS 5.12 i86pc
Vendor version: Oracle Solaris 12.0 X86
Nightly build on solaris12 ( Solaris 12 x86 )
Started at 2017-05-05 00:30:00 UTC
Ended at 2017-05-05 02:10:48 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
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 784 tests, 15 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2017-05-05 00:59:58.261316655 +0000
+++ new.short 2017-05-05 01:29:42.309899012 +0000
@@ -8,3 +8,3 @@
-== 784 tests, 15 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -19,3 +19,2 @@
helgrind/tests/pth_barrier2 (stderr)
-helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
@@ -28,2 +27,3 @@
Last 20 lines of verbose log follow echo
+== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -38,3 +38,2 @@
helgrind/tests/pth_barrier2 (stderr)
-helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.1s (30.8x, -----) ca:13.8s (138.5x, -----) he: 2.0s (20.1x, -----) ca: 3.9s (38.7x, -----) dr: 2.0s (20.3x, -----) ma: 1.9s (19.1x, -----)
bigcode1 valgrind-old:0.10s no: 1.7s (16.6x, 0.6%) me: 3.0s (30.2x, 1.9%) ca:13.7s (137.2x, 0.9%) he: 2.0s (20.1x, 0.0%) ca: 3.9s (39.3x, -1.6%) dr: 2.0s (19.9x, 2.0%) ma: 1.9s (19.4x, -1.6%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.5s (32.2x, -----) me: 7.3s (66.2x, -----) ca:29.5s (267.8x, -----) he: 4.5s (40.7x, -----) ca: 6.6s (60.2x, -----) dr: 4.3s (39.3x, -----) ma: 4.1s (36.9x, -----)
bigcode2 valgrind-old:0.11s no: 3.6s (33.0x, -2.5%) me: 7.2s (65.9x, 0.4%) ca:29.6s (268.6x, -0.3%) he: 4.6s (41.6x, -2.2%) ca: 6.6s (60.4x, -0.3%) dr: 4.2s (38.4x, 2.3%) ma: 4.1s (37.5x, -1.5%)
-- bz2 --
bz2 valgrind-new:0.65s no: 2.0s ( 3.1x, -----) me: 7.0s (10.8x, -----) ca:12.3s (18.9x, -----) he:10.1s (15.5x, -----) ca:12.3s (18.9x, -----) dr:11.8s (18.1x, -----) ma: 2.0s ( 3.0x, -----)
bz2 valgrind-old:0.65s no: 2.0s ( 3.1x, 1.0%) me: 6.8s (10.5x, 2.4%) ca:12.2s (18.8x, 0.6%) he: 9.9s (15.3x, 1.3%) ca:12.4s (19.1x, -1.0%) dr:11.8s (18.1x, -0.0%) ma: 2.0s ( 3.0x, -1.0%)
-- fbench --
fbench valgrind-new:0.25s no: 1.2s ( 4.7x, -----) me: 3.8s (15.2x, -----) ca: 5.8s (23.3x, -----) he: 3.0s (11.8x, -----) ca: 3.7s (15.0x, -----) dr: 2.8s (11.3x, -----) ma: 1.2s ( 4.8x, -----)
fbench valgrind-old:0.25s no: 1.2s ( 4.7x, 0.0%) me: 3.8s (15.2x, -0.3%) ca: 5.8s (23.1x, 0.9%) he: 3.0s (12.0x, -2.0%) ca: 3.7s (14.8x, 1.1%) dr: 2.8s (11.3x, 0.4%) ma: 1.2s ( 4.8x, 0.8%)
-- ffbench --
ffbench valgrind-new:0.28s no: 1.1s ( 4.1x, -----) me: 3.5s (12.5x, -----) ca: 2.1s ( 7.5x, -----) he: 5.5s (19.5x, -----) ca: 4.9s (17.5x, -----) dr: 3.6s (12.7x, -----) ma: 1.1s ( 3.8x, -----)
ffbench valgrind-old:0.28s no: 1.1s ( 4.1x, 0.0%) me: 3.5s (12.5x, 0.0%) ca: 2.1s ( 7.5x, 0.0%) he: 5.2s (18.7x, 4.4%) ca: 4.9s (17.4x, 0.6%) dr: 3.7s (13.1x, -2.8%) ma: 1.1s ( 3.9x, -2.8%)
-- heap --
heap valgrind-new:0.21s no: 1.4s ( 6.6x, -----) me: 5.8s (27.7x, -----) ca:11.3s (53.8x, -----) he: 8.8s (42.1x, -----) ca: 7.8s (36.9x, -----) dr: 5.5s (26.0x, -----) ma: 2.8s (13.4x, -----)
heap valgrind-old:0.21s no: 1.4s ( 6.7x, -1.4%) me: 5.8s (27.9x, -0.5%) ca:11.3s (53.6x, 0.3%) he: 8.8s (41.8x, 0.8%) ca: 7.7s (36.6x, 0.8%) dr: 5.3s (25.2x, 3.1%) ma: 2.8s (13.3x, 1.1%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.22s no: 1.5s ( 6.7x, -----) me: 9.5s (43.3x, -----) ca:11.8s (53.8x, -----) he: 9.7s (44.0x, -----) ca: 8.1s (36.9x, -----) dr: 5.9s (26.8x, -----) ma: 2.9s (13.1x, -----)
heap_pdb4 valgrind-old:0.22s no: 1.5s ( 6.7x, -0.7%) me: 9.5s (43.3x, 0.0%) ca:11.8s (53.7x, 0.3%) he: 9.7s (44.0x, -0.1%) ca: 8.1s (37.0x, -0.4%) dr: 5.9s (26.7x, 0.3%) ma: 2.8s (12.8x, 2.4%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (15.0x, -----) me: 1.5s (73.5x, -----) ca: 1.4s (71.5x, -----) he: 1.2s (62.0x, -----) ca: 1.1s (56.0x, -----) dr: 1.1s (56.5x, -----) ma: 0.7s (33.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (15.5x, -3.3%) me: 1.4s (72.5x, 1.4%) ca: 1.4s (70.5x, 1.4%) he: 1.2s (60.5x, 2.4%) ca: 1.1s (55.5x, 0.9%) dr: 1.1s (57.5x, -1.8%) ma: 0.6s (32.0x, 3.0%)
-- many-xpts --
many-xpts valgrind-new:0.08s no: 0.4s ( 5.1x, -----) me: 1.6s (20.5x, -----) ca: 3.3s (40.9x, -----) he: 2.4s (29.4x, -----) ca: 1.6s (19.8x, -----) dr: 1.6s (20.1x, -----) ma: 1.7s (21.2x, -----)
many-xpts valgrind-old:0.08s no: 0.4s ( 5.4x, -4.9%) me: 1.6s (20.6x, -0.6%) ca: 3.2s (39.9x, 2.4%) he: 2.4s (29.4x, 0.0%) ca: 1.6s (19.8x, 0.0%) dr: 1.6s (20.2x, -0.6%) ma: 1.7s (20.9x, 1.8%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 8.2x, -----) me: 1.2s (19.7x, -----) ca: 2.9s (47.5x, -----) he: 5.0s (83.5x, -----) ca: 2.2s (37.3x, -----) dr: 1.3s (21.5x, -----) ma: 0.5s ( 8.8x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 8.2x, 0.0%) me: 1.2s (19.5x, 0.8%) ca: 2.9s (48.2x, -1.4%) he: 5.0s (83.0x, 0.6%) ca: 2.2s (37.0x, 0.9%) dr: 1.3s (21.0x, 2.3%) ma: 0.5s ( 8.8x, 0.0%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (15.0x, -----) me: 2.3s (115.5x, -----) ca: 1.9s (92.5x, -----) he: 5.9s (295.5x, -----) ca: 0.9s (46.5x, -----) dr: 1.1s (53.0x, -----) ma: 0.3s (15.5x, -----)
sarp valgrind-old:0.02s no: 0.3s (15.0x, 0.0%) me: 2.3s (115.5x, 0.0%) ca: 1.8s (92.0x, 0.5%) he: 5.8s (289.5x, 2.0%) ca: 0.9s (47.0x, -1.1%) dr: 1.0s (51.0x, 3.8%) ma: 0.3s (15.5x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.20s no: 1.4s ( 7.0x, -----) me:10.4s (51.9x, -----) ca:11.7s (58.3x, -----) he:13.7s (68.4x, -----) ca:12.3s (61.5x, -----) dr:10.8s (54.2x, -----) ma: 1.7s ( 8.3x, -----)
tinycc valgrind-old:0.20s no: 1.4s ( 7.0x, 0.7%) me:10.0s (49.9x, 3.9%) ca:11.2s (56.1x, 3.7%) he:13.2s (65.8x, 3.8%) ca:11.9s (59.6x, 3.1%) dr:10.8s (54.1x, 0.2%) ma: 1.7s ( 8.3x, 0.0%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 41m6.46s
user 39m19.84s
sys 1m0.91s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-05-05 01:00:12.489100347 +0000
+++ omp_printf.stderr.out 2017-05-05 01:26:37.117044409 +0000
@@ -1,4 +1,45 @@
+Thread 3:
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-05 01:00:03.647354414 +0000
+++ preen_invars.stderr.out 2017-05-05 01:28:59.760595689 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-05 01:00:03.645851938 +0000
+++ stackerr.stderr.out 2017-05-05 01:29:00.902847227 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-05 01:00:03.652538436 +0000
+++ stackerr.stderr.out 2017-05-05 01:29:00.902847227 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-05 01:00:00.510899295 +0000
+++ hginfo.stderrB.out 2017-05-05 01:10:04.813539155 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-05 01:00:05.424020276 +0000
+++ bar_bad.stderr.out 2017-05-05 01:22:58.486870202 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-05 01:00:05.390655614 +0000
+++ bar_bad.stderr.out 2017-05-05 01:22:58.486870202 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-05 01:00:05.411007118 +0000
+++ free_is_write.stderr.out 2017-05-05 01:23:03.510746348 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-05 01:00:05.454921287 +0000
+++ pth_barrier1.stderr.out 2017-05-05 01:23:20.913059731 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-05 01:00:05.376276658 +0000
+++ pth_barrier2.stderr.out 2017-05-05 01:23:21.541234833 +0000
@@ -1,628 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-05 01:00:05.380869662 +0000
+++ tc21_pthonce.stderr.out 2017-05-05 01:24:00.643501867 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-05 01:00:05.483366207 +0000
+++ tls_threads.stderr.out 2017-05-05 01:24:11.704152024 +0000
@@ -1,2 +1,3 @@
+--5999:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2017-05-05 01:00:01.313636589 +0000
+++ dw4.stderr.out 2017-05-05 01:12:33.601509445 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris
=================================================
--- dw4.stderr.exp-solaris 2017-05-05 01:00:02.909756819 +0000
+++ dw4.stderr.out 2017-05-05 01:12:33.601509445 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2017-05-05 01:00:01.560109569 +0000
+++ leak_cpp_interior.stderr.out 2017-05-05 01:13:07.906599757 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-25) bytes in 4 (-1) blocks
- still reachable: 80 (+25) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2017-05-05 01:00:01.212308743 +0000
+++ leak_cpp_interior.stderr.out 2017-05-05 01:13:07.906599757 +0000
@@ -9,7 +9,7 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 239 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
@@ -24,7 +24,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 143 (+143) bytes in 4 (+4) blocks
- still reachable: 96 (-143) bytes in 4 (-4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -38,7 +38,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 128 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -50,7 +50,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 160 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -62,7 +62,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 111 (-49) bytes in 4 (-1) blocks
- still reachable: 128 (+49) bytes in 4 (+1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -74,7 +74,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 239 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
@@ -88,7 +88,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 239 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
@@ -102,7 +102,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 191 (+191) bytes in 6 (+6) blocks
- still reachable: 48 (-191) bytes in 2 (-6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -133,10 +133,16 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 9 allocs, 9 frees, 247 bytes allocated
+ in use at exit: 72,704 bytes in 1 blocks
+ total heap usage: 10 allocs, 9 frees, 72,951 bytes allocated
-All heap blocks were freed -- no leaks are possible
+LEAK SUMMARY:
+ definitely lost: 0 bytes in 0 blocks
+ indirectly lost: 0 bytes in 0 blocks
+ possibly lost: 0 bytes in 0 blocks
+ still reachable: 72,704 bytes in 1 blocks
+ suppressed: 0 bytes in 0 blocks
+Rerun with --leak-check=full to see details of leaked memory
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit-solaris
=================================================
--- leak_cpp_interior.stderr.exp-64bit-solaris 2017-05-05 01:00:00.768029233 +0000
+++ leak_cpp_interior.stderr.out 2017-05-05 01:13:07.906599757 +0000
@@ -9,9 +9,9 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 273 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 114 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +23,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 177 (+177) bytes in 4 (+4) blocks
- still reachable: 96 (-177) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,8 +37,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 162 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -49,8 +49,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 194 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -61,10 +61,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-83) bytes in 4 (-1) blocks
- still reachable: 162 (+83) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 114 (+114) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +74,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 273 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +88,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 273 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +101,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 225 (+225) bytes in 6 (+6) blocks
- still reachable: 48 (-225) bytes in 2 (-6) blocks
+ possibly lost: 191 (+191) bytes in 6 (+6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-solaris
=================================================
--- leak_cpp_interior.stderr.exp-solaris 2017-05-05 01:00:02.583204857 +0000
+++ leak_cpp_interior.stderr.out 2017-05-05 01:13:07.906599757 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 197 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 90 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 149 (+149) bytes in 4 (+4) blocks
- still reachable: 48 (-149) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-90) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 145 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 142 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-59) bytes in 4 (-1) blocks
- still reachable: 114 (+59) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 90 (+90) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-05 01:00:02.174216606 +0000
+++ door_data.stderr.out 2017-05-05 01:14:05.614498411 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-05 01:00:02.212058056 +0000
+++ lsframe2.stderr.out 2017-05-05 01:14:17.588486921 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-new/memcheck/tests/solaris/pkcs11.stderr.diff-illumos
=================================================
--- pkcs11.stderr.exp-illumos 2017-05-05 01:00:02.225580201 +0000
+++ pkcs11.stderr.out 2017-05-05 01:14:19.805063541 +0000
@@ -1,4 +1,12 @@
Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
...
Cond...
[truncated message content] |
|
From: <iv...@iv...> - 2017-05-05 02:10:26
|
valgrind revision: 16333
VEX revision: 3360
C compiler: gcc (GCC) 4.8.2
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.23.1
C library: Solaris libc
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris 11.3 X86
Nightly build on solaris11.3 ( Solaris 11.3 x86 )
Started at 2017-05-05 00:30:00 UTC
Ended at 2017-05-05 02:06:59 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
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
-- Finished tests in exp-bbv/tests/x86 ---------------------------------
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.09s no: 1.7s (18.4x, -----) me: 3.0s (33.8x, -----) ca:13.1s (145.8x, -----) he: 2.0s (22.2x, -----) ca: 4.0s (45.0x, -----) dr: 1.9s (21.7x, -----) ma: 1.9s (21.3x, -----)
bigcode1 valgrind-old:0.09s no: 1.6s (18.3x, 0.6%) me: 3.1s (34.0x, -0.7%) ca:13.1s (145.3x, 0.3%) he: 1.9s (21.3x, 4.0%) ca: 4.0s (44.4x, 1.2%) dr: 1.9s (21.0x, 3.1%) ma: 1.9s (20.9x, 2.1%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.5s (32.2x, -----) me: 7.2s (65.2x, -----) ca:30.2s (274.2x, -----) he: 4.5s (41.1x, -----) ca: 6.9s (62.5x, -----) dr: 4.2s (38.2x, -----) ma: 4.0s (36.2x, -----)
bigcode2 valgrind-old:0.11s no: 3.5s (31.9x, 0.8%) me: 7.4s (67.3x, -3.2%) ca:29.7s (269.8x, 1.6%) he: 4.5s (40.8x, 0.7%) ca: 6.8s (62.3x, 0.4%) dr: 4.2s (37.8x, 1.0%) ma: 4.1s (37.2x, -2.8%)
-- bz2 --
bz2 valgrind-new:0.64s no: 2.0s ( 3.1x, -----) me: 6.8s (10.7x, -----) ca:12.0s (18.8x, -----) he:11.0s (17.2x, -----) ca:13.8s (21.6x, -----) dr:11.6s (18.2x, -----) ma: 1.9s ( 3.0x, -----)
bz2 valgrind-old:0.64s no: 2.0s ( 3.2x, -2.5%) me: 6.8s (10.6x, 0.7%) ca:11.9s (18.6x, 1.2%) he:10.9s (17.1x, 0.5%) ca:13.7s (21.4x, 1.0%) dr:11.5s (18.0x, 1.2%) ma: 1.9s ( 3.0x, 1.5%)
-- fbench --
fbench valgrind-new:0.26s no: 1.2s ( 4.7x, -----) me: 3.7s (14.3x, -----) ca: 5.6s (21.7x, -----) he: 2.8s (10.7x, -----) ca: 3.8s (14.7x, -----) dr: 2.8s (10.9x, -----) ma: 1.2s ( 4.7x, -----)
fbench valgrind-old:0.26s no: 1.2s ( 4.6x, 1.7%) me: 3.8s (14.5x, -1.3%) ca: 5.7s (21.8x, -0.7%) he: 2.7s (10.5x, 1.4%) ca: 3.8s (14.7x, 0.0%) dr: 2.8s (10.9x, 0.4%) ma: 1.2s ( 4.8x, -1.6%)
-- ffbench --
ffbench valgrind-new:0.28s no: 1.1s ( 4.0x, -----) me: 3.5s (12.5x, -----) ca: 2.2s ( 7.9x, -----) he: 5.8s (20.6x, -----) ca: 5.1s (18.1x, -----) dr: 3.6s (13.0x, -----) ma: 1.1s ( 3.9x, -----)
ffbench valgrind-old:0.28s no: 1.1s ( 4.0x, -0.9%) me: 3.4s (12.2x, 1.7%) ca: 2.3s ( 8.2x, -4.1%) he: 5.9s (21.1x, -2.1%) ca: 5.1s (18.4x, -1.4%) dr: 3.5s (12.6x, 2.8%) ma: 1.1s ( 3.8x, 0.9%)
-- heap --
heap valgrind-new:0.19s no: 1.3s ( 6.9x, -----) me: 5.8s (30.5x, -----) ca:11.0s (58.0x, -----) he: 8.8s (46.4x, -----) ca: 8.2s (42.9x, -----) dr: 5.2s (27.4x, -----) ma: 2.7s (14.4x, -----)
heap valgrind-old:0.19s no: 1.3s ( 6.9x, 0.0%) me: 5.8s (30.6x, -0.3%) ca:10.9s (57.4x, 1.0%) he: 8.7s (45.8x, 1.4%) ca: 8.3s (43.7x, -1.8%) dr: 5.3s (27.9x, -1.9%) ma: 2.8s (14.5x, -0.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.20s no: 1.4s ( 6.8x, -----) me: 9.7s (48.2x, -----) ca:11.6s (57.9x, -----) he: 9.9s (49.5x, -----) ca: 8.8s (44.2x, -----) dr: 5.8s (29.1x, -----) ma: 2.8s (13.8x, -----)
heap_pdb4 valgrind-old:0.20s no: 1.3s ( 6.7x, 0.7%) me: 9.6s (48.0x, 0.4%) ca:11.5s (57.3x, 1.0%) he: 9.7s (48.6x, 1.8%) ca: 8.8s (44.0x, 0.6%) dr: 5.7s (28.7x, 1.2%) ma: 2.8s (13.8x, 0.4%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 1.4s (72.0x, -----) ca: 1.4s (67.5x, -----) he: 1.2s (61.5x, -----) ca: 1.1s (57.0x, -----) dr: 1.1s (57.0x, -----) ma: 0.7s (34.5x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (14.0x, 3.4%) me: 1.4s (72.0x, 0.0%) ca: 1.4s (69.0x, -2.2%) he: 1.2s (61.5x, 0.0%) ca: 1.1s (56.5x, 0.9%) dr: 1.1s (55.0x, 3.5%) ma: 0.7s (34.5x, -0.0%)
-- many-xpts --
many-xpts valgrind-new:0.07s no: 0.4s ( 5.6x, -----) me: 1.6s (23.0x, -----) ca: 3.1s (44.0x, -----) he: 2.4s (34.0x, -----) ca: 1.6s (23.1x, -----) dr: 1.6s (22.1x, -----) ma: 1.7s (24.4x, -----)
many-xpts valgrind-old:0.07s no: 0.4s ( 5.7x, -2.6%) me: 1.6s (23.3x, -1.2%) ca: 3.1s (44.0x, 0.0%) he: 2.4s (34.4x, -1.3%) ca: 1.6s (23.1x, 0.0%) dr: 1.5s (22.0x, 0.6%) ma: 1.6s (23.4x, 4.1%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 7.8x, -----) me: 1.2s (19.5x, -----) ca: 2.8s (45.8x, -----) he: 5.4s (89.5x, -----) ca: 2.6s (43.2x, -----) dr: 1.2s (20.7x, -----) ma: 0.5s ( 8.7x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 7.7x, 2.1%) me: 1.1s (19.2x, 1.7%) ca: 2.7s (45.7x, 0.4%) he: 5.4s (90.5x, -1.1%) ca: 2.5s (42.2x, 2.3%) dr: 1.2s (20.5x, 0.8%) ma: 0.5s ( 8.5x, 1.9%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.1s (107.5x, -----) ca: 1.9s (92.5x, -----) he: 6.3s (316.5x, -----) ca: 1.1s (57.0x, -----) dr: 1.0s (49.0x, -----) ma: 0.3s (15.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (14.5x, -3.6%) me: 2.2s (112.0x, -4.2%) ca: 1.9s (92.5x, 0.0%) he: 6.3s (316.0x, 0.2%) ca: 1.1s (57.0x, 0.0%) dr: 1.0s (49.0x, 0.0%) ma: 0.3s (14.0x, 6.7%)
-- tinycc --
tinycc valgrind-new:0.20s no: 1.4s ( 7.0x, -----) me:10.7s (53.6x, -----) ca:11.5s (57.4x, -----) he:13.6s (68.0x, -----) ca:12.7s (63.6x, -----) dr:11.4s (57.0x, -----) ma: 1.7s ( 8.6x, -----)
tinycc valgrind-old:0.20s no: 1.4s ( 7.0x, 0.7%) me:10.5s (52.5x, 2.0%) ca:11.4s (57.2x, 0.3%) he:13.4s (67.2x, 1.2%) ca:12.7s (63.5x, 0.2%) dr:11.6s (57.8x, -1.4%) ma: 1.8s ( 8.8x, -2.3%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 41m29.84s
user 39m51.69s
sys 0m55.50s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-05 00:57:46.855133766 +0000
+++ preen_invars.stderr.out 2017-05-05 01:24:57.782667841 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-05 00:57:46.853154865 +0000
+++ stackerr.stderr.out 2017-05-05 01:24:58.906756135 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-05 00:57:46.860573460 +0000
+++ stackerr.stderr.out 2017-05-05 01:24:58.906756135 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-05 00:57:43.562633833 +0000
+++ hginfo.stderrB.out 2017-05-05 01:06:46.115794127 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-05 00:57:48.604820364 +0000
+++ bar_bad.stderr.out 2017-05-05 01:19:05.898448253 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-05 00:57:48.562541161 +0000
+++ bar_bad.stderr.out 2017-05-05 01:19:05.898448253 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-05 00:57:48.616850385 +0000
+++ bar_trivial.stderr.out 2017-05-05 01:19:07.494603487 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-05 00:57:48.588675056 +0000
+++ free_is_write.stderr.out 2017-05-05 01:19:10.598912979 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-05 00:57:48.695377851 +0000
+++ pth_barrier1.stderr.out 2017-05-05 01:19:28.121596768 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-05 00:57:48.398796775 +0000
+++ pth_barrier2.stderr.out 2017-05-05 01:19:28.699175581 +0000
@@ -6,623 +6,33 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-05 00:57:48.610640913 +0000
+++ pth_barrier3.stderr.out 2017-05-05 01:19:29.397009017 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-05 00:57:48.405463087 +0000
+++ tc21_pthonce.stderr.out 2017-05-05 01:20:07.542473789 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-05 00:57:48.796506389 +0000
+++ tls_threads.stderr.out 2017-05-05 01:20:18.389331810 +0000
@@ -1,2 +1,3 @@
+--9724:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-05 00:57:45.245284128 +0000
+++ door_data.stderr.out 2017-05-05 01:10:30.512038214 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-05 00:57:45.293946744 +0000
+++ lsframe2.stderr.out 2017-05-05 01:10:42.035235974 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-05 00:30:17.553545986 +0000
+++ preen_invars.stderr.out 2017-05-05 00:57:09.673024541 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-05 00:30:17.551549722 +0000
+++ stackerr.stderr.out 2017-05-05 00:57:10.816220600 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-05 00:30:17.559654850 +0000
+++ stackerr.stderr.out 2017-05-05 00:57:10.816220600 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-05 00:30:14.300108174 +0000
+++ hginfo.stderrB.out 2017-05-05 00:39:12.954244684 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-05 00:30:19.069103904 +0000
+++ bar_bad.stderr.out 2017-05-05 00:51:20.396633395 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-05 00:30:19.025790659 +0000
+++ bar_bad.stderr.out 2017-05-05 00:51:20.396633395 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-05 00:30:19.081992187 +0000
+++ bar_trivial.stderr.out 2017-05-05 00:51:21.993581050 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-old/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-05 00:30:19.052443948 +0000
+++ free_is_write.stderr.out 2017-05-05 00:51:25.147647242 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-old/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-05 00:30:19.122698539 +0000
+++ pth_barrier1.stderr.out 2017-05-05 00:51:42.469065396 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-old/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-05 00:30:19.004408712 +0000
+++ pth_barrier2.stderr.out 2017-05-05 00:51:43.064955969 +0000
@@ -6,435 +6,39 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-05 00:30:19.074702710 +0000
+++ pth_barrier3.stderr.out 2017-05-05 00:51:43.757666948 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-05 00:30:19.012096989 +0000
+++ tc21_pthonce.stderr.out 2017-05-05 00:52:21.708934765 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-05 00:30:19.158414535 +0000
+++ tls_threads.stderr.out 2017-05-05 00:52:32.470788398 +0000
@@ -1,2 +1,3 @@
+--5904:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-old/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-05 00:30:15.983206428 +0000
+++ door_data.stderr.out 2017-05-05 00:42:49.653327004 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-old/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-05 00:30:16.044313676 +0000
+++ lsframe2.stderr.out 2017-05-05 00:43:01.265794088 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
|
|
From: <ma...@gc...> - 2017-05-04 08:40:34
|
valgrind revision: 16330
VEX revision: 3359
C compiler: gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.3) 4.8.4
GDB: GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Assembler: GNU assembler (GNU Binutils for Ubuntu) 2.24
C library: GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.9) stable release version 2.19
uname -mrs: Linux 3.13.0-92-generic aarch64
Vendor version: Ubuntu 14.04.5 LTS, Trusty Tahr
Nightly build on gcc114-arm64 ( Ubuntu 14.04 trusty aarch64 )
Started at 2017-05-04 00:00:01 PDT
Ended at 2017-05-04 02:18:50 PDT
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
== 601 tests, 31 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/linux/getregset (stdout)
memcheck/tests/linux/getregset (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo1 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/pth_cancel1 (stdout)
none/tests/pth_cancel1 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 601 tests, 30 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/linux/getregset (stdout)
memcheck/tests/linux/getregset (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo1 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/pth_cancel1 (stdout)
none/tests/pth_cancel1 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2017-05-04 00:23:05.612180680 -0700
--- new.short 2017-05-04 00:45:09.272180680 -0700
***************
*** 8,10 ****
! == 601 tests, 30 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--- 8,10 ----
! == 601 tests, 31 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
***************
*** 38,39 ****
--- 38,40 ----
helgrind/tests/hg05_race2 (stderr)
+ helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
***************
*** 56,58 ****
Last 20 lines of verbose log follow echo
! helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
--- 57,59 ----
Last 20 lines of verbose log follow echo
! helgrind/tests/tc09_bad_unlock (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.20s no: 3.2s (16.1x, -----) me: 6.2s (30.9x, -----) ca:33.7s (168.6x, -----) he: 4.0s (19.8x, -----) ca: 9.1s (45.6x, -----) dr: 3.8s (19.0x, -----) ma: 4.0s (19.8x, -----)
bigcode1 valgrind-old:0.20s no: 3.3s (16.4x, -1.9%) me: 6.3s (31.6x, -2.1%) ca:34.7s (173.6x, -3.0%) he: 4.1s (20.4x, -2.8%) ca: 9.3s (46.6x, -2.2%) dr: 3.8s (18.9x, 0.3%) ma: 4.0s (19.9x, -0.5%)
-- bigcode2 --
bigcode2 valgrind-new:0.21s no: 8.0s (38.1x, -----) me:16.1s (76.9x, -----) ca:71.9s (342.5x, -----) he: 9.8s (46.6x, -----) ca:16.2s (77.0x, -----) dr: 9.1s (43.1x, -----) ma: 9.2s (43.9x, -----)
bigcode2 valgrind-old:0.21s no: 8.2s (38.9x, -2.0%) me:17.0s (80.9x, -5.2%) ca:64.7s (308.2x, 10.0%) he: 9.2s (43.9x, 5.7%) ca:15.3s (72.9x, 5.3%) dr: 8.8s (41.8x, 3.1%) ma: 9.0s (42.8x, 2.5%)
-- bz2 --
bz2 valgrind-new:1.12s no: 4.1s ( 3.6x, -----) me:15.2s (13.6x, -----) ca:39.1s (34.9x, -----) he:20.4s (18.2x, -----) ca:32.3s (28.9x, -----) dr:30.2s (27.0x, -----) ma: 4.3s ( 3.9x, -----)
bz2 valgrind-old:1.12s no: 4.1s ( 3.7x, -1.5%) me:15.9s (14.2x, -4.6%) ca:40.3s (36.0x, -3.1%) he:21.4s (19.1x, -4.9%) ca:32.0s (28.5x, 1.1%) dr:30.5s (27.2x, -1.0%) ma: 4.5s ( 4.0x, -3.2%)
-- fbench --
fbench valgrind-new:0.54s no: 4.3s ( 8.0x, -----) me: 8.7s (16.2x, -----) ca:17.5s (32.3x, -----) he: 7.9s (14.6x, -----) ca:11.3s (20.9x, -----) dr: 8.2s (15.1x, -----) ma: 4.3s ( 8.0x, -----)
fbench valgrind-old:0.54s no: 4.2s ( 7.7x, 3.5%) me: 8.9s (16.5x, -2.1%) ca:17.9s (33.1x, -2.5%) he: 7.7s (14.3x, 2.0%) ca:11.0s (20.3x, 2.9%) dr: 8.5s (15.8x, -4.3%) ma: 4.3s ( 8.0x, -0.5%)
-- ffbench --
ffbench valgrind-new:0.52s no: 2.8s ( 5.4x, -----) me: 5.4s (10.4x, -----) ca: 5.8s (11.1x, -----) he:13.8s (26.6x, -----) ca:10.6s (20.3x, -----) dr: 9.6s (18.4x, -----) ma: 2.9s ( 5.5x, -----)
ffbench valgrind-old:0.52s no: 2.9s ( 5.5x, -1.4%) me: 5.4s (10.3x, 0.9%) ca: 5.7s (11.0x, 0.5%) he:14.0s (26.9x, -1.3%) ca:10.5s (20.2x, 0.6%) dr: 9.6s (18.5x, -0.3%) ma: 2.9s ( 5.5x, -0.3%)
-- heap --
heap valgrind-new:0.53s no: 2.5s ( 4.8x, -----) me:10.8s (20.4x, -----) ca:22.0s (41.5x, -----) he:17.8s (33.6x, -----) ca:13.5s (25.5x, -----) dr:10.5s (19.8x, -----) ma: 6.1s (11.5x, -----)
heap valgrind-old:0.53s no: 2.7s ( 5.1x, -5.5%) me:11.4s (21.5x, -5.6%) ca:22.5s (42.4x, -2.1%) he:17.7s (33.4x, 0.7%) ca:13.4s (25.3x, 0.7%) dr:10.5s (19.8x, 0.2%) ma: 6.1s (11.5x, 0.0%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.57s no: 2.9s ( 5.1x, -----) me:18.9s (33.1x, -----) ca:24.2s (42.5x, -----) he:20.2s (35.4x, -----) ca:14.8s (26.0x, -----) dr:11.7s (20.4x, -----) ma: 6.3s (11.1x, -----)
heap_pdb4 valgrind-old:0.57s no: 2.9s ( 5.1x, -0.7%) me:18.6s (32.6x, 1.5%) ca:24.8s (43.4x, -2.2%) he:19.6s (34.5x, 2.6%) ca:14.9s (26.2x, -0.9%) dr:11.3s (19.8x, 3.0%) ma: 6.0s (10.5x, 5.1%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 0.6s (12.2x, -----) me: 2.9s (58.8x, -----) ca: 3.3s (66.2x, -----) he: 2.6s (51.6x, -----) ca: 2.3s (45.8x, -----) dr: 2.3s (45.4x, -----) ma: 1.4s (27.8x, -----)
many-loss-records valgrind-old:0.05s no: 0.6s (12.4x, -1.6%) me: 2.9s (58.2x, 1.0%) ca: 3.3s (66.2x, 0.0%) he: 2.6s (51.2x, 0.8%) ca: 2.3s (45.2x, 1.3%) dr: 2.3s (45.6x, -0.4%) ma: 1.4s (28.0x, -0.7%)
-- many-xpts --
many-xpts valgrind-new:0.13s no: 0.9s ( 6.6x, -----) me: 3.4s (25.8x, -----) ca: 8.1s (62.6x, -----) he: 4.9s (37.4x, -----) ca: 3.6s (27.6x, -----) dr: 3.4s (26.2x, -----) ma: 3.6s (27.9x, -----)
many-xpts valgrind-old:0.13s no: 0.9s ( 6.8x, -2.3%) me: 3.4s (26.1x, -1.2%) ca: 8.2s (62.8x, -0.4%) he: 4.9s (37.6x, -0.6%) ca: 3.6s (27.6x, 0.0%) dr: 3.4s (26.2x, -0.3%) ma: 3.6s (27.9x, 0.0%)
-- memrw --
memrw valgrind-new:0.29s no: 1.1s ( 3.7x, -----) me: 2.2s ( 7.7x, -----) ca: 8.5s (29.4x, -----) he:13.9s (48.0x, -----) ca: 4.1s (14.1x, -----) dr: 3.0s (10.5x, -----) ma: 1.3s ( 4.3x, -----)
memrw valgrind-old:0.29s no: 1.1s ( 3.8x, -4.7%) me: 2.3s ( 8.0x, -3.6%) ca: 8.5s (29.2x, 0.5%) he:14.2s (49.1x, -2.4%) ca: 4.3s (14.8x, -4.6%) dr: 3.1s (10.8x, -2.6%) ma: 1.2s ( 4.1x, 4.8%)
-- sarp --
sarp valgrind-new:0.03s no: 0.6s (18.3x, -----) me: 3.7s (124.7x, -----) ca: 4.5s (149.3x, -----) he:13.7s (456.7x, -----) ca: 2.3s (76.7x, -----) dr: 2.0s (66.0x, -----) ma: 0.6s (21.3x, -----)
sarp valgrind-old:0.03s no: 0.6s (19.3x, -5.5%) me: 3.8s (125.7x, -0.8%) ca: 4.5s (149.3x, 0.0%) he:13.6s (453.0x, 0.8%) ca: 2.3s (76.7x, 0.0%) dr: 2.0s (67.0x, -1.5%) ma: 0.6s (21.3x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.43s no: 5.0s (11.6x, -----) me:24.3s (56.6x, -----) ca:52.3s (121.7x, -----) he:24.8s (57.7x, -----) ca:36.8s (85.6x, -----) dr:21.8s (50.7x, -----) ma: 6.3s (14.6x, -----)
tinycc valgrind-old:0.43s no: 5.4s (12.7x, -9.5%) me:20.5s (47.7x, 15.7%) ca:46.7s (108.5x, 10.8%) he:22.6s (52.5x, 9.0%) ca:33.5s (77.9x, 9.0%) dr:19.4s (45.0x, 11.1%) ma: 6.1s (14.2x, 2.6%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
5561.50user 49.19system 1:33:40elapsed 99%CPU (0avgtext+0avgdata 531260maxresident)k
0inputs+480872outputs (0major+14589376minor)pagefaults 0swaps
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff
=================================================
--- pth_cancel_locked.stderr.exp 2017-05-04 00:23:19.442180680 -0700
+++ pth_cancel_locked.stderr.out 2017-05-04 00:41:32.572180680 -0700
@@ -1,15 +1,19 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-pthread_cancel(): invalid thread ID 0x........
- at 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137)
+ by 0x........: __pthread_unwind (unwind.c:?)
+ by 0x........: __do_cancel (pthreadP.h:?)
+ by 0x........: sigcancel_handler (nptl-init.c:214)
+ by 0x........: ??? (in /home/mark/valgrind-nightly/valgrind-new/drd/drd-arm64-linux)
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff-darwin
=================================================
--- pth_cancel_locked.stderr.exp-darwin 2017-05-04 00:23:19.462180680 -0700
+++ pth_cancel_locked.stderr.out 2017-05-04 00:41:32.572180680 -0700
@@ -1,18 +1,19 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137)
+ by 0x........: __pthread_unwind (unwind.c:?)
+ by 0x........: __do_cancel (pthreadP.h:?)
+ by 0x........: sigcancel_handler (nptl-init.c:214)
+ by 0x........: ??? (in /home/mark/valgrind-nightly/valgrind-new/drd/drd-arm64-linux)
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/sigaltstack.stderr.diff
=================================================
--- sigaltstack.stderr.exp 2017-05-04 00:23:19.502180680 -0700
+++ sigaltstack.stderr.out 2017-05-04 00:43:20.652180680 -0700
@@ -4,3 +4,8 @@
raising the signal
caught signal, local var is on 0x........
done
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: ???
+Illegal instruction (core dumped)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2017-05-04 00:23:19.502180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-04 00:44:04.092180680 -0700
@@ -7,28 +7,20 @@
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:26)
+ at 0x........: bar (tc04_free_lock.c:40)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: foo (tc04_free_lock.c:47)
- by 0x........: main (tc04_free_lock.c:27)
+ at 0x........: foo (tc04_free_lock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-s390
=================================================
--- tc04_free_lock.stderr.exp-s390 2017-05-04 00:23:19.552180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-04 00:44:04.092180680 -0700
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,7 +16,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2017-05-04 00:23:19.562180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-04 00:44:04.092180680 -0700
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +16,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2017-05-04 00:23:19.522180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:44:08.902180680 -0700
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc
=================================================
--- tc09_bad_unlock.stderr.exp-ppc 2017-05-04 00:23:19.402180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:44:08.902180680 -0700
@@ -25,8 +25,8 @@
by 0x........: main (tc09_bad_unlock.c:49)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
+ at 0x........: nearly_main (tc09_bad_unlock.c:45)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-s390
=================================================
--- tc09_bad_unlock.stderr.exp-s390 2017-05-04 00:23:19.412180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:44:08.902180680 -0700
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2017-05-04 00:23:19.482180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:44:08.902180680 -0700
@@ -6,6 +6,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
@@ -15,6 +16,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread 1:
The object at address 0x........ is not a mutex.
@@ -24,10 +26,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
+ by 0x........: main (tc09_bad_unlock.c:49)
---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
@@ -37,18 +40,12 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:50)
The object at address 0x........ is not a mutex.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-x86
=================================================
--- tc09_bad_unlock.stderr.exp-x86 2017-05-04 00:23:19.462180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:44:08.902180680 -0700
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2017-05-04 00:23:12.542180680 -0700
+++ bad_percentify.stderr.out 2017-05-04 00:44:55.792180680 -0700
@@ -1,30 +1 @@
-
-Invalid read of size 1
- at 0x........: local_strlen (bad_percentify.c:138)
- by 0x........: VG_vsprintf (bad_percentify.c:535)
- by 0x........: VG_sprintf (bad_percentify.c:545)
- by 0x........: VG_percentify (bad_percentify.c:572)
- by 0x........: VG_print_translation_stats (bad_percentify.c:625)
- by 0x........: main (bad_percentify.c:645)
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 6 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 1
- at 0x........: local_strlen (bad_percentify.c:138)
- by 0x........: myvprintf_str (bad_percentify.c:187)
- by 0x........: VG_debugLog_vprintf (bad_percentify.c:490)
- by 0x........: vprintf_to_buf (bad_percentify.c:89)
- by 0x........: vprintf_WRK (bad_percentify.c:102)
- by 0x........: VG_vprintf (bad_percentify.c:115)
- by 0x........: VG_printf (bad_percentify.c:124)
- by 0x........: VG_print_translation_stats (bad_percentify.c:626)
- by 0x........: main (bad_percentify.c:645)
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 6 in frame 7 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stdout.diff
=================================================
--- bad_percentify.stdout.exp 2017-05-04 00:23:12.542180680 -0700
+++ bad_percentify.stdout.out 2017-05-04 00:44:55.772180680 -0700
@@ -1,3 +0,0 @@
-translate: fast SP updates identified: 0 ( --%)
-translate: generic_known SP updates identified: 0 ( --%)
-translate: generic_unknown SP updates identified: 0 ( --%)
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-gcc491-amd64
=================================================
--- globalerr.stderr.exp-gcc491-amd64 2017-05-04 00:23:12.542180680 -0700
+++ globalerr.stderr.out 2017-05-04 00:44:55.822180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "a" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: global array "a" of size 14 in object with soname "NONE"
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-glibc28-amd64
=================================================
--- globalerr.stderr.exp-glibc28-amd64 2017-05-04 00:23:12.542180680 -0700
+++ globalerr.stderr.out 2017-05-04 00:44:55.822180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "a" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2017-05-04 00:23:12.542180680 -0700
+++ hackedbz2.stderr.out 2017-05-04 00:44:55.852180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 1
- at 0x........: vex_strlen (hackedbz2.c:1006)
- by 0x........: add_to_myprintf_buf (hackedbz2.c:1284)
- by 0x........: vex_printf (hackedbz2.c:1155)
- by 0x........: BZ2_compressBlock (hackedbz2.c:4039)
- by 0x........: handle_compress (hackedbz2.c:4761)
- by 0x........: BZ2_bzCompress (hackedbz2.c:4831)
- by 0x........: BZ2_bzBuffToBuffCompress (hackedbz2.c:5638)
- by 0x........: main (hackedbz2.c:6484)
- Address 0x........ expected vs actual:
- Expected: global array "myprintf_buf" of size 70 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stdout.diff
=================================================
--- hackedbz2.stdout.exp 2017-05-04 00:23:12.552180680 -0700
+++ hackedbz2.stdout.out 2017-05-04 00:44:55.832180680 -0700
@@ -1,70 +0,0 @@
-22323 bytes read
- block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
- too repetitive; using fallback sorting algorithm
- 22373 in block, 13504 after MTF & 1-2 coding, 79+2 syms in use
- pass 1: size is 17143, grp uses are 38 62 2 92 6 71
- pass 2: size is 6506, grp uses are 28 71 0 86 9 77
- pass 3: size is 6479, grp uses are 26 70 0 81 11 83
- pass 4: size is 6469, grp uses are 26 69 0 74 17 85
- bytes: mapping 19, selectors 66, code lengths 134, codes 6465
- final combined CRC = 0xA212ABF8
- 6710 after compression
-bit 0 -5 DATA_ERROR_MAGIC
-bit 1 -5 DATA_ERROR_MAGIC
-bit 2 -5 DATA_ERROR_MAGIC
-bit 3 -5 DATA_ERROR_MAGIC
-bit 4 -5 DATA_ERROR_MAGIC
-bit 5 -5 DATA_ERROR_MAGIC
-bit 6 -5 DATA_ERROR_MAGIC
-bit 7 -5 DATA_ERROR_MAGIC
-bit 8 -5 DATA_ERROR_MAGIC
-bit 9 -5 DATA_ERROR_MAGIC
-bit 10 -5 DATA_ERROR_MAGIC
-bit 11 -5 DATA_ERROR_MAGIC
-bit 12 -5 DATA_ERROR_MAGIC
-bit 13 -5 DATA_ERROR_MAGIC
-bit 14 -5 DATA_ERROR_MAGIC
-bit 15 -5 DATA_ERROR_MAGIC
-bit 16 -5 DATA_ERROR_MAGIC
-bit 17 -5 DATA_ERROR_MAGIC
-bit 18 -5 DATA_ERROR_MAGIC
-bit 19 -5 DATA_ERROR_MAGIC
-bit 20 -5 DATA_ERROR_MAGIC
-bit 21 -5 DATA_ERROR_MAGIC
-bit 22 -5 DATA_ERROR_MAGIC
-bit 23 -5 DATA_ERROR_MAGIC
-bit 24 0 OK really ok!
-bit 25 -5 DATA_ERROR_MAGIC
-bit 26 -5 DATA_ERROR_MAGIC
-bit 27 0 OK really ok!
-bit 28 -5 DATA_ERROR_MAGIC
-bit 29 -5 DATA_ERROR_MAGIC
-bit 30 -5 DATA_ERROR_MAGIC
-bit 31 -5 DATA_ERROR_MAGIC
-bit 32 -4 DATA_ERROR
-bit 33 -4 DATA_ERROR
-bit 34 -4 DATA_ERROR
-bit 35 -4 DATA_ERROR
-bit 2412 -4 DATA_ERROR
-bit 4789 -4 DATA_ERROR
-bit 7166 -4 DATA_ERROR
-bit 9543 -4 DATA_ERROR
-bit 11920 -4 DATA_ERROR
-bit 14297 -4 DATA_ERROR
-bit 16674 -4 DATA_ERROR
-bit 19051 -4 DATA_ERROR
-bit 21428 -4 DATA_ERROR
-bit 23805 -4 DATA_ERROR
-bit 26182 -4 DATA_ERROR
-bit 28559 -4 DATA_ERROR
-bit 30936 -4 DATA_ERROR
-bit 33313 -4 DATA_ERROR
-bit 35690 -4 DATA_ERROR
-bit 38067 -4 DATA_ERROR
-bit 40444 -4 DATA_ERROR
-bit 42821 -4 DATA_ERROR
-bit 45198 -4 DATA_ERROR
-bit 47575 -4 DATA_ERROR
-bit 49952 -4 DATA_ERROR
-bit 52329 -4 DATA_ERROR
-all ok
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stderr.diff
=================================================
--- hsg.stderr.exp 2017-05-04 00:23:12.552180680 -0700
+++ hsg.stderr.out 2017-05-04 00:44:55.882180680 -0700
@@ -1,116 +1 @@
-<?xml version="1.0"?>
-
-<valgrindoutput>
-
-<protocolversion>4</protocolversion>
-<protocoltool>exp-sgcheck</protocoltool>
-
-<preamble>
- <line>...</line>
- <line>...</line>
- <line>...</line>
- <line>...</line>
- <line>...</line>
-</preamble>
-
-<pid>...</pid>
-<ppid>...</ppid>
-<tool>exp-sgcheck</tool>
-
-<args>
- <vargv>...</vargv>
- <argv>
- <exe>./hsg</exe>
- </argv>
-</args>
-
-<status>
- <state>RUNNING</state>
- <time>...</time>
-</status>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>SorG</kind>
- <what>Invalid read of size 2</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>addup_wrongly</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: global array "ga" of size 200 in object with soname "NONE"</auxwhat>
- <auxwhat>Actual: unknown</auxwhat>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>SorG</kind>
- <what>Invalid read of size 2</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>addup_wrongly</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_other_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: stack array "la" of size 200 in frame 1 back from here</auxwhat>
- <auxwhat>Actual: unknown</auxwhat>
-</error>
-
-
-<status>
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stdout.diff
=================================================
--- hsg.stdout.exp 2017-05-04 00:23:12.542180680 -0700
+++ hsg.stdout.out 2017-05-04 00:44:55.862180680 -0700
@@ -1 +0,0 @@
-boringly as expected
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-04 00:23:12.542180680 -0700
+++ preen_invars.stderr.out 2017-05-04 00:44:55.912180680 -0700
@@ -1,9 +1 @@
-
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stdout.diff
=================================================
--- preen_invars.stdout.exp 2017-05-04 00:23:12.542180680 -0700
+++ preen_invars.stdout.out 2017-05-04 00:44:55.892180680 -0700
@@ -1 +0,0 @@
-foo bar 1
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-04 00:23:12.542180680 -0700
+++ stackerr.stderr.out 2017-05-04 00:44:55.942180680 -0700
@@ -1,28 +1 @@
-
-Invalid write of size 4
- at 0x........: foo (stackerr.c:27)
- by 0x........: bar (stackerr.c:32)
- by 0x........: main (stackerr.c:41)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
- Actual: is 0 after Expected
-
-Invalid write of size 4
- at 0x........: main (stackerr.c:44)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
- Actual: is 0 after Expected
-
-Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-04 00:23:12.552180680 -0700
+++ stackerr.stderr.out 2017-05-04 00:44:55.942180680 -0700
@@ -1,28 +1 @@
-
-Invalid write of size 8
- at 0x........: foo (stackerr.c:27)
- by 0x........: bar (stackerr.c:32)
- by 0x........: main (stackerr.c:41)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 56 in frame 2 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid write of size 8
- at 0x........: main (stackerr.c:44)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 56 in this frame
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-04 00:23:10.082180680 -0700
+++ hginfo.stderrB.out 2017-05-04 00:28:11.652180680 -0700
@@ -12,6 +12,10 @@
...
Block was alloc'd by thread #x
Lock ga 0x........ {
+ Address 0x........ is 2440 bytes inside data symbol "_rtld_local"
+ kind mbRec
+}
+Lock ga 0x........ {
Address 0x........ is 0 bytes inside data symbol "mx"
kind mbRec
{ W1:thread #x tid #x }
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-04 00:23:09.992180680 -0700
+++ hgtls.stdoutB.out 2017-05-04 00:28:15.022180680 -0700
@@ -8,38 +8,8 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Program exited normally.
+A debugging session is active.
+ Inferior 1 [Remote target] will be detached.
+Quit anyway? (y or n) [answered Y; input not from terminal]
+Detaching from program: /home/mark/valgrind-nightly/valgrind-new/none/tests/tls, Remote target
+Ending remote debugging.
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2017-05-04 00:23:10.082180680 -0700
+++ mcinfcallWSRU.stderrB.out 2017-05-04 00:28:26.122180680 -0700
@@ -22,7 +22,10 @@
41 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+16>)
+54 ../ports/sysdeps/unix/sysv/linux/generic/select.c: No such file or directory.
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -31,7 +34,10 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+32>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -40,7 +46,10 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+48>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff
=================================================
--- nlvgdbsigqueue.stdoutB.exp 2017-05-04 00:23:10.022180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-04 00:29:01.252180680 -0700
@@ -1,16 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris1
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris1 2017-05-04 00:23:10.012180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-04 00:29:01.252180680 -0700
@@ -1,16 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris2
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris2 2017-05-04 00:23:10.022180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-04 00:29:01.252180680 -0700
@@ -1,17 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
-[New Thread ....]
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-04 00:23:14.032180680 -0700
+++ hg05_race2.stderr.out 2017-05-04 00:36:13.582180680 -0700
@@ -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 2017-05-04 00:23:14.092180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:37:07.722180680 -0700
@@ -39,7 +39,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/helgrind/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2017-05-04 00:23:14.002180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-04 00:37:07.722180680 -0700
@@ -39,7 +39,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)
----------------------------------------------------------------
@@ -53,7 +52,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
@@ -131,7 +130,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-04 00:23:13.992180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-04 00:37:32.522180680 -0700
@@ -169,8 +169,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
- declared at tc20_verifywrap.c:57, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-04 00:23:14.092180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-04 00:37:32.522180680 -0700
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +201,14 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -224,6 +241,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:284)
@@ -238,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-04 00:23:13.992180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-04 00:37:32.522180680 -0700
@@ -169,8 +169,8 @@
at 0x........: pthread_rwlock_...
[truncated message content] |
|
From: Philippe W. <phi...@sk...> - 2017-05-04 04:32:17
|
valgrind revision: 16330 VEX revision: 3359 C compiler: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) GDB: GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7 Assembler: GNU assembler version 2.25.1-22.base.el7 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.10.0-514.10.2.el7.ppc64le ppc64le Vendor version: CentOS Linux 7 (AltArch) Nightly build on gcc112 ( \S, ppc64le ) Started at 2017-05-04 03:00:05 UTC Ended at 2017-05-04 04:32:06 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 == 619 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo unit_bitmap: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_bitmap -s 93 -t 97 -q unit_vc: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_vc -- Finished tests in drd/tests ----------------------------------------- -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- == 619 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 616 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo unit_bitmap: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_bitmap -s 93 -t 97 -q unit_vc: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_vc -- Finished tests in drd/tests ----------------------------------------- -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- == 616 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2017-05-04 03:17:36.296198801 +0000 --- new.short 2017-05-04 03:35:21.781029727 +0000 *************** *** 8,10 **** ! == 616 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) --- 8,10 ---- ! == 619 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) *************** *** 27,29 **** ! == 616 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) --- 27,29 ---- ! == 619 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) --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.30s no: 2.5s ( 8.3x, -----) me: 4.8s (16.2x, -----) ca:19.8s (65.8x, -----) he: 3.0s ( 9.8x, -----) ca: 7.6s (25.3x, -----) dr: 2.9s ( 9.5x, -----) ma: 3.8s (12.6x, -----) bigcode1 valgrind-old:0.30s no: 2.2s ( 7.5x, 9.3%) me: 4.8s (16.1x, 0.4%) ca:19.0s (63.3x, 3.8%) he: 3.0s ( 9.9x, -1.0%) ca: 7.5s (24.9x, 1.7%) dr: 2.5s ( 8.2x, 14.0%) ma: 3.9s (13.0x, -2.9%) -- bigcode2 -- bigcode2 valgrind-new:0.23s no: 4.9s (21.3x, -----) me:11.2s (48.7x, -----) ca:33.8s (146.8x, -----) he: 6.4s (27.9x, -----) ca:11.0s (47.7x, -----) dr: 6.0s (25.9x, -----) ma: 6.7s (29.2x, -----) bigcode2 valgrind-old:0.23s no: 5.1s (22.3x, -4.5%) me:10.8s (47.2x, 3.2%) ca:32.5s (141.4x, 3.7%) he: 6.4s (28.0x, -0.3%) ca:10.8s (47.1x, 1.4%) dr: 5.8s (25.2x, 2.7%) ma: 6.4s (27.7x, 5.2%) -- bz2 -- bz2 valgrind-new:0.66s no: 3.8s ( 5.8x, -----) me:10.5s (15.8x, -----) ca:24.6s (37.3x, -----) he:13.4s (20.3x, -----) ca:21.2s (32.1x, -----) dr:15.7s (23.8x, -----) ma: 4.3s ( 6.6x, -----) bz2 valgrind-old:0.66s no: 3.9s ( 5.9x, -1.0%) me:10.9s (16.6x, -4.6%) ca:24.7s (37.5x, -0.4%) he:13.4s (20.3x, 0.1%) ca:21.3s (32.3x, -0.7%) dr:15.6s (23.6x, 1.0%) ma: 4.3s ( 6.5x, 1.6%) -- fbench -- fbench valgrind-new:0.29s no: 1.9s ( 6.4x, -----) me: 5.3s (18.3x, -----) ca: 7.7s (26.7x, -----) he: 4.4s (15.3x, -----) ca: 6.7s (23.0x, -----) dr: 4.3s (14.9x, -----) ma: 2.4s ( 8.1x, -----) fbench valgrind-old:0.29s no: 1.9s ( 6.5x, -1.6%) me: 4.9s (17.0x, 7.0%) ca: 8.0s (27.7x, -3.7%) he: 4.5s (15.4x, -1.1%) ca: 6.8s (23.5x, -2.1%) dr: 4.3s (14.8x, 0.5%) ma: 2.1s ( 7.1x, 11.9%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.7s ( 3.1x, -----) me: 2.1s ( 9.3x, -----) ca: 2.6s (11.2x, -----) he: 6.2s (27.0x, -----) ca: 6.3s (27.6x, -----) dr: 4.2s (18.0x, -----) ma: 0.6s ( 2.7x, -----) ffbench valgrind-old:0.23s no: 0.8s ( 3.6x,-15.5%) me: 2.2s ( 9.5x, -1.4%) ca: 2.1s ( 9.3x, 17.1%) he: 6.5s (28.3x, -5.0%) ca: 6.4s (27.7x, -0.5%) dr: 4.5s (19.5x, -8.2%) ma: 0.6s ( 2.8x, -1.6%) -- heap -- heap valgrind-new:0.29s no: 2.0s ( 6.9x, -----) me: 7.8s (26.9x, -----) ca:11.7s (40.2x, -----) he: 9.8s (33.9x, -----) ca:10.0s (34.6x, -----) dr: 6.1s (20.9x, -----) ma: 3.6s (12.6x, -----) heap valgrind-old:0.29s no: 1.9s ( 6.5x, 5.0%) me: 7.8s (26.7x, 0.8%) ca:11.3s (39.1x, 2.9%) he:10.4s (35.9x, -5.8%) ca:10.1s (34.7x, -0.3%) dr: 5.9s (20.4x, 2.3%) ma: 3.6s (12.3x, 2.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.27s no: 2.0s ( 7.3x, -----) me:12.1s (44.7x, -----) ca:12.5s (46.4x, -----) he:11.8s (43.7x, -----) ca:11.0s (40.9x, -----) dr: 6.7s (24.7x, -----) ma: 3.7s (13.9x, -----) heap_pdb4 valgrind-old:0.27s no: 1.9s ( 6.9x, 6.1%) me:11.8s (43.6x, 2.4%) ca:12.1s (44.8x, 3.4%) he:12.0s (44.4x, -1.6%) ca:11.1s (41.3x, -1.0%) dr: 6.8s (25.3x, -2.2%) ma: 3.8s (14.1x, -1.6%) -- many-loss-records -- many-loss-records valgrind-new:0.03s no: 0.4s (12.7x, -----) me: 2.0s (66.3x, -----) ca: 1.9s (62.7x, -----) he: 1.5s (49.7x, -----) ca: 1.9s (62.0x, -----) dr: 1.5s (51.3x, -----) ma: 0.8s (27.7x, -----) many-loss-records valgrind-old:0.03s no: 0.3s (10.7x, 15.8%) me: 1.9s (63.0x, 5.0%) ca: 1.9s (62.3x, 0.5%) he: 1.5s (49.3x, 0.7%) ca: 1.6s (53.3x, 14.0%) dr: 1.2s (39.3x, 23.4%) ma: 1.1s (35.0x,-26.5%) -- many-xpts -- many-xpts valgrind-new:0.05s no: 0.7s (13.0x, -----) me: 2.8s (56.2x, -----) ca: 4.1s (82.2x, -----) he: 3.4s (67.2x, -----) ca: 2.7s (54.2x, -----) dr: 2.2s (43.6x, -----) ma: 1.8s (36.0x, -----) many-xpts valgrind-old:0.05s no: 0.5s (10.8x, 16.9%) me: 2.7s (54.8x, 2.5%) ca: 3.9s (77.2x, 6.1%) he: 3.4s (67.6x, -0.6%) ca: 2.6s (52.4x, 3.3%) dr: 2.1s (41.8x, 4.1%) ma: 1.9s (37.4x, -3.9%) -- memrw -- memrw valgrind-new:0.10s no: 1.1s (11.2x, -----) me: 2.7s (26.6x, -----) ca: 4.6s (46.2x, -----) he: 6.9s (69.4x, -----) ca: 3.5s (35.3x, -----) dr: 2.0s (20.1x, -----) ma: 1.3s (12.8x, -----) memrw valgrind-old:0.10s no: 1.0s (10.3x, 8.0%) me: 2.5s (25.5x, 4.1%) ca: 4.4s (44.3x, 4.1%) he: 7.0s (69.9x, -0.7%) ca: 3.9s (38.7x, -9.6%) dr: 2.4s (23.5x,-16.9%) ma: 1.4s (13.7x, -7.0%) -- sarp -- sarp valgrind-new:0.04s no: 0.4s (10.2x, -----) me: 3.9s (97.2x, -----) ca: 2.9s (71.8x, -----) he:15.2s (380.8x, -----) ca: 1.8s (45.2x, -----) dr: 1.0s (24.2x, -----) ma: 0.3s ( 7.2x, -----) sarp valgrind-old:0.04s no: 0.2s ( 5.8x, 43.9%) me: 3.3s (83.0x, 14.7%) ca: 2.4s (61.0x, 15.0%) he:10.0s (249.8x, 34.4%) ca: 2.0s (49.2x, -8.8%) dr: 1.3s (33.0x,-36.1%) ma: 0.5s (13.0x,-79.3%) -- tinycc -- tinycc valgrind-new:0.25s no: 2.9s (11.4x, -----) me:13.6s (54.3x, -----) ca:17.6s (70.4x, -----) he:14.8s (59.2x, -----) ca:14.6s (58.4x, -----) dr:10.5s (41.9x, -----) ma: 2.6s (10.6x, -----) tinycc valgrind-old:0.25s no: 2.8s (11.3x, 1.1%) me:13.2s (52.8x, 2.7%) ca:14.4s (57.6x, 18.3%) he:15.0s (59.8x, -1.0%) ca:14.5s (58.1x, 0.4%) dr:10.7s (42.8x, -2.0%) ma: 3.1s (12.2x,-15.5%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= real 56m44.714s user 56m27.673s sys 0m16.260s |
|
From: Philippe W. <phi...@sk...> - 2017-05-04 04:25:58
|
valgrind revision: 16330 VEX revision: 3359 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.2-200.fc20.ppc64p7 ppc64 Vendor version: Fedora 20 (Heisenbug) Nightly build on gcc110 ( Fedora release 20 (Heisenbug), ppc64 ) Started at 2017-05-04 03:00:06 UTC Ended at 2017-05-04 04:25:44 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 == 646 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- -- Running tests in exp-bbv/tests/ppc32-linux ------------------------- ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million -- Finished tests in exp-bbv/tests/ppc32-linux ------------------------- == 646 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 640 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- -- Running tests in exp-bbv/tests/ppc32-linux ------------------------- ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million -- Finished tests in exp-bbv/tests/ppc32-linux ------------------------- == 640 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2017-05-04 03:15:31.598344294 +0000 --- new.short 2017-05-04 03:30:39.109841849 +0000 *************** *** 8,10 **** ! == 640 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) --- 8,10 ---- ! == 646 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) *************** *** 27,29 **** ! == 640 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) --- 27,29 ---- ! == 646 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (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: 1.4s ( 6.3x, -----) me: 2.8s (12.2x, -----) ca:19.5s (84.8x, -----) he: 1.7s ( 7.5x, -----) ca: 5.0s (21.9x, -----) dr: 1.6s ( 7.1x, -----) ma: 2.0s ( 8.8x, -----) bigcode1 valgrind-old:0.23s no: 1.4s ( 6.2x, 2.1%) me: 2.8s (12.1x, 0.7%) ca:18.4s (80.0x, 5.7%) he: 1.7s ( 7.3x, 3.5%) ca: 5.7s (24.9x,-13.7%) dr: 1.6s ( 7.1x, 0.0%) ma: 2.1s ( 9.0x, -3.0%) -- bigcode2 -- bigcode2 valgrind-new:0.24s no: 1.5s ( 6.3x, -----) me: 3.0s (12.4x, -----) ca:17.9s (74.5x, -----) he: 1.9s ( 8.1x, -----) ca: 5.1s (21.3x, -----) dr: 1.7s ( 7.1x, -----) ma: 2.1s ( 8.6x, -----) bigcode2 valgrind-old:0.24s no: 1.5s ( 6.1x, 3.3%) me: 3.0s (12.4x, -0.0%) ca:18.5s (77.0x, -3.4%) he: 2.0s ( 8.5x, -4.1%) ca: 5.3s (22.1x, -3.5%) dr: 1.7s ( 7.1x, 0.0%) ma: 2.0s ( 8.5x, 1.0%) -- bz2 -- bz2 valgrind-new:0.70s no: 4.3s ( 6.2x, -----) me:11.5s (16.5x, -----) ca:26.1s (37.3x, -----) he:14.8s (21.2x, -----) ca:22.8s (32.5x, -----) dr:18.6s (26.5x, -----) ma: 4.5s ( 6.4x, -----) bz2 valgrind-old:0.70s no: 4.4s ( 6.2x, -0.2%) me:11.5s (16.5x, 0.1%) ca:26.2s (37.4x, -0.2%) he:15.6s (22.3x, -4.9%) ca:23.2s (33.1x, -1.8%) dr:18.3s (26.2x, 1.3%) ma: 4.5s ( 6.4x, 0.7%) -- fbench -- fbench valgrind-new:0.36s no: 2.2s ( 6.1x, -----) me: 5.2s (14.5x, -----) ca: 8.6s (23.9x, -----) he: 7.7s (21.3x, -----) ca: 7.8s (21.8x, -----) dr: 5.0s (14.0x, -----) ma: 2.2s ( 6.1x, -----) fbench valgrind-old:0.36s no: 2.2s ( 6.0x, 0.5%) me: 5.3s (14.9x, -2.3%) ca: 8.9s (24.8x, -3.5%) he: 5.3s (14.7x, 30.8%) ca: 8.1s (22.4x, -2.5%) dr: 5.0s (14.0x, 0.0%) ma: 2.2s ( 6.2x, -1.8%) -- ffbench -- ffbench valgrind-new:0.42s no: 1.1s ( 2.5x, -----) me: 2.3s ( 5.5x, -----) ca: 2.9s ( 6.9x, -----) he: 6.8s (16.3x, -----) ca: 6.7s (16.0x, -----) dr: 5.1s (12.2x, -----) ma: 0.9s ( 2.3x, -----) ffbench valgrind-old:0.42s no: 1.1s ( 2.6x, -4.7%) me: 2.3s ( 5.5x, 0.0%) ca: 2.4s ( 5.8x, 16.6%) he: 6.8s (16.2x, 0.7%) ca: 6.8s (16.3x, -2.2%) dr: 5.2s (12.3x, -0.8%) ma: 0.9s ( 2.2x, 1.1%) -- heap -- heap valgrind-new:0.40s no: 2.1s ( 5.3x, -----) me: 7.5s (18.8x, -----) ca:13.2s (33.0x, -----) he:11.1s (27.7x, -----) ca:11.5s (28.7x, -----) dr: 6.9s (17.1x, -----) ma: 4.0s (10.1x, -----) heap valgrind-old:0.40s no: 2.1s ( 5.3x, 0.0%) me: 7.8s (19.4x, -2.9%) ca:13.9s (34.8x, -5.3%) he:11.9s (29.8x, -7.7%) ca:11.8s (29.4x, -2.4%) dr: 6.8s (17.1x, 0.4%) ma: 4.1s (10.2x, -0.7%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.42s no: 2.2s ( 5.4x, -----) me:11.7s (27.9x, -----) ca:14.1s (33.5x, -----) he:12.4s (29.6x, -----) ca:12.8s (30.5x, -----) dr: 7.7s (18.3x, -----) ma: 4.1s ( 9.7x, -----) heap_pdb4 valgrind-old:0.42s no: 2.2s ( 5.3x, 1.3%) me:11.7s (27.8x, 0.3%) ca:14.1s (33.6x, -0.4%) he:12.8s (30.6x, -3.3%) ca:12.4s (29.5x, 3.4%) dr: 7.6s (18.0x, 1.6%) ma: 4.3s (10.1x, -4.7%) -- many-loss-records -- many-loss-records valgrind-new:0.04s no: 0.4s ( 9.8x, -----) me: 1.8s (45.5x, -----) ca: 1.7s (43.2x, -----) he: 1.6s (40.5x, -----) ca: 1.7s (41.8x, -----) dr: 1.3s (32.2x, -----) ma: 0.8s (19.0x, -----) many-loss-records valgrind-old:0.04s no: 0.4s ( 9.5x, 2.6%) me: 1.8s (46.0x, -1.1%) ca: 1.8s (44.0x, -1.7%) he: 1.6s (40.8x, -0.6%) ca: 1.7s (42.0x, -0.6%) dr: 1.3s (33.5x, -3.9%) ma: 0.8s (19.2x, -1.3%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.6s ( 8.4x, -----) me: 2.9s (41.4x, -----) ca: 4.3s (62.1x, -----) he: 4.1s (58.4x, -----) ca: 2.7s (38.0x, -----) dr: 2.0s (28.0x, -----) ma: 2.2s (31.0x, -----) many-xpts valgrind-old:0.07s no: 0.6s ( 8.4x, 0.0%) me: 2.9s (41.6x, -0.3%) ca: 5.6s (80.3x,-29.2%) he: 5.3s (75.9x,-29.8%) ca: 2.7s (39.1x, -3.0%) dr: 2.0s (28.9x, -3.1%) ma: 2.2s (31.0x, 0.0%) -- memrw -- memrw valgrind-new:0.06s no: 0.9s (15.3x, -----) me: 1.9s (32.0x, -----) ca: 4.6s (77.0x, -----) he: 7.1s (117.7x, -----) ca: 3.5s (59.2x, -----) dr: 2.0s (33.3x, -----) ma: 1.0s (16.7x, -----) memrw valgrind-old:0.06s no: 0.9s (15.0x, 2.2%) me: 1.9s (31.5x, 1.6%) ca: 4.6s (76.7x, 0.4%) he: 7.5s (124.3x, -5.7%) ca: 3.2s (54.2x, 8.5%) dr: 1.9s (31.8x, 4.5%) ma: 1.0s (17.0x, -2.0%) -- sarp -- sarp valgrind-new:0.03s no: 0.3s ( 9.7x, -----) me: 3.6s (120.7x, -----) ca: 3.0s (100.0x, -----) he:10.4s (346.3x, -----) ca: 1.6s (54.0x, -----) dr: 1.2s (39.7x, -----) ma: 0.3s (10.7x, -----) sarp valgrind-old:0.03s no: 0.3s (10.0x, -3.4%) me: 3.3s (109.3x, 9.4%) ca: 2.8s (92.3x, 7.7%) he: 9.9s (330.3x, 4.6%) ca: 1.6s (53.7x, 0.6%) dr: 1.2s (38.7x, 2.5%) ma: 0.3s (11.0x, -3.1%) -- tinycc -- tinycc valgrind-new:0.28s no: 2.8s (10.1x, -----) me:13.3s (47.4x, -----) ca:16.7s (59.6x, -----) he:18.1s (64.5x, -----) ca:15.5s (55.2x, -----) dr:11.6s (41.4x, -----) ma: 3.2s (11.5x, -----) tinycc valgrind-old:0.28s no: 2.8s ( 9.8x, 3.2%) me:13.2s (47.3x, 0.2%) ca:17.5s (62.5x, -4.8%) he:18.1s (64.6x, -0.2%) ca:15.0s (53.7x, 2.8%) dr:11.5s (40.9x, 1.2%) ma: 3.2s (11.3x, 1.2%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= real 55m5.604s user 54m10.267s sys 0m23.836s |
|
From: Rich C. <rc...@wi...> - 2017-05-04 02:57:39
|
valgrind revision: 16330
VEX revision: 3359
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.7-29-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.7-29-desktop x86_64 )
Started at 2017-05-03 21:30:01 CDT
Ended at 2017-05-03 21:57:28 CDT
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
== 663 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
Last 20 lines of verbose log follow echo
preen_invars: valgrind ./preen_invars
stackerr: valgrind --num-callers=3 ./stackerr
-- Finished tests in exp-sgcheck/tests ---------------------------------
-- Running tests in exp-bbv/tests/amd64-linux -------------------------
clone_test: valgrind --interval-size=100000 --bb-out-file=clone_test.out.bb --pc-out-file=clone_test.out.pc ./clone_test
complex_rep: valgrind --interval-size=100000 --bb-out-file=complex_rep.out.bb ./complex_rep
fldcw_check: valgrind --interval-size=10000 --bb-out-file=fldcw_check.out.bb ./fldcw_check
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 663 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1323: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-03 21:43:58.183908388 -0500
+++ hgtls.stdoutB.out 2017-05-03 21:47:07.342686618 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-03 21:44:04.524733375 -0500
+++ hg05_race2.stderr.out 2017-05-03 21:52:56.365027183 -0500
@@ -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/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-03 21:30:16.424587633 -0500
+++ hgtls.stdoutB.out 2017-05-03 21:33:26.648338150 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-03 21:30:20.304480564 -0500
+++ hg05_race2.stderr.out 2017-05-03 21:39:19.265606564 -0500
@@ -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)
|
|
From: <ma...@bu...> - 2017-05-04 02:34:24
|
valgrind revision: 16330
VEX revision: 3359
C compiler: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
GDB: GNU gdb (GDB) Fedora 7.12.1-47.fc25
Assembler: GNU assembler version 2.26.1-1.fc25
C library: GNU C Library (GNU libc) stable release version 2.24
uname -mrs: Linux 4.10.5-200.fc25.s390x s390x
Vendor version: Fedora 25 (Twenty Five)
Nightly build on lfedora1 ( Fedora release 25 (Twenty Five), s390x )
Started at 2017-05-04 00:00:01 UTC
Ended at 2017-05-04 00:23:35 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
== 716 tests, 7 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-04 00:12:13.470942062 +0000
+++ bar_bad.stderr.out 2017-05-04 00:21:05.870942062 +0000
@@ -32,7 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
+Not a barrier
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+
-ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-nohang
=================================================
--- bar_bad.stderr.exp-nohang 2017-05-04 00:12:13.440942062 +0000
+++ bar_bad.stderr.out 2017-05-04 00:21:05.870942062 +0000
@@ -32,6 +32,64 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
@@ -39,4 +97,4 @@
by 0x........: main (bar_bad.c:?)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-solaris
=================================================
--- bar_bad.stderr.exp-solaris 2017-05-04 00:12:13.470942062 +0000
+++ bar_bad.stderr.out 2017-05-04 00:21:05.870942062 +0000
@@ -32,18 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2017-05-04 00:12:13.470942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-04 00:21:17.240942062 +0000
@@ -202,8 +202,195 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2017-05-04 00:12:13.450942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-04 00:21:17.240942062 +0000
@@ -202,6 +202,168 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2017-05-04 00:12:13.480942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-04 00:21:17.240942062 +0000
@@ -202,18 +202,16 @@
</first_observed_at>
</error>
-
-destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -227,39 +225,157 @@
<line>...</line>
</frame>
</stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>free</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
- <file>vg_replace_malloc.c</file>
+ <file>drd_pthread_intercepts.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
<truncated beyond 100 lines>
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-04 00:11:54.290942062 +0000
+++ hgtls.stdoutB.out 2017-05-04 00:14:01.930942062 +0000
@@ -8,28 +8,28 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-05-04 00:12:00.330942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-04 00:19:57.560942062 +0000
@@ -13,7 +13,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-05-04 00:12:00.330942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-04 00:19:57.560942062 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-05-04 00:12:00.340942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-04 00:19:57.560942062 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-04 00:12:00.330942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-04 00:12:00.340942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +219,23 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-04 00:12:00.330942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2017-05-04 00:12:00.330942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2017-05-04 00:12:00.330942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2017-05-04 00:12:00.340942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
@@ -167,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +221,21 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2017-05-04 00:12:00.330942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-04 00:20:07.090942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -89,7 +97,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -142,7 +150,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -158,22 +166,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2017-05-04 00:12:00.330942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-04 00:20:11.340942062 +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:...)
@@ -27,10 +44,6 @@
Process terminating with default action of signal 6 (SIGABRT)
...
by 0x........: main (tc22_exit_w_lock.c:48)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -38,4 +51,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 2017-05-04 00:12:00.330942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-04 00:20:11.340942062 +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,15 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: main (tc22_exit_w_lock.c:48)
----------------------------------------------------------------
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-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-solaris
=================================================
--- tc22_exit_w_lock.stderr.exp-solaris 2017-05-04 00:12:00.330942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-04 00:20:11.340942062 +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)
+
+...
[truncated message content] |
|
From: <iv...@iv...> - 2017-05-04 02:21:21
|
valgrind revision: 16330
VEX revision: 3359
C compiler: gcc (GCC) 4.8.2
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.23.1
C library: Solaris libc
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris 11.3 X86
Nightly build on solaris11.3 ( Solaris 11.3 x86 )
Started at 2017-05-04 00:30:30 UTC
Ended at 2017-05-04 02:17:54 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
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
-- Finished tests in exp-bbv/tests/x86 ---------------------------------
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.09s no: 1.6s (17.9x, -----) me: 3.0s (33.7x, -----) ca:12.9s (143.9x, -----) he: 1.9s (21.7x, -----) ca: 4.0s (44.1x, -----) dr: 1.9s (21.3x, -----) ma: 1.9s (20.6x, -----)
bigcode1 valgrind-old:0.09s no: 1.6s (18.2x, -1.9%) me: 3.0s (33.3x, 1.0%) ca:13.0s (144.3x, -0.3%) he: 2.0s (22.3x, -3.1%) ca: 3.9s (43.7x, 1.0%) dr: 1.9s (21.1x, 1.0%) ma: 1.8s (20.4x, 0.5%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.5s (31.8x, -----) me: 7.2s (65.5x, -----) ca:28.6s (260.5x, -----) he: 4.4s (40.2x, -----) ca: 6.8s (61.5x, -----) dr: 4.1s (37.1x, -----) ma: 4.0s (36.3x, -----)
bigcode2 valgrind-old:0.11s no: 3.5s (31.9x, -0.3%) me: 7.3s (66.0x, -0.7%) ca:28.6s (260.1x, 0.1%) he: 4.5s (41.3x, -2.7%) ca: 6.7s (61.3x, 0.3%) dr: 4.1s (37.5x, -1.0%) ma: 4.0s (36.4x, -0.3%)
-- bz2 --
bz2 valgrind-new:0.64s no: 2.0s ( 3.1x, -----) me: 6.8s (10.6x, -----) ca:11.8s (18.5x, -----) he:10.8s (16.8x, -----) ca:13.7s (21.4x, -----) dr:11.4s (17.8x, -----) ma: 1.9s ( 3.0x, -----)
bz2 valgrind-old:0.64s no: 2.0s ( 3.1x, 0.5%) me: 6.7s (10.5x, 0.3%) ca:11.9s (18.5x, -0.2%) he:10.9s (17.0x, -0.9%) ca:13.7s (21.4x, -0.1%) dr:11.5s (18.0x, -0.8%) ma: 1.9s ( 3.0x, 0.5%)
-- fbench --
fbench valgrind-new:0.26s no: 1.2s ( 4.6x, -----) me: 3.7s (14.4x, -----) ca: 5.6s (21.5x, -----) he: 2.7s (10.4x, -----) ca: 3.9s (14.8x, -----) dr: 2.8s (10.7x, -----) ma: 1.2s ( 4.7x, -----)
fbench valgrind-old:0.26s no: 1.2s ( 4.6x, -0.8%) me: 3.7s (14.3x, 0.3%) ca: 5.7s (21.8x, -1.4%) he: 2.8s (10.8x, -3.3%) ca: 3.8s (14.8x, 0.5%) dr: 2.8s (10.8x, -1.1%) ma: 1.2s ( 4.7x, -0.8%)
-- ffbench --
ffbench valgrind-new:0.27s no: 1.1s ( 4.1x, -----) me: 3.4s (12.7x, -----) ca: 2.1s ( 7.9x, -----) he: 5.6s (20.6x, -----) ca: 4.9s (18.3x, -----) dr: 3.5s (13.1x, -----) ma: 1.1s ( 4.0x, -----)
ffbench valgrind-old:0.27s no: 1.1s ( 4.2x, -0.9%) me: 3.4s (12.6x, 0.9%) ca: 2.2s ( 8.3x, -5.6%) he: 5.8s (21.4x, -4.1%) ca: 5.0s (18.6x, -1.6%) dr: 3.5s (13.0x, 1.1%) ma: 1.1s ( 3.9x, 0.9%)
-- heap --
heap valgrind-new:0.19s no: 1.3s ( 6.7x, -----) me: 5.8s (30.6x, -----) ca:10.7s (56.5x, -----) he: 8.5s (44.8x, -----) ca: 8.1s (42.7x, -----) dr: 5.2s (27.5x, -----) ma: 2.7s (14.1x, -----)
heap valgrind-old:0.19s no: 1.3s ( 6.9x, -3.1%) me: 6.0s (31.3x, -2.2%) ca:10.6s (55.9x, 1.0%) he: 8.6s (45.1x, -0.5%) ca: 8.1s (42.6x, 0.1%) dr: 5.2s (27.2x, 1.3%) ma: 2.7s (14.3x, -1.5%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.19s no: 1.3s ( 6.9x, -----) me: 9.4s (49.5x, -----) ca:11.3s (59.3x, -----) he: 9.5s (50.1x, -----) ca: 8.6s (45.1x, -----) dr: 5.7s (30.1x, -----) ma: 2.7s (14.3x, -----)
heap_pdb4 valgrind-old:0.19s no: 1.4s ( 7.1x, -2.3%) me: 9.5s (50.1x, -1.1%) ca:11.2s (59.2x, 0.2%) he: 9.5s (50.0x, 0.2%) ca: 8.9s (46.7x, -3.6%) dr: 5.8s (30.4x, -0.9%) ma: 2.7s (14.1x, 1.5%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 1.4s (69.0x, -----) ca: 1.4s (68.0x, -----) he: 1.2s (60.5x, -----) ca: 1.1s (56.0x, -----) dr: 1.1s (54.0x, -----) ma: 0.7s (32.5x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (14.0x, 3.4%) me: 1.4s (70.0x, -1.4%) ca: 1.4s (68.0x, -0.0%) he: 1.2s (60.0x, 0.8%) ca: 1.1s (54.5x, 2.7%) dr: 1.1s (54.0x, 0.0%) ma: 0.7s (32.5x, 0.0%)
-- many-xpts --
many-xpts valgrind-new:0.07s no: 0.4s ( 5.6x, -----) me: 1.6s (22.7x, -----) ca: 3.0s (42.3x, -----) he: 2.3s (33.1x, -----) ca: 1.6s (22.4x, -----) dr: 1.5s (21.9x, -----) ma: 1.6s (22.4x, -----)
many-xpts valgrind-old:0.07s no: 0.4s ( 5.4x, 2.6%) me: 1.6s (22.9x, -0.6%) ca: 3.0s (43.4x, -2.7%) he: 2.3s (32.9x, 0.9%) ca: 1.5s (21.9x, 2.5%) dr: 1.4s (20.4x, 6.5%) ma: 1.6s (22.1x, 1.3%)
-- memrw --
memrw valgrind-new:0.06s no: 0.4s ( 7.3x, -----) me: 1.1s (18.3x, -----) ca: 2.5s (42.5x, -----) he: 5.1s (85.0x, -----) ca: 2.5s (41.0x, -----) dr: 1.2s (19.3x, -----) ma: 0.5s ( 8.0x, -----)
memrw valgrind-old:0.06s no: 0.4s ( 7.3x, 0.0%) me: 1.1s (18.0x, 1.8%) ca: 2.6s (43.8x, -3.1%) he: 5.0s (84.0x, 1.2%) ca: 2.4s (39.8x, 2.8%) dr: 1.1s (19.0x, 1.7%) ma: 0.5s ( 7.8x, 2.1%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (13.0x, -----) me: 2.0s (101.0x, -----) ca: 1.8s (88.0x, -----) he: 5.9s (295.0x, -----) ca: 1.1s (53.5x, -----) dr: 0.9s (45.5x, -----) ma: 0.3s (14.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (14.0x, -7.7%) me: 2.1s (107.0x, -5.9%) ca: 1.8s (87.5x, 0.6%) he: 6.0s (301.0x, -2.0%) ca: 1.1s (54.0x, -0.9%) dr: 0.9s (45.5x, 0.0%) ma: 0.3s (13.0x, 7.1%)
-- tinycc --
tinycc valgrind-new:0.18s no: 1.3s ( 7.3x, -----) me:10.0s (55.7x, -----) ca:10.6s (59.1x, -----) he:12.5s (69.4x, -----) ca:11.9s (66.1x, -----) dr:10.7s (59.4x, -----) ma: 1.6s ( 8.8x, -----)
tinycc valgrind-old:0.18s no: 1.3s ( 7.0x, 4.5%) me:10.0s (55.6x, 0.2%) ca:10.7s (59.2x, -0.3%) he:12.6s (69.8x, -0.6%) ca:11.9s (66.4x, -0.5%) dr:10.7s (59.6x, -0.3%) ma: 1.6s ( 9.2x, -4.4%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 40m11.77s
user 38m40.76s
sys 0m51.42s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-04 01:11:19.617876972 +0000
+++ preen_invars.stderr.out 2017-05-04 01:37:13.557323508 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-04 01:11:19.616099211 +0000
+++ stackerr.stderr.out 2017-05-04 01:37:14.600901920 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-04 01:11:19.623650114 +0000
+++ stackerr.stderr.out 2017-05-04 01:37:14.600901920 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-04 01:11:16.147861937 +0000
+++ hginfo.stderrB.out 2017-05-04 01:19:53.591802274 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-04 01:11:21.169283960 +0000
+++ bar_bad.stderr.out 2017-05-04 01:31:29.965930368 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-04 01:11:21.125179137 +0000
+++ bar_bad.stderr.out 2017-05-04 01:31:29.965930368 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-04 01:11:21.184133277 +0000
+++ bar_trivial.stderr.out 2017-05-04 01:31:31.556788832 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-04 01:11:21.150612561 +0000
+++ free_is_write.stderr.out 2017-05-04 01:31:34.584251023 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-04 01:11:21.217552338 +0000
+++ pth_barrier1.stderr.out 2017-05-04 01:31:51.637996837 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-04 01:11:21.108142450 +0000
+++ pth_barrier2.stderr.out 2017-05-04 01:31:52.207847048 +0000
@@ -6,623 +6,33 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-04 01:11:21.176417187 +0000
+++ pth_barrier3.stderr.out 2017-05-04 01:31:52.862241297 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-04 01:11:21.114467111 +0000
+++ tc21_pthonce.stderr.out 2017-05-04 01:32:30.601755827 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-04 01:11:21.251847945 +0000
+++ tls_threads.stderr.out 2017-05-04 01:32:41.349507383 +0000
@@ -1,2 +1,3 @@
+--29944:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-04 01:11:17.776401796 +0000
+++ door_data.stderr.out 2017-05-04 01:23:26.864146549 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-04 01:11:17.828632804 +0000
+++ lsframe2.stderr.out 2017-05-04 01:23:38.055286736 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-04 00:30:43.138753272 +0000
+++ preen_invars.stderr.out 2017-05-04 01:10:43.604427020 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-04 00:30:43.136870848 +0000
+++ stackerr.stderr.out 2017-05-04 01:10:44.640537508 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-04 00:30:43.144293608 +0000
+++ stackerr.stderr.out 2017-05-04 01:10:44.640537508 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-04 00:30:39.955076595 +0000
+++ hginfo.stderrB.out 2017-05-04 00:41:26.637046760 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-04 00:30:45.147809528 +0000
+++ bar_bad.stderr.out 2017-05-04 01:05:01.411624089 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-04 00:30:45.106719138 +0000
+++ bar_bad.stderr.out 2017-05-04 01:05:01.411624089 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-04 00:30:45.160088577 +0000
+++ bar_trivial.stderr.out 2017-05-04 01:05:02.959972694 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-old/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-04 00:30:45.132224591 +0000
+++ free_is_write.stderr.out 2017-05-04 01:05:05.986124289 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-old/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-04 00:30:45.189049526 +0000
+++ pth_barrier1.stderr.out 2017-05-04 01:05:22.997534564 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-old/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-04 00:30:45.087823939 +0000
+++ pth_barrier2.stderr.out 2017-05-04 01:05:23.564738254 +0000
@@ -6,623 +6,33 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-04 00:30:45.153470934 +0000
+++ pth_barrier3.stderr.out 2017-05-04 01:05:24.206754836 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-04 00:30:45.094393779 +0000
+++ tc21_pthonce.stderr.out 2017-05-04 01:06:01.528307208 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-04 00:30:45.221987109 +0000
+++ tls_threads.stderr.out 2017-05-04 01:06:12.337370039 +0000
@@ -1,2 +1,3 @@
+--26202:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-old/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-04 00:30:41.611730004 +0000
+++ door_data.stderr.out 2017-05-04 00:56:47.000202406 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-old/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-04 00:30:41.660105311 +0000
+++ lsframe2.stderr.out 2017-05-04 00:56:58.347161013 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
|
|
From: <iv...@iv...> - 2017-05-04 02:14:21
|
valgrind revision: 16330
VEX revision: 3359
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.12.1
Assembler: GNU assembler (GNU Binutils) 2.27
C library: Solaris libc
uname -mrs: SunOS 5.12 i86pc
Vendor version: Oracle Solaris 12.0 X86
Nightly build on solaris12 ( Solaris 12 x86 )
Started at 2017-05-04 00:30:00 UTC
Ended at 2017-05-04 02:08:51 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
== 784 tests, 15 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 784 tests, 15 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2017-05-04 00:58:56.724073014 +0000
+++ new.short 2017-05-04 01:28:05.698536845 +0000
@@ -8,5 +8,4 @@
-== 784 tests, 15 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures ==
+== 784 tests, 15 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
-gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
@@ -29,3 +28,3 @@
Last 20 lines of verbose log follow echo
-gdbserver_tests/solaris/nlcontrolc (stdoutB)
+gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.6s (16.1x, -----) me: 3.0s (30.3x, -----) ca:13.4s (133.6x, -----) he: 2.0s (19.8x, -----) ca: 3.8s (38.2x, -----) dr: 2.0s (19.6x, -----) ma: 1.9s (18.9x, -----)
bigcode1 valgrind-old:0.10s no: 1.7s (16.6x, -3.1%) me: 3.0s (30.3x, 0.0%) ca:13.5s (135.4x, -1.3%) he: 1.9s (18.9x, 4.5%) ca: 3.8s (37.6x, 1.6%) dr: 2.0s (19.7x, -0.5%) ma: 1.9s (18.7x, 1.1%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.5s (31.5x, -----) me: 7.2s (65.6x, -----) ca:29.3s (266.7x, -----) he: 4.4s (40.2x, -----) ca: 6.5s (59.5x, -----) dr: 4.2s (38.4x, -----) ma: 4.1s (37.5x, -----)
bigcode2 valgrind-old:0.11s no: 3.5s (31.8x, -1.2%) me: 7.1s (64.2x, 2.2%) ca:29.8s (270.7x, -1.5%) he: 4.5s (41.3x, -2.7%) ca: 6.6s (60.0x, -0.9%) dr: 4.1s (37.0x, 3.6%) ma: 4.0s (36.5x, 2.7%)
-- bz2 --
bz2 valgrind-new:0.63s no: 2.0s ( 3.2x, -----) me: 6.8s (10.8x, -----) ca:12.1s (19.1x, -----) he: 9.9s (15.7x, -----) ca:12.2s (19.3x, -----) dr:11.6s (18.5x, -----) ma: 1.9s ( 3.1x, -----)
bz2 valgrind-old:0.63s no: 2.0s ( 3.2x, 1.5%) me: 6.8s (10.7x, 0.1%) ca:12.6s (19.9x, -4.1%) he:10.0s (15.9x, -1.2%) ca:12.2s (19.3x, -0.2%) dr:11.5s (18.3x, 1.1%) ma: 2.0s ( 3.1x, -0.5%)
-- fbench --
fbench valgrind-new:0.25s no: 1.1s ( 4.6x, -----) me: 3.7s (14.9x, -----) ca: 5.7s (22.7x, -----) he: 3.0s (11.8x, -----) ca: 3.6s (14.6x, -----) dr: 2.8s (11.0x, -----) ma: 1.2s ( 4.8x, -----)
fbench valgrind-old:0.25s no: 1.1s ( 4.6x, 0.0%) me: 3.8s (15.1x, -1.3%) ca: 5.7s (22.8x, -0.4%) he: 2.9s (11.7x, 1.0%) ca: 3.6s (14.5x, 0.5%) dr: 2.8s (11.1x, -1.1%) ma: 1.2s ( 4.7x, 0.8%)
-- ffbench --
ffbench valgrind-new:0.27s no: 1.1s ( 4.2x, -----) me: 3.5s (13.0x, -----) ca: 2.1s ( 7.9x, -----) he: 6.2s (23.0x, -----) ca: 4.7s (17.6x, -----) dr: 3.6s (13.3x, -----) ma: 1.1s ( 4.0x, -----)
ffbench valgrind-old:0.27s no: 1.1s ( 4.2x, 0.0%) me: 3.5s (12.9x, 1.4%) ca: 2.1s ( 7.6x, 2.8%) he: 5.9s (22.0x, 4.2%) ca: 4.8s (17.6x, -0.4%) dr: 3.6s (13.4x, -0.6%) ma: 1.1s ( 4.1x, -1.9%)
-- heap --
heap valgrind-new:0.21s no: 1.4s ( 6.5x, -----) me: 5.7s (27.2x, -----) ca:11.1s (52.7x, -----) he: 8.8s (41.8x, -----) ca: 7.6s (36.3x, -----) dr: 5.3s (25.2x, -----) ma: 2.7s (13.0x, -----)
heap valgrind-old:0.21s no: 1.4s ( 6.5x, -0.0%) me: 5.7s (27.2x, -0.2%) ca:11.1s (52.8x, -0.1%) he: 8.8s (42.1x, -0.8%) ca: 7.7s (36.9x, -1.6%) dr: 5.3s (25.3x, -0.6%) ma: 2.8s (13.1x, -0.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.21s no: 1.4s ( 6.8x, -----) me: 9.3s (44.2x, -----) ca:11.6s (55.4x, -----) he: 9.6s (45.9x, -----) ca: 8.0s (38.1x, -----) dr: 5.8s (27.9x, -----) ma: 2.8s (13.4x, -----)
heap_pdb4 valgrind-old:0.21s no: 1.4s ( 6.9x, -1.4%) me: 9.3s (44.5x, -0.5%) ca:11.6s (55.3x, 0.2%) he: 9.8s (46.4x, -1.2%) ca: 8.0s (38.1x, 0.0%) dr: 5.8s (27.7x, 0.7%) ma: 2.9s (13.6x, -1.8%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (15.5x, -----) me: 1.4s (72.5x, -----) ca: 1.4s (71.0x, -----) he: 1.2s (60.5x, -----) ca: 1.1s (56.0x, -----) dr: 1.1s (55.5x, -----) ma: 0.7s (32.5x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (15.5x, 0.0%) me: 1.4s (71.5x, 1.4%) ca: 1.4s (70.5x, 0.7%) he: 1.2s (59.0x, 2.5%) ca: 1.1s (55.0x, 1.8%) dr: 1.1s (55.0x, 0.9%) ma: 0.7s (33.5x, -3.1%)
-- many-xpts --
many-xpts valgrind-new:0.08s no: 0.4s ( 5.1x, -----) me: 1.6s (20.2x, -----) ca: 3.2s (39.9x, -----) he: 2.3s (29.1x, -----) ca: 1.5s (19.1x, -----) dr: 1.6s (20.0x, -----) ma: 1.7s (20.9x, -----)
many-xpts valgrind-old:0.08s no: 0.4s ( 5.2x, -2.4%) me: 1.6s (20.5x, -1.2%) ca: 3.2s (39.9x, 0.0%) he: 2.3s (28.7x, 1.3%) ca: 1.5s (19.2x, -0.7%) dr: 1.6s (19.9x, 0.6%) ma: 1.7s (21.0x, -0.6%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 8.0x, -----) me: 1.2s (19.5x, -----) ca: 2.9s (48.0x, -----) he: 4.9s (81.7x, -----) ca: 2.1s (35.7x, -----) dr: 1.2s (20.8x, -----) ma: 0.5s ( 8.7x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 7.8x, 2.1%) me: 1.1s (19.0x, 2.6%) ca: 3.0s (49.2x, -2.4%) he: 4.9s (81.7x, 0.0%) ca: 2.1s (35.7x, 0.0%) dr: 1.2s (20.5x, 1.6%) ma: 0.5s ( 8.5x, 1.9%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.3s (114.0x, -----) ca: 1.8s (91.0x, -----) he: 5.8s (291.5x, -----) ca: 0.9s (47.5x, -----) dr: 1.0s (50.5x, -----) ma: 0.3s (15.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (14.5x, 0.0%) me: 2.3s (113.0x, 0.9%) ca: 1.8s (92.0x, -1.1%) he: 5.8s (290.5x, 0.3%) ca: 0.9s (45.5x, 4.2%) dr: 1.0s (51.5x, -2.0%) ma: 0.3s (15.0x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.19s no: 1.4s ( 7.3x, -----) me:10.3s (54.1x, -----) ca:11.6s (60.8x, -----) he:13.4s (70.6x, -----) ca:12.3s (64.6x, -----) dr:11.2s (58.7x, -----) ma: 1.7s ( 8.9x, -----)
tinycc valgrind-old:0.19s no: 1.4s ( 7.4x, -1.4%) me:10.4s (54.5x, -0.9%) ca:11.7s (61.5x, -1.0%) he:13.6s (71.3x, -1.0%) ca:12.3s (64.7x, -0.2%) dr:11.2s (59.0x, -0.5%) ma: 1.7s ( 9.1x, -2.4%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 40m45.84s
user 39m1.67s
sys 0m58.17s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-05-04 00:59:10.556742480 +0000
+++ omp_printf.stderr.out 2017-05-04 01:25:03.316256462 +0000
@@ -1,4 +1,45 @@
+Thread 3:
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-04 00:59:02.041056245 +0000
+++ preen_invars.stderr.out 2017-05-04 01:27:25.405694726 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-04 00:59:02.038593649 +0000
+++ stackerr.stderr.out 2017-05-04 01:27:26.454372855 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-04 00:59:02.045750302 +0000
+++ stackerr.stderr.out 2017-05-04 01:27:26.454372855 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-04 00:58:59.012679155 +0000
+++ hginfo.stderrB.out 2017-05-04 01:08:41.402375730 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-04 00:59:03.715270870 +0000
+++ bar_bad.stderr.out 2017-05-04 01:21:18.712992083 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-04 00:59:03.683035615 +0000
+++ bar_bad.stderr.out 2017-05-04 01:21:18.712992083 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-04 00:59:03.703084908 +0000
+++ free_is_write.stderr.out 2017-05-04 01:21:23.661521122 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-04 00:59:03.746228899 +0000
+++ pth_barrier1.stderr.out 2017-05-04 01:21:41.278380451 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-04 00:59:03.668271154 +0000
+++ pth_barrier2.stderr.out 2017-05-04 01:21:41.883101533 +0000
@@ -1,628 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-04 00:59:03.719397460 +0000
+++ pth_barrier3.stderr.out 2017-05-04 01:21:42.584072412 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-04 00:59:03.673060280 +0000
+++ tc21_pthonce.stderr.out 2017-05-04 01:22:21.894172236 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-04 00:59:03.772487628 +0000
+++ tls_threads.stderr.out 2017-05-04 01:22:33.015949869 +0000
@@ -1,2 +1,3 @@
+--29619:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2017-05-04 00:58:59.708603624 +0000
+++ dw4.stderr.out 2017-05-04 01:11:19.017268139 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris
=================================================
--- dw4.stderr.exp-solaris 2017-05-04 00:59:01.331845743 +0000
+++ dw4.stderr.out 2017-05-04 01:11:19.017268139 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2017-05-04 00:59:00.022866765 +0000
+++ leak_cpp_interior.stderr.out 2017-05-04 01:11:52.555552733 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-25) bytes in 4 (-1) blocks
- still reachable: 80 (+25) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2017-05-04 00:58:59.666829438 +0000
+++ leak_cpp_interior.stderr.out 2017-05-04 01:11:52.555552733 +0000
@@ -9,7 +9,7 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 239 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
@@ -24,7 +24,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 143 (+143) bytes in 4 (+4) blocks
- still reachable: 96 (-143) bytes in 4 (-4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -38,7 +38,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 128 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -50,7 +50,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 160 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -62,7 +62,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 111 (-49) bytes in 4 (-1) blocks
- still reachable: 128 (+49) bytes in 4 (+1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -74,7 +74,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 239 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
@@ -88,7 +88,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 239 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
@@ -102,7 +102,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 191 (+191) bytes in 6 (+6) blocks
- still reachable: 48 (-191) bytes in 2 (-6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -133,10 +133,16 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 9 allocs, 9 frees, 247 bytes allocated
+ in use at exit: 72,704 bytes in 1 blocks
+ total heap usage: 10 allocs, 9 frees, 72,951 bytes allocated
-All heap blocks were freed -- no leaks are possible
+LEAK SUMMARY:
+ definitely lost: 0 bytes in 0 blocks
+ indirectly lost: 0 bytes in 0 blocks
+ possibly lost: 0 bytes in 0 blocks
+ still reachable: 72,704 bytes in 1 blocks
+ suppressed: 0 bytes in 0 blocks
+Rerun with --leak-check=full to see details of leaked memory
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit-solaris
=================================================
--- leak_cpp_interior.stderr.exp-64bit-solaris 2017-05-04 00:58:59.230905580 +0000
+++ leak_cpp_interior.stderr.out 2017-05-04 01:11:52.555552733 +0000
@@ -9,9 +9,9 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 273 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 114 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +23,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 177 (+177) bytes in 4 (+4) blocks
- still reachable: 96 (-177) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,8 +37,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 162 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -49,8 +49,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 194 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -61,10 +61,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-83) bytes in 4 (-1) blocks
- still reachable: 162 (+83) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 114 (+114) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +74,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 273 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +88,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 273 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +101,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 225 (+225) bytes in 6 (+6) blocks
- still reachable: 48 (-225) bytes in 2 (-6) blocks
+ possibly lost: 191 (+191) bytes in 6 (+6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-solaris
=================================================
--- leak_cpp_interior.stderr.exp-solaris 2017-05-04 00:59:01.044025435 +0000
+++ leak_cpp_interior.stderr.out 2017-05-04 01:11:52.555552733 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 197 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 90 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 149 (+149) bytes in 4 (+4) blocks
- still reachable: 48 (-149) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-90) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 145 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 142 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-59) bytes in 4 (-1) blocks
- still reachable: 114 (+59) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 90 (+90) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-04 00:59:00.630216353 +0000
+++ door_data.stderr.out 2017-05-04 01:12:49.346329408 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-04 00:59:00.667061313 +0000
+++ lsframe2.stderr.out 2017-05-04 01:13:01.186189596 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+...
[truncated message content] |
|
From: <ma...@bu...> - 2017-05-02 02:34:24
|
valgrind revision: 16328
VEX revision: 3357
C compiler: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
GDB: GNU gdb (GDB) Fedora 7.12.1-47.fc25
Assembler: GNU assembler version 2.26.1-1.fc25
C library: GNU C Library (GNU libc) stable release version 2.24
uname -mrs: Linux 4.10.5-200.fc25.s390x s390x
Vendor version: Fedora 25 (Twenty Five)
Nightly build on lfedora1 ( Fedora release 25 (Twenty Five), s390x )
Started at 2017-05-02 00:00:02 UTC
Ended at 2017-05-02 00:24:01 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
== 716 tests, 7 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-02 00:12:25.540942062 +0000
+++ bar_bad.stderr.out 2017-05-02 00:21:28.840942062 +0000
@@ -32,7 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
+Not a barrier
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+
-ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-nohang
=================================================
--- bar_bad.stderr.exp-nohang 2017-05-02 00:12:25.520942062 +0000
+++ bar_bad.stderr.out 2017-05-02 00:21:28.840942062 +0000
@@ -32,6 +32,64 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
@@ -39,4 +97,4 @@
by 0x........: main (bar_bad.c:?)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-solaris
=================================================
--- bar_bad.stderr.exp-solaris 2017-05-02 00:12:25.540942062 +0000
+++ bar_bad.stderr.out 2017-05-02 00:21:28.840942062 +0000
@@ -32,18 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2017-05-02 00:12:25.550942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-02 00:21:40.240942062 +0000
@@ -202,8 +202,195 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2017-05-02 00:12:25.520942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-02 00:21:40.240942062 +0000
@@ -202,6 +202,168 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2017-05-02 00:12:25.550942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-02 00:21:40.240942062 +0000
@@ -202,18 +202,16 @@
</first_observed_at>
</error>
-
-destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -227,39 +225,157 @@
<line>...</line>
</frame>
</stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>free</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
- <file>vg_replace_malloc.c</file>
+ <file>drd_pthread_intercepts.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
<truncated beyond 100 lines>
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-02 00:12:09.450942062 +0000
+++ hgtls.stdoutB.out 2017-05-02 00:14:18.900942062 +0000
@@ -8,28 +8,28 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-05-02 00:12:18.540942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-02 00:20:19.680942062 +0000
@@ -13,7 +13,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-05-02 00:12:18.540942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-02 00:20:19.680942062 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-05-02 00:12:18.540942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-02 00:20:19.680942062 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-02 00:12:18.530942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-02 00:12:18.550942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +219,23 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-02 00:12:18.530942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2017-05-02 00:12:18.540942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2017-05-02 00:12:18.540942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2017-05-02 00:12:18.550942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
@@ -167,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +221,21 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2017-05-02 00:12:18.540942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-02 00:20:29.990942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -89,7 +97,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -142,7 +150,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -158,22 +166,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2017-05-02 00:12:18.540942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-02 00:20:34.280942062 +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:...)
@@ -27,10 +44,6 @@
Process terminating with default action of signal 6 (SIGABRT)
...
by 0x........: main (tc22_exit_w_lock.c:48)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -38,4 +51,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 2017-05-02 00:12:18.540942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-02 00:20:34.280942062 +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,15 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: main (tc22_exit_w_lock.c:48)
----------------------------------------------------------------
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-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-solaris
=================================================
--- tc22_exit_w_lock.stderr.exp-solaris 2017-05-02 00:12:18.540942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-02 00:20:34.280942062 +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)
+
+...
[truncated message content] |
|
From: <iv...@iv...> - 2017-05-02 02:10:44
|
valgrind revision: 16328
VEX revision: 3357
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.12.1
Assembler: GNU assembler (GNU Binutils) 2.27
C library: Solaris libc
uname -mrs: SunOS 5.12 i86pc
Vendor version: Oracle Solaris 12.0 X86
Nightly build on solaris12 ( Solaris 12 x86 )
Started at 2017-05-02 00:30:00 UTC
Ended at 2017-05-02 02:05:17 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
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1342: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2017-05-02 00:57:50.297311557 +0000
+++ new.short 2017-05-02 01:25:51.862353530 +0000
@@ -8,4 +8,5 @@
-== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
+gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
@@ -17,4 +18,4 @@
helgrind/tests/free_is_write (stderr)
+helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
-helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
@@ -27,4 +28,4 @@
Last 20 lines of verbose log follow echo
-== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
+gdbserver_tests/solaris/nlcontrolc (stdoutB)
memcheck/tests/dw4 (stderr)
@@ -36,4 +37,4 @@
helgrind/tests/free_is_write (stderr)
+helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
-helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.09s no: 1.6s (18.1x, -----) me: 3.0s (32.9x, -----) ca:13.3s (147.4x, -----) he: 2.0s (22.0x, -----) ca: 3.7s (41.6x, -----) dr: 1.9s (21.0x, -----) ma: 1.9s (20.9x, -----)
bigcode1 valgrind-old:0.09s no: 1.6s (18.1x, 0.0%) me: 3.0s (33.0x, -0.3%) ca:13.1s (145.3x, 1.4%) he: 1.9s (21.2x, 3.5%) ca: 3.8s (41.9x, -0.8%) dr: 1.9s (21.4x, -2.1%) ma: 1.9s (20.6x, 1.6%)
-- bigcode2 --
bigcode2 valgrind-new:0.10s no: 3.4s (34.0x, -----) me: 7.0s (70.1x, -----) ca:28.3s (282.9x, -----) he: 4.5s (44.6x, -----) ca: 6.5s (64.6x, -----) dr: 4.1s (41.4x, -----) ma: 3.9s (39.2x, -----)
bigcode2 valgrind-old:0.10s no: 3.4s (34.3x, -0.9%) me: 7.1s (71.0x, -1.3%) ca:27.9s (278.9x, 1.4%) he: 4.4s (43.8x, 1.8%) ca: 6.4s (64.1x, 0.8%) dr: 4.0s (40.4x, 2.4%) ma: 3.9s (39.1x, 0.3%)
-- bz2 --
bz2 valgrind-new:0.63s no: 2.0s ( 3.1x, -----) me: 6.5s (10.4x, -----) ca:11.8s (18.8x, -----) he: 9.5s (15.1x, -----) ca:11.8s (18.7x, -----) dr:11.4s (18.1x, -----) ma: 1.9s ( 3.0x, -----)
bz2 valgrind-old:0.63s no: 1.9s ( 3.1x, 1.5%) me: 6.6s (10.4x, -0.3%) ca:12.3s (19.5x, -3.7%) he: 9.6s (15.2x, -0.4%) ca:12.0s (19.1x, -2.0%) dr:11.3s (18.0x, 0.5%) ma: 1.9s ( 3.0x, -1.6%)
-- fbench --
fbench valgrind-new:0.25s no: 1.1s ( 4.5x, -----) me: 3.6s (14.5x, -----) ca: 5.5s (22.0x, -----) he: 2.9s (11.4x, -----) ca: 3.5s (14.2x, -----) dr: 2.7s (10.9x, -----) ma: 1.1s ( 4.6x, -----)
fbench valgrind-old:0.25s no: 1.1s ( 4.5x, 0.0%) me: 3.7s (14.6x, -1.1%) ca: 5.5s (22.0x, 0.2%) he: 2.9s (11.6x, -1.8%) ca: 3.6s (14.4x, -1.4%) dr: 2.7s (10.9x, -0.0%) ma: 1.2s ( 4.7x, -1.7%)
-- ffbench --
ffbench valgrind-new:0.27s no: 1.1s ( 4.1x, -----) me: 3.4s (12.6x, -----) ca: 2.0s ( 7.6x, -----) he: 5.5s (20.3x, -----) ca: 4.5s (16.7x, -----) dr: 3.4s (12.6x, -----) ma: 1.1s ( 3.9x, -----)
ffbench valgrind-old:0.27s no: 1.1s ( 4.1x, 0.0%) me: 3.4s (12.5x, 0.9%) ca: 2.0s ( 7.4x, 2.0%) he: 5.4s (19.9x, 2.4%) ca: 4.6s (17.2x, -2.7%) dr: 3.5s (12.9x, -2.3%) ma: 1.1s ( 3.9x, 0.0%)
-- heap --
heap valgrind-new:0.20s no: 1.3s ( 6.6x, -----) me: 5.6s (27.8x, -----) ca:10.8s (54.0x, -----) he: 8.6s (43.0x, -----) ca: 7.5s (37.3x, -----) dr: 5.1s (25.5x, -----) ma: 2.7s (13.6x, -----)
heap valgrind-old:0.20s no: 1.4s ( 6.8x, -2.3%) me: 5.7s (28.4x, -2.3%) ca:10.8s (54.1x, -0.2%) he: 8.6s (43.2x, -0.5%) ca: 7.4s (37.0x, 0.8%) dr: 5.2s (25.8x, -1.0%) ma: 2.6s (13.0x, 4.4%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.21s no: 1.4s ( 6.7x, -----) me: 9.2s (43.6x, -----) ca:11.5s (54.6x, -----) he: 9.3s (44.5x, -----) ca: 7.8s (37.3x, -----) dr: 5.8s (27.4x, -----) ma: 2.7s (13.0x, -----)
heap_pdb4 valgrind-old:0.21s no: 1.4s ( 6.6x, 0.7%) me: 9.1s (43.5x, 0.3%) ca:11.4s (54.1x, 0.8%) he: 9.4s (44.8x, -0.6%) ca: 7.7s (36.8x, 1.4%) dr: 5.7s (27.0x, 1.4%) ma: 2.7s (12.8x, 1.5%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (15.5x, -----) me: 1.4s (68.5x, -----) ca: 1.4s (68.0x, -----) he: 1.2s (58.0x, -----) ca: 1.1s (52.5x, -----) dr: 1.1s (53.0x, -----) ma: 0.6s (32.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (15.0x, 3.2%) me: 1.4s (69.0x, -0.7%) ca: 1.4s (69.5x, -2.2%) he: 1.2s (58.0x, 0.0%) ca: 1.1s (54.5x, -3.8%) dr: 1.1s (53.5x, -0.9%) ma: 0.6s (30.5x, 4.7%)
-- many-xpts --
many-xpts valgrind-new:0.07s no: 0.4s ( 5.9x, -----) me: 1.6s (22.1x, -----) ca: 3.1s (44.0x, -----) he: 2.2s (32.1x, -----) ca: 1.5s (21.1x, -----) dr: 1.5s (21.9x, -----) ma: 1.6s (23.1x, -----)
many-xpts valgrind-old:0.07s no: 0.4s ( 5.7x, 2.4%) me: 1.6s (22.1x, 0.0%) ca: 3.1s (44.6x, -1.3%) he: 2.3s (32.4x, -0.9%) ca: 1.5s (21.9x, -3.4%) dr: 1.5s (21.9x, 0.0%) ma: 1.6s (22.9x, 1.2%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 7.8x, -----) me: 1.1s (18.7x, -----) ca: 2.8s (47.3x, -----) he: 4.8s (79.2x, -----) ca: 2.1s (34.8x, -----) dr: 1.2s (20.0x, -----) ma: 0.5s ( 8.3x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 8.2x, -4.3%) me: 1.1s (19.0x, -1.8%) ca: 3.0s (49.8x, -5.3%) he: 4.8s (80.0x, -1.1%) ca: 2.1s (35.2x, -1.0%) dr: 1.2s (20.3x, -1.7%) ma: 0.5s ( 8.3x, 0.0%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.2s (111.0x, -----) ca: 1.8s (92.0x, -----) he: 5.6s (282.0x, -----) ca: 0.9s (46.5x, -----) dr: 1.0s (51.0x, -----) ma: 0.3s (15.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (14.5x, 0.0%) me: 2.2s (109.0x, 1.8%) ca: 1.8s (90.0x, 2.2%) he: 5.7s (285.5x, -1.2%) ca: 0.9s (45.0x, 3.2%) dr: 1.0s (50.5x, 1.0%) ma: 0.3s (14.5x, 3.3%)
-- tinycc --
tinycc valgrind-new:0.19s no: 1.4s ( 7.2x, -----) me: 9.9s (52.1x, -----) ca:11.3s (59.4x, -----) he:13.0s (68.4x, -----) ca:11.9s (62.7x, -----) dr:10.3s (54.2x, -----) ma: 1.5s ( 8.1x, -----)
tinycc valgrind-old:0.19s no: 1.2s ( 6.6x, 8.8%) me: 9.4s (49.4x, 5.1%) ca:10.7s (56.3x, 5.2%) he:12.3s (65.0x, 5.0%) ca:11.3s (59.5x, 5.2%) dr:10.2s (53.7x, 0.9%) ma: 1.5s ( 7.9x, 1.3%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 39m25.25s
user 37m46.87s
sys 0m55.05s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-05-02 00:58:03.575197305 +0000
+++ omp_printf.stderr.out 2017-05-02 01:22:54.058410165 +0000
@@ -1,4 +1,45 @@
+Thread 3:
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-02 00:57:55.496091633 +0000
+++ preen_invars.stderr.out 2017-05-02 01:25:12.909921987 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-02 00:57:55.494795232 +0000
+++ stackerr.stderr.out 2017-05-02 01:25:13.869924018 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-02 00:57:55.500303151 +0000
+++ stackerr.stderr.out 2017-05-02 01:25:13.869924018 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-02 00:57:52.506064560 +0000
+++ hginfo.stderrB.out 2017-05-02 01:07:11.491559452 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/gdbserver_tests/solaris/nlcontrolc.stdoutB.diff
=================================================
--- nlcontrolc.stdoutB.exp 2017-05-02 00:57:52.440492311 +0000
+++ nlcontrolc.stdoutB.out 2017-05-02 01:08:40.739988225 +0000
@@ -5,8 +5,7 @@
Now threads are burning CPU
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in do_burn () at sleepers.c:41
-41 for (i = 0; i < burn; i++) loopnr++;
+0x........ in syscall ...
$1 = 0
$2 = 0
$3 = 0
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-02 00:57:57.161002063 +0000
+++ bar_bad.stderr.out 2017-05-02 01:19:17.873974306 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-02 00:57:57.129533017 +0000
+++ bar_bad.stderr.out 2017-05-02 01:19:17.873974306 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-02 00:57:57.148414128 +0000
+++ free_is_write.stderr.out 2017-05-02 01:19:22.620184271 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-02 00:57:57.192116878 +0000
+++ pth_barrier1.stderr.out 2017-05-02 01:19:39.608999526 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-02 00:57:57.115439788 +0000
+++ pth_barrier2.stderr.out 2017-05-02 01:19:40.180537236 +0000
@@ -1,628 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-02 00:57:57.120100730 +0000
+++ tc21_pthonce.stderr.out 2017-05-02 01:20:18.433419331 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-02 00:57:57.217842555 +0000
+++ tls_threads.stderr.out 2017-05-02 01:20:29.373691869 +0000
@@ -1,2 +1,3 @@
+--23865:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2017-05-02 00:57:53.186570162 +0000
+++ dw4.stderr.out 2017-05-02 01:09:47.790096873 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris
=================================================
--- dw4.stderr.exp-solaris 2017-05-02 00:57:54.795035370 +0000
+++ dw4.stderr.out 2017-05-02 01:09:47.790096873 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2017-05-02 00:57:53.379435783 +0000
+++ leak_cpp_interior.stderr.out 2017-05-02 01:10:20.405112628 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-25) bytes in 4 (-1) blocks
- still reachable: 80 (+25) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2017-05-02 00:57:53.145053604 +0000
+++ leak_cpp_interior.stderr.out 2017-05-02 01:10:20.405112628 +0000
@@ -9,7 +9,7 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 239 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
@@ -24,7 +24,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 143 (+143) bytes in 4 (+4) blocks
- still reachable: 96 (-143) bytes in 4 (-4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -38,7 +38,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 128 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -50,7 +50,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 160 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -62,7 +62,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 111 (-49) bytes in 4 (-1) blocks
- still reachable: 128 (+49) bytes in 4 (+1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -74,7 +74,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 239 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
@@ -88,7 +88,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 239 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
@@ -102,7 +102,7 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 191 (+191) bytes in 6 (+6) blocks
- still reachable: 48 (-191) bytes in 2 (-6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -133,10 +133,16 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 9 allocs, 9 frees, 247 bytes allocated
+ in use at exit: 72,704 bytes in 1 blocks
+ total heap usage: 10 allocs, 9 frees, 72,951 bytes allocated
-All heap blocks were freed -- no leaks are possible
+LEAK SUMMARY:
+ definitely lost: 0 bytes in 0 blocks
+ indirectly lost: 0 bytes in 0 blocks
+ possibly lost: 0 bytes in 0 blocks
+ still reachable: 72,704 bytes in 1 blocks
+ suppressed: 0 bytes in 0 blocks
+Rerun with --leak-check=full to see details of leaked memory
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit-solaris
=================================================
--- leak_cpp_interior.stderr.exp-64bit-solaris 2017-05-02 00:57:52.702986897 +0000
+++ leak_cpp_interior.stderr.out 2017-05-02 01:10:20.405112628 +0000
@@ -9,9 +9,9 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 273 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 114 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +23,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 177 (+177) bytes in 4 (+4) blocks
- still reachable: 96 (-177) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,8 +37,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 162 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -49,8 +49,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 194 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -61,10 +61,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-83) bytes in 4 (-1) blocks
- still reachable: 162 (+83) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 114 (+114) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +74,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 273 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +88,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 273 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +101,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 225 (+225) bytes in 6 (+6) blocks
- still reachable: 48 (-225) bytes in 2 (-6) blocks
+ possibly lost: 191 (+191) bytes in 6 (+6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-solaris
=================================================
--- leak_cpp_interior.stderr.exp-solaris 2017-05-02 00:57:54.500201469 +0000
+++ leak_cpp_interior.stderr.out 2017-05-02 01:10:20.405112628 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:116)
by 0x........: main (leak_cpp_interior.cpp:131)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 197 bytes in 8 blocks
+ still reachable: 72,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 90 bytes in 2 blocks
+ stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 149 (+149) bytes in 4 (+4) blocks
- still reachable: 48 (-149) bytes in 4 (-4) blocks
+ possibly lost: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-90) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 145 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 142 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-59) bytes in 4 (-1) blocks
- still reachable: 114 (+59) bytes in 4 (+1) blocks
+ possibly lost: 111 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 90 (+90) bytes in 2 (+2) blocks
+ stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-02 00:57:54.101305626 +0000
+++ door_data.stderr.out 2017-05-02 01:11:14.959767808 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-02 00:57:54.138519456 +0000
+++ lsframe2.stderr.out 2017-05-02 01:11:26.620197883 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2...
[truncated message content] |
|
From: <iv...@iv...> - 2017-05-02 02:05:23
|
valgrind revision: 16328
VEX revision: 3357
C compiler: gcc (GCC) 4.8.2
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.23.1
C library: Solaris libc
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris 11.3 X86
Nightly build on solaris11.3 ( Solaris 11.3 x86 )
Started at 2017-05-02 00:30:30 UTC
Ended at 2017-05-02 02:01:56 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
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
-- Finished tests in exp-bbv/tests/x86 ---------------------------------
== 778 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.09s no: 1.5s (16.9x, -----) me: 3.0s (33.0x, -----) ca:12.4s (138.2x, -----) he: 1.9s (20.9x, -----) ca: 3.8s (42.3x, -----) dr: 1.9s (20.6x, -----) ma: 1.7s (19.3x, -----)
bigcode1 valgrind-old:0.09s no: 1.5s (17.0x, -0.7%) me: 2.8s (31.6x, 4.4%) ca:12.3s (137.0x, 0.9%) he: 1.9s (20.6x, 1.6%) ca: 3.9s (43.0x, -1.6%) dr: 1.8s (20.4x, 0.5%) ma: 1.8s (20.3x, -5.2%)
-- bigcode2 --
bigcode2 valgrind-new:0.10s no: 3.4s (34.0x, -----) me: 7.2s (71.7x, -----) ca:26.9s (268.6x, -----) he: 4.3s (43.0x, -----) ca: 6.5s (65.0x, -----) dr: 4.0s (39.7x, -----) ma: 3.9s (38.8x, -----)
bigcode2 valgrind-old:0.10s no: 3.4s (33.6x, 1.2%) me: 7.0s (69.7x, 2.8%) ca:27.2s (272.4x, -1.4%) he: 4.3s (42.9x, 0.2%) ca: 6.6s (65.9x, -1.4%) dr: 4.0s (40.0x, -0.8%) ma: 3.9s (39.0x, -0.5%)
-- bz2 --
bz2 valgrind-new:0.62s no: 2.0s ( 3.2x, -----) me: 6.6s (10.6x, -----) ca:11.7s (18.8x, -----) he:10.4s (16.8x, -----) ca:13.2s (21.4x, -----) dr:11.2s (18.0x, -----) ma: 1.8s ( 3.0x, -----)
bz2 valgrind-old:0.62s no: 1.9s ( 3.1x, 1.5%) me: 6.5s (10.5x, 1.1%) ca:11.6s (18.6x, 0.9%) he:10.4s (16.8x, -0.1%) ca:13.1s (21.2x, 0.9%) dr:11.2s (18.0x, 0.2%) ma: 1.9s ( 3.1x, -3.3%)
-- fbench --
fbench valgrind-new:0.25s no: 1.2s ( 4.9x, -----) me: 3.6s (14.4x, -----) ca: 5.5s (22.2x, -----) he: 2.7s (10.7x, -----) ca: 3.7s (14.9x, -----) dr: 2.7s (10.8x, -----) ma: 1.2s ( 4.7x, -----)
fbench valgrind-old:0.25s no: 1.1s ( 4.6x, 5.7%) me: 3.6s (14.5x, -0.8%) ca: 5.4s (21.7x, 2.2%) he: 2.7s (10.6x, 0.7%) ca: 3.7s (14.9x, -0.3%) dr: 2.7s (11.0x, -1.1%) ma: 1.2s ( 4.9x, -3.4%)
-- ffbench --
ffbench valgrind-new:0.28s no: 1.1s ( 4.0x, -----) me: 3.4s (12.1x, -----) ca: 2.1s ( 7.5x, -----) he: 4.7s (16.9x, -----) ca: 4.7s (16.9x, -----) dr: 3.4s (12.2x, -----) ma: 1.0s ( 3.7x, -----)
ffbench valgrind-old:0.28s no: 1.1s ( 3.9x, 3.5%) me: 3.3s (11.8x, 2.4%) ca: 2.2s ( 7.7x, -3.3%) he: 4.6s (16.6x, 1.7%) ca: 4.7s (16.7x, 0.6%) dr: 3.4s (12.1x, 1.2%) ma: 1.0s ( 3.7x, -1.0%)
-- heap --
heap valgrind-new:0.18s no: 1.2s ( 6.9x, -----) me: 5.6s (31.1x, -----) ca:10.6s (58.6x, -----) he: 8.3s (45.9x, -----) ca: 8.0s (44.3x, -----) dr: 5.0s (27.8x, -----) ma: 2.6s (14.2x, -----)
heap valgrind-old:0.18s no: 1.2s ( 6.9x, 0.0%) me: 5.7s (31.4x, -1.3%) ca:10.5s (58.5x, 0.2%) he: 8.3s (45.9x, 0.1%) ca: 7.9s (44.0x, 0.6%) dr: 5.0s (27.7x, 0.2%) ma: 2.5s (13.7x, 3.5%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.19s no: 1.3s ( 6.9x, -----) me: 9.1s (48.0x, -----) ca:11.0s (58.1x, -----) he: 9.4s (49.4x, -----) ca: 8.5s (44.9x, -----) dr: 5.5s (29.2x, -----) ma: 2.7s (14.3x, -----)
heap_pdb4 valgrind-old:0.19s no: 1.3s ( 7.1x, -1.5%) me: 9.2s (48.4x, -0.8%) ca:11.2s (58.8x, -1.2%) he: 9.3s (49.2x, 0.4%) ca: 8.4s (44.3x, 1.3%) dr: 5.5s (28.9x, 0.9%) ma: 2.7s (14.2x, 0.7%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 1.4s (69.5x, -----) ca: 1.3s (67.0x, -----) he: 1.1s (57.0x, -----) ca: 1.1s (55.0x, -----) dr: 1.1s (52.5x, -----) ma: 0.7s (33.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (13.5x, 3.6%) me: 1.4s (67.5x, 2.9%) ca: 1.3s (66.0x, 1.5%) he: 1.2s (58.0x, -1.8%) ca: 1.1s (53.5x, 2.7%) dr: 1.1s (53.0x, -1.0%) ma: 0.7s (33.0x, 0.0%)
-- many-xpts --
many-xpts valgrind-new:0.07s no: 0.4s ( 5.4x, -----) me: 1.6s (22.3x, -----) ca: 3.0s (42.1x, -----) he: 2.3s (32.3x, -----) ca: 1.6s (22.1x, -----) dr: 1.5s (21.3x, -----) ma: 1.6s (22.7x, -----)
many-xpts valgrind-old:0.07s no: 0.4s ( 5.3x, 2.6%) me: 1.6s (22.3x, 0.0%) ca: 3.0s (42.1x, 0.0%) he: 2.2s (32.0x, 0.9%) ca: 1.6s (22.3x, -0.6%) dr: 1.5s (21.0x, 1.3%) ma: 1.6s (22.3x, 1.9%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 7.7x, -----) me: 1.1s (18.5x, -----) ca: 2.7s (45.2x, -----) he: 5.2s (86.7x, -----) ca: 2.5s (41.0x, -----) dr: 1.2s (19.5x, -----) ma: 0.5s ( 8.0x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 7.5x, 2.2%) me: 1.1s (18.5x, 0.0%) ca: 2.7s (45.0x, 0.4%) he: 5.1s (85.7x, 1.2%) ca: 2.5s (42.0x, -2.4%) dr: 1.2s (19.8x, -1.7%) ma: 0.5s ( 8.0x, 0.0%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.1s (105.0x, -----) ca: 1.8s (88.0x, -----) he: 6.1s (304.5x, -----) ca: 1.1s (55.0x, -----) dr: 0.9s (46.5x, -----) ma: 0.3s (14.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.2s (110.0x, -4.8%) ca: 1.8s (91.0x, -3.4%) he: 6.1s (304.0x, 0.2%) ca: 1.1s (56.0x, -1.8%) dr: 0.9s (46.5x, 0.0%) ma: 0.3s (13.5x, 3.6%)
-- tinycc --
tinycc valgrind-new:0.19s no: 1.3s ( 7.0x, -----) me:10.2s (53.4x, -----) ca:11.1s (58.2x, -----) he:12.8s (67.6x, -----) ca:12.1s (63.9x, -----) dr:10.9s (57.3x, -----) ma: 1.6s ( 8.5x, -----)
tinycc valgrind-old:0.19s no: 1.3s ( 6.9x, 1.5%) me:10.1s (53.3x, 0.2%) ca:10.9s (57.5x, 1.2%) he:12.8s (67.2x, 0.7%) ca:12.1s (63.7x, 0.2%) dr:10.9s (57.5x, -0.4%) ma: 1.7s ( 8.7x, -3.1%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 39m20.67s
user 37m52.77s
sys 0m48.94s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-02 00:57:06.509835584 +0000
+++ preen_invars.stderr.out 2017-05-02 01:22:07.657889074 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-02 00:57:06.507715779 +0000
+++ stackerr.stderr.out 2017-05-02 01:22:08.673855693 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-02 00:57:06.515848123 +0000
+++ stackerr.stderr.out 2017-05-02 01:22:08.673855693 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-02 00:57:03.398041583 +0000
+++ hginfo.stderrB.out 2017-05-02 01:05:27.915905208 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-02 00:57:08.299862639 +0000
+++ bar_bad.stderr.out 2017-05-02 01:16:37.474106038 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-02 00:57:08.256932370 +0000
+++ bar_bad.stderr.out 2017-05-02 01:16:37.474106038 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-02 00:57:08.311277781 +0000
+++ bar_trivial.stderr.out 2017-05-02 01:16:39.007017958 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-02 00:57:08.280793230 +0000
+++ free_is_write.stderr.out 2017-05-02 01:16:41.934863616 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-02 00:57:08.338635714 +0000
+++ pth_barrier1.stderr.out 2017-05-02 01:16:58.636454196 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-02 00:57:08.239308328 +0000
+++ pth_barrier2.stderr.out 2017-05-02 01:16:59.154617637 +0000
@@ -6,623 +6,33 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-02 00:57:08.304742507 +0000
+++ pth_barrier3.stderr.out 2017-05-02 01:16:59.772064622 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-02 00:57:08.245407409 +0000
+++ tc21_pthonce.stderr.out 2017-05-02 01:17:35.107858885 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-02 00:57:08.370841455 +0000
+++ tls_threads.stderr.out 2017-05-02 01:17:45.753486702 +0000
@@ -1,2 +1,3 @@
+--19657:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-02 00:57:04.945542268 +0000
+++ door_data.stderr.out 2017-05-02 01:08:53.900294940 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-02 00:57:04.993573450 +0000
+++ lsframe2.stderr.out 2017-05-02 01:09:04.860311579 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-02 00:30:43.354653311 +0000
+++ preen_invars.stderr.out 2017-05-02 00:56:34.040919872 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-02 00:30:43.350731849 +0000
+++ stackerr.stderr.out 2017-05-02 00:56:35.066996353 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-02 00:30:43.360717465 +0000
+++ stackerr.stderr.out 2017-05-02 00:56:35.066996353 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-02 00:30:40.213951773 +0000
+++ hginfo.stderrB.out 2017-05-02 00:39:50.810629031 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-02 00:30:44.923761856 +0000
+++ bar_bad.stderr.out 2017-05-02 00:51:02.750026845 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-05-02 00:30:44.882837855 +0000
+++ bar_bad.stderr.out 2017-05-02 00:51:02.750026845 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-05-02 00:30:44.935476482 +0000
+++ bar_trivial.stderr.out 2017-05-02 00:51:04.279181046 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-old/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-05-02 00:30:44.908651195 +0000
+++ free_is_write.stderr.out 2017-05-02 00:51:07.227020850 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-old/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2017-05-02 00:30:44.964134976 +0000
+++ pth_barrier1.stderr.out 2017-05-02 00:51:23.742179796 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-old/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-05-02 00:30:44.864996850 +0000
+++ pth_barrier2.stderr.out 2017-05-02 00:51:24.316027883 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-old/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-05-02 00:30:44.929303385 +0000
+++ pth_barrier3.stderr.out 2017-05-02 00:51:24.951206198 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-05-02 00:30:44.872211031 +0000
+++ tc21_pthonce.stderr.out 2017-05-02 00:52:00.515375241 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2017-05-02 00:30:44.996834993 +0000
+++ tls_threads.stderr.out 2017-05-02 00:52:11.220259929 +0000
@@ -1,2 +1,3 @@
+--15917:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-old/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-05-02 00:30:41.869212833 +0000
+++ door_data.stderr.out 2017-05-02 00:43:18.437312176 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-old/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2017-05-02 00:30:41.915596080 +0000
+++ lsframe2.stderr.out 2017-05-02 00:43:29.573370754 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
|
|
From: <ma...@gc...> - 2017-05-01 08:35:33
|
valgrind revision: 16328
VEX revision: 3357
C compiler: gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.3) 4.8.4
GDB: GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Assembler: GNU assembler (GNU Binutils for Ubuntu) 2.24
C library: GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.9) stable release version 2.19
uname -mrs: Linux 3.13.0-92-generic aarch64
Vendor version: Ubuntu 14.04.5 LTS, Trusty Tahr
Nightly build on gcc114-arm64 ( Ubuntu 14.04 trusty aarch64 )
Started at 2017-05-01 00:00:01 PDT
Ended at 2017-05-01 02:13:24 PDT
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
== 601 tests, 30 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/linux/getregset (stdout)
memcheck/tests/linux/getregset (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo1 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/pth_cancel1 (stdout)
none/tests/pth_cancel1 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 601 tests, 31 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/linux/getregset (stdout)
memcheck/tests/linux/getregset (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo1 (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/pth_cancel1 (stdout)
none/tests/pth_cancel1 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/sigaltstack (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
exp-sgcheck/tests/bad_percentify (stdout)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2017-05-01 00:22:19.312180680 -0700
--- new.short 2017-05-01 00:44:16.872180680 -0700
***************
*** 8,10 ****
! == 601 tests, 31 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--- 8,10 ----
! == 601 tests, 30 stderr failures, 10 stdout failures, 2 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
***************
*** 38,40 ****
helgrind/tests/hg05_race2 (stderr)
- helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
--- 38,39 ----
***************
*** 57,59 ****
Last 20 lines of verbose log follow echo
! helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
--- 56,58 ----
Last 20 lines of verbose log follow echo
! helgrind/tests/hg05_race2 (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.20s no: 3.2s (16.2x, -----) me: 6.2s (31.1x, -----) ca:33.7s (168.4x, -----) he: 3.8s (18.8x, -----) ca: 9.1s (45.6x, -----) dr: 3.7s (18.5x, -----) ma: 3.9s (19.6x, -----)
bigcode1 valgrind-old:0.20s no: 3.2s (16.1x, 0.6%) me: 6.2s (30.9x, 0.5%) ca:33.7s (168.4x, -0.0%) he: 3.8s (18.8x, 0.0%) ca: 9.1s (45.5x, 0.1%) dr: 3.7s (18.6x, -0.3%) ma: 3.9s (19.4x, 0.5%)
-- bigcode2 --
bigcode2 valgrind-new:0.21s no: 7.8s (36.9x, -----) me:15.8s (75.3x, -----) ca:59.8s (284.9x, -----) he: 9.2s (44.0x, -----) ca:15.2s (72.5x, -----) dr: 8.8s (41.9x, -----) ma: 9.0s (42.8x, -----)
bigcode2 valgrind-old:0.21s no: 7.8s (37.0x, -0.1%) me:15.7s (74.6x, 0.9%) ca:59.9s (285.3x, -0.1%) he: 9.2s (43.9x, 0.1%) ca:15.1s (72.0x, 0.6%) dr: 8.8s (41.8x, 0.1%) ma: 9.0s (42.8x, 0.0%)
-- bz2 --
bz2 valgrind-new:1.12s no: 4.1s ( 3.6x, -----) me:15.1s (13.5x, -----) ca:39.0s (34.9x, -----) he:20.4s (18.2x, -----) ca:31.1s (27.7x, -----) dr:29.8s (26.6x, -----) ma: 4.2s ( 3.8x, -----)
bz2 valgrind-old:1.12s no: 4.1s ( 3.6x, -0.2%) me:15.2s (13.5x, -0.3%) ca:39.0s (34.8x, 0.2%) he:20.4s (18.2x, 0.0%) ca:31.0s (27.7x, 0.0%) dr:29.8s (26.6x, 0.0%) ma: 4.2s ( 3.8x, -0.7%)
-- fbench --
fbench valgrind-new:0.54s no: 4.2s ( 7.8x, -----) me: 8.7s (16.0x, -----) ca:17.4s (32.1x, -----) he: 7.7s (14.3x, -----) ca:10.8s (20.0x, -----) dr: 8.4s (15.5x, -----) ma: 4.4s ( 8.1x, -----)
fbench valgrind-old:0.54s no: 4.2s ( 7.8x, -0.2%) me: 8.7s (16.0x, 0.0%) ca:17.4s (32.2x, -0.1%) he: 7.6s (14.1x, 1.3%) ca:10.8s (20.0x, 0.1%) dr: 8.4s (15.5x, -0.2%) ma: 4.4s ( 8.1x, -0.2%)
-- ffbench --
ffbench valgrind-new:0.52s no: 2.9s ( 5.5x, -----) me: 5.4s (10.5x, -----) ca: 5.8s (11.1x, -----) he:13.8s (26.6x, -----) ca:10.6s (20.5x, -----) dr: 9.6s (18.5x, -----) ma: 3.0s ( 5.7x, -----)
ffbench valgrind-old:0.52s no: 2.9s ( 5.5x, 0.7%) me: 5.4s (10.3x, 1.3%) ca: 5.8s (11.2x, -0.3%) he:13.8s (26.5x, 0.4%) ca:10.6s (20.5x, 0.0%) dr: 9.6s (18.5x, -0.1%) ma: 3.0s ( 5.7x, 0.0%)
-- heap --
heap valgrind-new:0.50s no: 2.6s ( 5.2x, -----) me:10.9s (21.7x, -----) ca:22.1s (44.2x, -----) he:17.1s (34.3x, -----) ca:13.0s (25.9x, -----) dr:10.1s (20.2x, -----) ma: 5.8s (11.7x, -----)
heap valgrind-old:0.50s no: 2.6s ( 5.2x, -1.2%) me:10.8s (21.6x, 0.6%) ca:22.1s (44.1x, 0.1%) he:17.1s (34.1x, 0.4%) ca:12.9s (25.9x, 0.3%) dr:10.1s (20.3x, -0.3%) ma: 5.8s (11.6x, 0.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.57s no: 2.9s ( 5.0x, -----) me:18.0s (31.6x, -----) ca:23.9s (41.8x, -----) he:19.4s (34.0x, -----) ca:14.7s (25.7x, -----) dr:11.2s (19.6x, -----) ma: 6.0s (10.6x, -----)
heap_pdb4 valgrind-old:0.57s no: 2.8s ( 5.0x, 0.7%) me:17.9s (31.5x, 0.3%) ca:23.9s (41.8x, 0.0%) he:19.3s (33.8x, 0.4%) ca:14.6s (25.7x, 0.1%) dr:11.2s (19.7x, -0.4%) ma: 6.1s (10.6x, -0.5%)
-- many-loss-records --
many-loss-records valgrind-new:0.06s no: 0.6s (10.3x, -----) me: 2.9s (47.8x, -----) ca: 3.3s (55.3x, -----) he: 2.6s (42.8x, -----) ca: 2.3s (38.0x, -----) dr: 2.3s (37.7x, -----) ma: 1.4s (22.8x, -----)
many-loss-records valgrind-old:0.06s no: 0.6s (10.5x, -1.6%) me: 2.9s (48.8x, -2.1%) ca: 3.3s (55.0x, 0.6%) he: 2.6s (43.2x, -0.8%) ca: 2.3s (38.3x, -0.9%) dr: 2.3s (37.8x, -0.4%) ma: 1.4s (22.8x, 0.0%)
-- many-xpts --
many-xpts valgrind-new:0.12s no: 0.9s ( 7.2x, -----) me: 3.4s (28.2x, -----) ca: 8.1s (67.8x, -----) he: 4.9s (40.8x, -----) ca: 3.5s (29.3x, -----) dr: 3.4s (28.5x, -----) ma: 3.6s (29.9x, -----)
many-xpts valgrind-old:0.12s no: 0.8s ( 7.0x, 2.3%) me: 3.4s (28.2x, 0.0%) ca: 8.2s (68.0x, -0.2%) he: 4.9s (40.8x, 0.0%) ca: 3.6s (29.8x, -1.4%) dr: 3.4s (28.4x, 0.3%) ma: 3.6s (30.0x, -0.3%)
-- memrw --
memrw valgrind-new:0.29s no: 1.1s ( 3.7x, -----) me: 2.3s ( 7.9x, -----) ca: 8.6s (29.5x, -----) he:13.7s (47.3x, -----) ca: 4.1s (14.0x, -----) dr: 3.0s (10.4x, -----) ma: 1.2s ( 4.1x, -----)
memrw valgrind-old:0.29s no: 1.1s ( 3.6x, 1.9%) me: 2.3s ( 7.9x, 0.9%) ca: 8.3s (28.6x, 3.0%) he:13.9s (47.8x, -1.2%) ca: 4.1s (14.2x, -1.0%) dr: 3.0s (10.5x, -0.7%) ma: 1.2s ( 4.1x, 0.0%)
-- sarp --
sarp valgrind-new:0.03s no: 0.6s (19.0x, -----) me: 3.7s (123.7x, -----) ca: 4.5s (148.7x, -----) he:13.5s (450.7x, -----) ca: 2.4s (79.3x, -----) dr: 1.9s (64.3x, -----) ma: 0.6s (20.3x, -----)
sarp valgrind-old:0.03s no: 0.6s (19.0x, 0.0%) me: 3.7s (124.7x, -0.8%) ca: 4.5s (148.3x, 0.2%) he:13.5s (450.7x, 0.0%) ca: 2.4s (79.3x, 0.0%) dr: 1.9s (64.3x, 0.0%) ma: 0.6s (21.0x, -3.3%)
-- tinycc --
tinycc valgrind-new:0.40s no: 4.8s (11.9x, -----) me:19.8s (49.6x, -----) ca:46.0s (115.0x, -----) he:22.6s (56.5x, -----) ca:33.5s (83.7x, -----) dr:19.4s (48.4x, -----) ma: 6.0s (15.1x, -----)
tinycc valgrind-old:0.40s no: 4.7s (11.8x, 0.6%) me:19.8s (49.5x, 0.1%) ca:46.0s (114.9x, 0.0%) he:22.6s (56.4x, 0.3%) ca:33.5s (83.7x, -0.0%) dr:19.4s (48.4x, -0.1%) ma: 6.1s (15.1x, -0.3%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
5301.22user 41.34system 1:29:08elapsed 99%CPU (0avgtext+0avgdata 531264maxresident)k
0inputs+481568outputs (0major+14539034minor)pagefaults 0swaps
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff
=================================================
--- pth_cancel_locked.stderr.exp 2017-05-01 00:22:32.982180680 -0700
+++ pth_cancel_locked.stderr.out 2017-05-01 00:40:40.442180680 -0700
@@ -1,15 +1,19 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-pthread_cancel(): invalid thread ID 0x........
- at 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137)
+ by 0x........: __pthread_unwind (unwind.c:?)
+ by 0x........: __do_cancel (pthreadP.h:?)
+ by 0x........: sigcancel_handler (nptl-init.c:214)
+ by 0x........: ??? (in /home/mark/valgrind-nightly/valgrind-new/drd/drd-arm64-linux)
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff-darwin
=================================================
--- pth_cancel_locked.stderr.exp-darwin 2017-05-01 00:22:32.992180680 -0700
+++ pth_cancel_locked.stderr.out 2017-05-01 00:40:40.442180680 -0700
@@ -1,18 +1,19 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: ??? (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (in /lib/aarch64-linux-gnu/libgcc_s.so.1)
+ by 0x........: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137)
+ by 0x........: __pthread_unwind (unwind.c:?)
+ by 0x........: __do_cancel (pthreadP.h:?)
+ by 0x........: sigcancel_handler (nptl-init.c:214)
+ by 0x........: ??? (in /home/mark/valgrind-nightly/valgrind-new/drd/drd-arm64-linux)
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/sigaltstack.stderr.diff
=================================================
--- sigaltstack.stderr.exp 2017-05-01 00:22:33.042180680 -0700
+++ sigaltstack.stderr.out 2017-05-01 00:42:28.402180680 -0700
@@ -4,3 +4,8 @@
raising the signal
caught signal, local var is on 0x........
done
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: ???
+Illegal instruction (core dumped)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2017-05-01 00:22:33.042180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-01 00:43:11.812180680 -0700
@@ -7,28 +7,20 @@
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:26)
+ at 0x........: bar (tc04_free_lock.c:40)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: foo (tc04_free_lock.c:47)
- by 0x........: main (tc04_free_lock.c:27)
+ at 0x........: foo (tc04_free_lock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-s390
=================================================
--- tc04_free_lock.stderr.exp-s390 2017-05-01 00:22:33.092180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-01 00:43:11.812180680 -0700
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,7 +16,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2017-05-01 00:22:33.102180680 -0700
+++ tc04_free_lock.stderr.out 2017-05-01 00:43:11.812180680 -0700
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +16,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2017-05-01 00:22:33.062180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-01 00:43:16.632180680 -0700
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc
=================================================
--- tc09_bad_unlock.stderr.exp-ppc 2017-05-01 00:22:32.932180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-01 00:43:16.632180680 -0700
@@ -25,8 +25,8 @@
by 0x........: main (tc09_bad_unlock.c:49)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
+ at 0x........: nearly_main (tc09_bad_unlock.c:45)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-s390
=================================================
--- tc09_bad_unlock.stderr.exp-s390 2017-05-01 00:22:32.952180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-01 00:43:16.632180680 -0700
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2017-05-01 00:22:33.022180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-01 00:43:16.632180680 -0700
@@ -6,6 +6,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
@@ -15,6 +16,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread 1:
The object at address 0x........ is not a mutex.
@@ -24,10 +26,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
+ by 0x........: main (tc09_bad_unlock.c:49)
---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
@@ -37,18 +40,12 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:50)
The object at address 0x........ is not a mutex.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-x86
=================================================
--- tc09_bad_unlock.stderr.exp-x86 2017-05-01 00:22:33.002180680 -0700
+++ tc09_bad_unlock.stderr.out 2017-05-01 00:43:16.632180680 -0700
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2017-05-01 00:22:26.242180680 -0700
+++ bad_percentify.stderr.out 2017-05-01 00:44:03.502180680 -0700
@@ -1,30 +1 @@
-
-Invalid read of size 1
- at 0x........: local_strlen (bad_percentify.c:138)
- by 0x........: VG_vsprintf (bad_percentify.c:535)
- by 0x........: VG_sprintf (bad_percentify.c:545)
- by 0x........: VG_percentify (bad_percentify.c:572)
- by 0x........: VG_print_translation_stats (bad_percentify.c:625)
- by 0x........: main (bad_percentify.c:645)
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 6 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 1
- at 0x........: local_strlen (bad_percentify.c:138)
- by 0x........: myvprintf_str (bad_percentify.c:187)
- by 0x........: VG_debugLog_vprintf (bad_percentify.c:490)
- by 0x........: vprintf_to_buf (bad_percentify.c:89)
- by 0x........: vprintf_WRK (bad_percentify.c:102)
- by 0x........: VG_vprintf (bad_percentify.c:115)
- by 0x........: VG_printf (bad_percentify.c:124)
- by 0x........: VG_print_translation_stats (bad_percentify.c:626)
- by 0x........: main (bad_percentify.c:645)
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 6 in frame 7 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stdout.diff
=================================================
--- bad_percentify.stdout.exp 2017-05-01 00:22:26.232180680 -0700
+++ bad_percentify.stdout.out 2017-05-01 00:44:03.482180680 -0700
@@ -1,3 +0,0 @@
-translate: fast SP updates identified: 0 ( --%)
-translate: generic_known SP updates identified: 0 ( --%)
-translate: generic_unknown SP updates identified: 0 ( --%)
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-gcc491-amd64
=================================================
--- globalerr.stderr.exp-gcc491-amd64 2017-05-01 00:22:26.242180680 -0700
+++ globalerr.stderr.out 2017-05-01 00:44:03.522180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "a" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: global array "a" of size 14 in object with soname "NONE"
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-glibc28-amd64
=================================================
--- globalerr.stderr.exp-glibc28-amd64 2017-05-01 00:22:26.242180680 -0700
+++ globalerr.stderr.out 2017-05-01 00:44:03.522180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "a" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid read of size 2
- at 0x........: main (globalerr.c:12)
- Address 0x........ expected vs actual:
- Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2017-05-01 00:22:26.242180680 -0700
+++ hackedbz2.stderr.out 2017-05-01 00:44:03.562180680 -0700
@@ -1,17 +1 @@
-
-Invalid read of size 1
- at 0x........: vex_strlen (hackedbz2.c:1006)
- by 0x........: add_to_myprintf_buf (hackedbz2.c:1284)
- by 0x........: vex_printf (hackedbz2.c:1155)
- by 0x........: BZ2_compressBlock (hackedbz2.c:4039)
- by 0x........: handle_compress (hackedbz2.c:4761)
- by 0x........: BZ2_bzCompress (hackedbz2.c:4831)
- by 0x........: BZ2_bzBuffToBuffCompress (hackedbz2.c:5638)
- by 0x........: main (hackedbz2.c:6484)
- Address 0x........ expected vs actual:
- Expected: global array "myprintf_buf" of size 70 in object with soname "NONE"
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stdout.diff
=================================================
--- hackedbz2.stdout.exp 2017-05-01 00:22:26.242180680 -0700
+++ hackedbz2.stdout.out 2017-05-01 00:44:03.542180680 -0700
@@ -1,70 +0,0 @@
-22323 bytes read
- block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
- too repetitive; using fallback sorting algorithm
- 22373 in block, 13504 after MTF & 1-2 coding, 79+2 syms in use
- pass 1: size is 17143, grp uses are 38 62 2 92 6 71
- pass 2: size is 6506, grp uses are 28 71 0 86 9 77
- pass 3: size is 6479, grp uses are 26 70 0 81 11 83
- pass 4: size is 6469, grp uses are 26 69 0 74 17 85
- bytes: mapping 19, selectors 66, code lengths 134, codes 6465
- final combined CRC = 0xA212ABF8
- 6710 after compression
-bit 0 -5 DATA_ERROR_MAGIC
-bit 1 -5 DATA_ERROR_MAGIC
-bit 2 -5 DATA_ERROR_MAGIC
-bit 3 -5 DATA_ERROR_MAGIC
-bit 4 -5 DATA_ERROR_MAGIC
-bit 5 -5 DATA_ERROR_MAGIC
-bit 6 -5 DATA_ERROR_MAGIC
-bit 7 -5 DATA_ERROR_MAGIC
-bit 8 -5 DATA_ERROR_MAGIC
-bit 9 -5 DATA_ERROR_MAGIC
-bit 10 -5 DATA_ERROR_MAGIC
-bit 11 -5 DATA_ERROR_MAGIC
-bit 12 -5 DATA_ERROR_MAGIC
-bit 13 -5 DATA_ERROR_MAGIC
-bit 14 -5 DATA_ERROR_MAGIC
-bit 15 -5 DATA_ERROR_MAGIC
-bit 16 -5 DATA_ERROR_MAGIC
-bit 17 -5 DATA_ERROR_MAGIC
-bit 18 -5 DATA_ERROR_MAGIC
-bit 19 -5 DATA_ERROR_MAGIC
-bit 20 -5 DATA_ERROR_MAGIC
-bit 21 -5 DATA_ERROR_MAGIC
-bit 22 -5 DATA_ERROR_MAGIC
-bit 23 -5 DATA_ERROR_MAGIC
-bit 24 0 OK really ok!
-bit 25 -5 DATA_ERROR_MAGIC
-bit 26 -5 DATA_ERROR_MAGIC
-bit 27 0 OK really ok!
-bit 28 -5 DATA_ERROR_MAGIC
-bit 29 -5 DATA_ERROR_MAGIC
-bit 30 -5 DATA_ERROR_MAGIC
-bit 31 -5 DATA_ERROR_MAGIC
-bit 32 -4 DATA_ERROR
-bit 33 -4 DATA_ERROR
-bit 34 -4 DATA_ERROR
-bit 35 -4 DATA_ERROR
-bit 2412 -4 DATA_ERROR
-bit 4789 -4 DATA_ERROR
-bit 7166 -4 DATA_ERROR
-bit 9543 -4 DATA_ERROR
-bit 11920 -4 DATA_ERROR
-bit 14297 -4 DATA_ERROR
-bit 16674 -4 DATA_ERROR
-bit 19051 -4 DATA_ERROR
-bit 21428 -4 DATA_ERROR
-bit 23805 -4 DATA_ERROR
-bit 26182 -4 DATA_ERROR
-bit 28559 -4 DATA_ERROR
-bit 30936 -4 DATA_ERROR
-bit 33313 -4 DATA_ERROR
-bit 35690 -4 DATA_ERROR
-bit 38067 -4 DATA_ERROR
-bit 40444 -4 DATA_ERROR
-bit 42821 -4 DATA_ERROR
-bit 45198 -4 DATA_ERROR
-bit 47575 -4 DATA_ERROR
-bit 49952 -4 DATA_ERROR
-bit 52329 -4 DATA_ERROR
-all ok
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stderr.diff
=================================================
--- hsg.stderr.exp 2017-05-01 00:22:26.252180680 -0700
+++ hsg.stderr.out 2017-05-01 00:44:03.592180680 -0700
@@ -1,116 +1 @@
-<?xml version="1.0"?>
-
-<valgrindoutput>
-
-<protocolversion>4</protocolversion>
-<protocoltool>exp-sgcheck</protocoltool>
-
-<preamble>
- <line>...</line>
- <line>...</line>
- <line>...</line>
- <line>...</line>
- <line>...</line>
-</preamble>
-
-<pid>...</pid>
-<ppid>...</ppid>
-<tool>exp-sgcheck</tool>
-
-<args>
- <vargv>...</vargv>
- <argv>
- <exe>./hsg</exe>
- </argv>
-</args>
-
-<status>
- <state>RUNNING</state>
- <time>...</time>
-</status>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>SorG</kind>
- <what>Invalid read of size 2</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>addup_wrongly</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: global array "ga" of size 200 in object with soname "NONE"</auxwhat>
- <auxwhat>Actual: unknown</auxwhat>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>SorG</kind>
- <what>Invalid read of size 2</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>addup_wrongly</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_other_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: stack array "la" of size 200 in frame 1 back from here</auxwhat>
- <auxwhat>Actual: unknown</auxwhat>
-</error>
-
-
-<status>
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stdout.diff
=================================================
--- hsg.stdout.exp 2017-05-01 00:22:26.242180680 -0700
+++ hsg.stdout.out 2017-05-01 00:44:03.572180680 -0700
@@ -1 +0,0 @@
-boringly as expected
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-05-01 00:22:26.242180680 -0700
+++ preen_invars.stderr.out 2017-05-01 00:44:03.622180680 -0700
@@ -1,9 +1 @@
-
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stdout.diff
=================================================
--- preen_invars.stdout.exp 2017-05-01 00:22:26.242180680 -0700
+++ preen_invars.stdout.out 2017-05-01 00:44:03.602180680 -0700
@@ -1 +0,0 @@
-foo bar 1
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-05-01 00:22:26.242180680 -0700
+++ stackerr.stderr.out 2017-05-01 00:44:03.652180680 -0700
@@ -1,28 +1 @@
-
-Invalid write of size 4
- at 0x........: foo (stackerr.c:27)
- by 0x........: bar (stackerr.c:32)
- by 0x........: main (stackerr.c:41)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
- Actual: is 0 after Expected
-
-Invalid write of size 4
- at 0x........: main (stackerr.c:44)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
- Actual: is 0 after Expected
-
-Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-05-01 00:22:26.252180680 -0700
+++ stackerr.stderr.out 2017-05-01 00:44:03.652180680 -0700
@@ -1,28 +1 @@
-
-Invalid write of size 8
- at 0x........: foo (stackerr.c:27)
- by 0x........: bar (stackerr.c:32)
- by 0x........: main (stackerr.c:41)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 56 in frame 2 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid write of size 8
- at 0x........: main (stackerr.c:44)
- Address 0x........ expected vs actual:
- Expected: stack array "a" of size 56 in this frame
- Actual: unknown
- Actual: is 0 after Expected
-
-Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+SGCheck doesn't work on ARM yet, sorry.
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-05-01 00:22:23.802180680 -0700
+++ hginfo.stderrB.out 2017-05-01 00:27:22.092180680 -0700
@@ -12,6 +12,10 @@
...
Block was alloc'd by thread #x
Lock ga 0x........ {
+ Address 0x........ is 2440 bytes inside data symbol "_rtld_local"
+ kind mbRec
+}
+Lock ga 0x........ {
Address 0x........ is 0 bytes inside data symbol "mx"
kind mbRec
{ W1:thread #x tid #x }
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-01 00:22:23.712180680 -0700
+++ hgtls.stdoutB.out 2017-05-01 00:27:25.452180680 -0700
@@ -8,38 +8,8 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Program exited normally.
+A debugging session is active.
+ Inferior 1 [Remote target] will be detached.
+Quit anyway? (y or n) [answered Y; input not from terminal]
+Detaching from program: /home/mark/valgrind-nightly/valgrind-new/none/tests/tls, Remote target
+Ending remote debugging.
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2017-05-01 00:22:23.802180680 -0700
+++ mcinfcallWSRU.stderrB.out 2017-05-01 00:27:35.472180680 -0700
@@ -22,7 +22,10 @@
41 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+16>)
+54 ../ports/sysdeps/unix/sysv/linux/generic/select.c: No such file or directory.
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -31,7 +34,10 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+32>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -40,7 +46,10 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>,
+ timeout=0x........ <t+48>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff
=================================================
--- nlvgdbsigqueue.stdoutB.exp 2017-05-01 00:22:23.742180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-01 00:28:10.512180680 -0700
@@ -1,16 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris1
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris1 2017-05-01 00:22:23.732180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-01 00:28:10.512180680 -0700
@@ -1,16 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris2
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris2 2017-05-01 00:22:23.732180680 -0700
+++ nlvgdbsigqueue.stdoutB.out 2017-05-01 00:28:10.512180680 -0700
@@ -1,17 +1,21 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
-[New Thread ....]
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in __select (nfds=0, readfds=<optimized out>,
+ writefds=<optimized out>, exceptfds=<optimized out>, timeout=0x........ <t>)
+54 in ../ports/sysdeps/unix/sysv/linux/generic/select.c
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-05-01 00:22:27.492180680 -0700
+++ hg05_race2.stderr.out 2017-05-01 00:35:21.902180680 -0700
@@ -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/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-01 00:22:27.452180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-01 00:36:40.882180680 -0700
@@ -169,8 +169,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
- declared at tc20_verifywrap.c:57, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-01 00:22:27.552180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-01 00:36:40.882180680 -0700
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +201,14 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -224,6 +241,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:284)
@@ -238,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-01 00:22:27.452180680 -0700
+++ tc20_verifywrap.stderr.out 2017-05-01 00:36:40.882180680 -0700
@@ -169,8 +169,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
- declared at tc20_verifywrap.c:57, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:58, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -235,6 +235,15 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
+----------------------------------------------------------------
+
+Thread #x's call to sem_post failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:284)
+
FIXME: can't figure out how to verify wrap of sem_post
@@ -247,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
...
[truncated message content] |
|
From: Philippe W. <phi...@sk...> - 2017-05-01 04:25:37
|
valgrind revision: 16328 VEX revision: 3357 C compiler: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) GDB: GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7 Assembler: GNU assembler version 2.25.1-22.base.el7 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.10.0-514.10.2.el7.ppc64le ppc64le Vendor version: CentOS Linux 7 (AltArch) Nightly build on gcc112 ( \S, ppc64le ) Started at 2017-05-01 03:00:08 UTC Ended at 2017-05-01 04:25:24 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 == 616 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo unit_bitmap: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_bitmap -s 93 -t 97 -q unit_vc: valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes ./unit_vc -- Finished tests in drd/tests ----------------------------------------- -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- == 616 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 1 post failure == gdbserver_tests/hgtls (stdoutB) memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 --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.31s no: 2.4s ( 7.7x, -----) me: 4.8s (15.6x, -----) ca:19.0s (61.2x, -----) he: 3.0s ( 9.6x, -----) ca: 7.2s (23.4x, -----) dr: 2.8s ( 9.2x, -----) ma: 3.6s (11.5x, -----) bigcode1 valgrind-old:0.31s no: 2.2s ( 7.1x, 8.8%) me: 4.5s (14.4x, 8.0%) ca:19.0s (61.2x, 0.1%) he: 2.8s ( 9.0x, 5.7%) ca: 7.4s (24.0x, -2.8%) dr: 2.5s ( 8.0x, 12.7%) ma: 3.7s (11.9x, -3.4%) -- bigcode2 -- bigcode2 valgrind-new:0.23s no: 4.8s (21.1x, -----) me:10.9s (47.2x, -----) ca:29.8s (129.7x, -----) he: 6.2s (27.1x, -----) ca:11.0s (47.9x, -----) dr: 5.6s (24.5x, -----) ma: 6.4s (27.7x, -----) bigcode2 valgrind-old:0.23s no: 4.8s (20.7x, 2.1%) me:11.2s (48.7x, -3.0%) ca:29.6s (128.7x, 0.8%) he: 6.4s (27.9x, -2.7%) ca:10.7s (46.3x, 3.2%) dr: 5.9s (25.5x, -4.1%) ma: 6.5s (28.2x, -1.7%) -- bz2 -- bz2 valgrind-new:0.66s no: 3.8s ( 5.8x, -----) me:10.8s (16.4x, -----) ca:24.1s (36.6x, -----) he:13.4s (20.3x, -----) ca:21.2s (32.2x, -----) dr:15.3s (23.2x, -----) ma: 4.1s ( 6.2x, -----) bz2 valgrind-old:0.66s no: 3.8s ( 5.8x, 0.0%) me:10.8s (16.4x, -0.1%) ca:24.1s (36.5x, 0.2%) he:13.4s (20.3x, 0.4%) ca:20.9s (31.7x, 1.6%) dr:15.2s (23.0x, 1.0%) ma: 3.9s ( 6.0x, 3.0%) -- fbench -- fbench valgrind-new:0.29s no: 1.9s ( 6.4x, -----) me: 5.3s (18.1x, -----) ca: 7.7s (26.6x, -----) he: 4.3s (14.8x, -----) ca: 6.5s (22.3x, -----) dr: 4.0s (13.7x, -----) ma: 1.9s ( 6.6x, -----) fbench valgrind-old:0.29s no: 1.9s ( 6.4x, 0.0%) me: 5.3s (18.3x, -0.8%) ca: 7.7s (26.6x, 0.1%) he: 4.5s (15.4x, -4.2%) ca: 6.5s (22.3x, -0.2%) dr: 4.0s (14.0x, -2.0%) ma: 2.3s ( 7.9x,-19.8%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.7s ( 3.1x, -----) me: 2.2s ( 9.6x, -----) ca: 2.2s ( 9.5x, -----) he: 6.1s (26.7x, -----) ca: 6.0s (26.2x, -----) dr: 4.5s (19.4x, -----) ma: 0.7s ( 2.9x, -----) ffbench valgrind-old:0.23s no: 0.6s ( 2.7x, 15.3%) me: 1.9s ( 8.2x, 14.5%) ca: 2.2s ( 9.4x, 0.5%) he: 6.1s (26.7x, 0.2%) ca: 6.1s (26.3x, -0.5%) dr: 4.1s (17.8x, 8.5%) ma: 0.8s ( 3.3x,-13.6%) -- heap -- heap valgrind-new:0.29s no: 1.9s ( 6.4x, -----) me: 7.1s (24.4x, -----) ca:11.3s (39.1x, -----) he: 9.6s (33.1x, -----) ca: 9.8s (33.8x, -----) dr: 5.5s (18.9x, -----) ma: 3.3s (11.5x, -----) heap valgrind-old:0.29s no: 1.8s ( 6.1x, 4.3%) me: 7.5s (25.7x, -5.2%) ca:11.0s (37.9x, 3.1%) he: 9.6s (33.2x, -0.3%) ca:10.0s (34.4x, -2.0%) dr: 5.6s (19.3x, -2.0%) ma: 3.6s (12.6x, -9.6%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.28s no: 2.0s ( 7.0x, -----) me:11.5s (41.1x, -----) ca:11.9s (42.6x, -----) he:11.4s (40.9x, -----) ca:10.8s (38.7x, -----) dr: 6.4s (23.0x, -----) ma: 3.6s (12.7x, -----) heap_pdb4 valgrind-old:0.28s no: 1.9s ( 6.7x, 4.6%) me:11.1s (39.8x, 3.1%) ca:11.7s (41.9x, 1.7%) he:11.1s (39.7x, 2.9%) ca:11.2s (40.1x, -3.5%) dr: 6.2s (22.1x, 4.0%) ma: 3.5s (12.5x, 1.7%) -- many-loss-records -- many-loss-records valgrind-new:0.03s no: 0.3s (10.0x, -----) me: 1.6s (52.0x, -----) ca: 1.7s (56.7x, -----) he: 1.4s (46.0x, -----) ca: 1.6s (53.0x, -----) dr: 1.1s (38.3x, -----) ma: 0.8s (26.7x, -----) many-loss-records valgrind-old:0.03s no: 0.3s (11.3x,-13.3%) me: 1.7s (56.3x, -8.3%) ca: 1.6s (51.7x, 8.8%) he: 1.3s (44.3x, 3.6%) ca: 1.6s (51.7x, 2.5%) dr: 1.2s (40.7x, -6.1%) ma: 0.8s (25.0x, 6.2%) -- many-xpts -- many-xpts valgrind-new:0.05s no: 0.6s (11.0x, -----) me: 2.3s (46.8x, -----) ca: 3.9s (78.0x, -----) he: 3.2s (63.6x, -----) ca: 2.4s (48.0x, -----) dr: 1.8s (35.8x, -----) ma: 1.7s (33.4x, -----) many-xpts valgrind-old:0.05s no: 0.5s (10.4x, 5.5%) me: 2.6s (51.8x,-10.7%) ca: 3.7s (73.8x, 5.4%) he: 3.3s (66.8x, -5.0%) ca: 2.5s (51.0x, -6.2%) dr: 2.0s (39.4x,-10.1%) ma: 1.6s (31.8x, 4.8%) -- memrw -- memrw valgrind-new:0.08s no: 1.1s (13.1x, -----) me: 2.0s (25.0x, -----) ca: 4.5s (56.1x, -----) he: 6.8s (84.9x, -----) ca: 3.6s (45.4x, -----) dr: 1.9s (24.2x, -----) ma: 1.1s (13.5x, -----) memrw valgrind-old:0.08s no: 0.9s (11.9x, 9.5%) me: 2.0s (25.5x, -2.0%) ca: 4.3s (53.4x, 4.9%) he: 6.4s (80.4x, 5.3%) ca: 3.4s (42.8x, 5.8%) dr: 2.0s (24.6x, -1.5%) ma: 0.9s (11.7x, 13.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.2s (12.5x, -----) me: 3.4s (171.0x, -----) ca: 2.8s (139.0x, -----) he: 9.7s (482.5x, -----) ca: 1.6s (81.0x, -----) dr: 1.0s (51.5x, -----) ma: 0.5s (23.5x, -----) sarp valgrind-old:0.02s no: 0.2s (12.0x, 4.0%) me: 3.7s (186.0x, -8.8%) ca: 2.6s (128.0x, 7.9%) he: 9.7s (485.0x, -0.5%) ca: 1.6s (80.0x, 1.2%) dr: 1.1s (54.0x, -4.9%) ma: 0.5s (26.0x,-10.6%) -- tinycc -- tinycc valgrind-new:0.28s no: 2.7s ( 9.6x, -----) me:13.3s (47.6x, -----) ca:14.4s (51.5x, -----) he:14.9s (53.4x, -----) ca:14.2s (50.7x, -----) dr:10.4s (37.1x, -----) ma: 2.7s ( 9.7x, -----) tinycc valgrind-old:0.28s no: 2.5s ( 9.0x, 7.0%) me:13.1s (46.9x, 1.4%) ca:14.0s (50.0x, 2.9%) he:14.8s (52.8x, 1.1%) ca:14.2s (50.7x, -0.1%) dr:10.4s (37.0x, 0.2%) ma: 3.1s (10.9x,-12.1%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= real 52m12.342s user 51m58.895s sys 0m13.185s |
|
From: Philippe W. <phi...@sk...> - 2017-05-01 04:19:34
|
valgrind revision: 16328 VEX revision: 3357 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.2-200.fc20.ppc64p7 ppc64 Vendor version: Fedora 20 (Heisenbug) Nightly build on gcc110 ( Fedora release 20 (Heisenbug), ppc64 ) Started at 2017-05-01 03:00:09 UTC Ended at 2017-05-01 04:19:24 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 == 640 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) Last 20 lines of verbose log follow echo -- Running tests in exp-sgcheck/tests --------------------------------- bad_percentify: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris)) -- Finished tests in exp-sgcheck/tests --------------------------------- -- Running tests in exp-bbv/tests/ppc32-linux ------------------------- ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million -- Finished tests in exp-bbv/tests/ppc32-linux ------------------------- == 640 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == memcheck/tests/bug340392 (stderr) massif/tests/deep-D (post) ...checking makefile consistency ...checking header files and include directives make: *** [regtest] Error 1 --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: 1.4s ( 6.2x, -----) me: 2.8s (12.3x, -----) ca:17.8s (77.2x, -----) he: 1.7s ( 7.3x, -----) ca: 5.1s (22.2x, -----) dr: 1.6s ( 7.1x, -----) ma: 2.0s ( 8.7x, -----) bigcode1 valgrind-old:0.23s no: 1.4s ( 6.2x, 0.0%) me: 2.8s (12.1x, 1.4%) ca:18.2s (79.2x, -2.5%) he: 1.7s ( 7.3x, -0.0%) ca: 5.0s (22.0x, 1.0%) dr: 1.6s ( 7.1x, -0.6%) ma: 2.0s ( 8.8x, -0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.24s no: 1.5s ( 6.2x, -----) me: 3.0s (12.3x, -----) ca:18.1s (75.3x, -----) he: 2.0s ( 8.4x, -----) ca: 5.3s (22.2x, -----) dr: 1.7s ( 7.2x, -----) ma: 2.1s ( 8.6x, -----) bigcode2 valgrind-old:0.24s no: 1.5s ( 6.3x, -2.0%) me: 3.0s (12.3x, 0.0%) ca:18.0s (74.8x, 0.6%) he: 2.0s ( 8.3x, 1.0%) ca: 5.3s (22.1x, 0.6%) dr: 1.7s ( 7.2x, 0.0%) ma: 2.1s ( 8.6x, 0.0%) -- bz2 -- bz2 valgrind-new:0.70s no: 4.4s ( 6.2x, -----) me:11.3s (16.2x, -----) ca:26.3s (37.5x, -----) he:14.8s (21.2x, -----) ca:22.8s (32.6x, -----) dr:18.3s (26.2x, -----) ma: 4.5s ( 6.4x, -----) bz2 valgrind-old:0.70s no: 4.4s ( 6.2x, 0.0%) me:11.2s (16.0x, 1.1%) ca:26.1s (37.3x, 0.7%) he:15.0s (21.5x, -1.5%) ca:22.8s (32.5x, 0.2%) dr:18.2s (26.0x, 0.8%) ma: 4.4s ( 6.3x, 0.4%) -- fbench -- fbench valgrind-new:0.37s no: 2.2s ( 5.9x, -----) me: 5.2s (14.1x, -----) ca: 8.6s (23.2x, -----) he: 5.1s (13.8x, -----) ca: 7.5s (20.4x, -----) dr: 5.0s (13.6x, -----) ma: 2.2s ( 5.9x, -----) fbench valgrind-old:0.37s no: 2.2s ( 5.9x, 0.0%) me: 5.2s (14.2x, -0.2%) ca: 8.6s (23.4x, -0.6%) he: 5.1s (13.8x, 0.2%) ca: 7.5s (20.2x, 0.7%) dr: 5.0s (13.6x, -0.2%) ma: 2.2s ( 6.1x, -2.8%) -- ffbench -- ffbench valgrind-new:0.41s no: 1.1s ( 2.6x, -----) me: 2.3s ( 5.5x, -----) ca: 2.4s ( 5.9x, -----) he: 6.6s (16.1x, -----) ca: 6.6s (16.1x, -----) dr: 5.2s (12.6x, -----) ma: 0.9s ( 2.3x, -----) ffbench valgrind-old:0.41s no: 1.1s ( 2.6x, 0.0%) me: 2.3s ( 5.5x, 0.0%) ca: 2.4s ( 5.8x, 0.4%) he: 6.7s (16.2x, -0.8%) ca: 6.8s (16.6x, -2.7%) dr: 5.0s (12.1x, 4.1%) ma: 0.9s ( 2.3x, 0.0%) -- heap -- heap valgrind-new:0.40s no: 2.1s ( 5.1x, -----) me: 7.6s (18.9x, -----) ca:12.8s (32.0x, -----) he:11.0s (27.6x, -----) ca:11.3s (28.2x, -----) dr: 6.5s (16.3x, -----) ma: 3.8s ( 9.5x, -----) heap valgrind-old:0.40s no: 2.1s ( 5.2x, -0.5%) me: 7.6s (18.9x, -0.3%) ca:12.9s (32.3x, -0.9%) he:11.1s (27.7x, -0.5%) ca:11.5s (28.7x, -1.7%) dr: 6.5s (16.3x, 0.3%) ma: 3.8s ( 9.5x, -0.3%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.42s no: 2.2s ( 5.3x, -----) me:11.6s (27.7x, -----) ca:13.9s (33.1x, -----) he:12.5s (29.7x, -----) ca:12.5s (29.9x, -----) dr: 7.4s (17.6x, -----) ma: 4.1s ( 9.7x, -----) heap_pdb4 valgrind-old:0.42s no: 2.2s ( 5.3x, -0.5%) me:11.5s (27.3x, 1.5%) ca:13.8s (33.0x, 0.5%) he:12.4s (29.6x, 0.2%) ca:12.4s (29.6x, 0.7%) dr: 7.5s (17.9x, -1.5%) ma: 4.3s (10.2x, -5.2%) -- many-loss-records -- many-loss-records valgrind-new:0.04s no: 0.4s ( 9.8x, -----) me: 1.8s (44.5x, -----) ca: 1.8s (43.8x, -----) he: 1.6s (41.0x, -----) ca: 1.7s (41.8x, -----) dr: 1.3s (33.0x, -----) ma: 0.8s (19.0x, -----) many-loss-records valgrind-old:0.04s no: 0.4s ( 9.5x, 2.6%) me: 1.8s (45.0x, -1.1%) ca: 1.7s (43.5x, 0.6%) he: 1.6s (40.5x, 1.2%) ca: 1.7s (42.0x, -0.6%) dr: 1.3s (33.0x, 0.0%) ma: 0.8s (19.2x, -1.3%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.6s ( 8.4x, -----) me: 2.9s (41.4x, -----) ca: 4.3s (61.6x, -----) he: 4.1s (58.3x, -----) ca: 2.6s (37.9x, -----) dr: 2.0s (28.3x, -----) ma: 2.1s (29.6x, -----) many-xpts valgrind-old:0.07s no: 0.6s ( 8.4x, 0.0%) me: 2.9s (41.4x, 0.0%) ca: 4.3s (61.6x, 0.0%) he: 4.1s (58.4x, -0.2%) ca: 2.6s (37.9x, 0.0%) dr: 2.0s (28.1x, 0.5%) ma: 2.1s (30.0x, -1.4%) -- memrw -- memrw valgrind-new:0.06s no: 0.9s (15.3x, -----) me: 1.9s (30.8x, -----) ca: 4.5s (75.2x, -----) he: 7.2s (119.8x, -----) ca: 3.2s (53.5x, -----) dr: 1.9s (31.8x, -----) ma: 1.0s (16.2x, -----) memrw valgrind-old:0.06s no: 0.9s (15.5x, -1.1%) me: 1.9s (30.8x, 0.0%) ca: 4.5s (75.3x, -0.2%) he: 7.2s (120.0x, -0.1%) ca: 3.2s (53.2x, 0.6%) dr: 1.9s (32.0x, -0.5%) ma: 1.0s (16.0x, 1.0%) -- sarp -- sarp valgrind-new:0.03s no: 0.3s (10.0x, -----) me: 3.3s (109.3x, -----) ca: 2.8s (91.7x, -----) he: 9.7s (322.0x, -----) ca: 1.6s (55.0x, -----) dr: 1.1s (37.3x, -----) ma: 0.3s (10.7x, -----) sarp valgrind-old:0.03s no: 0.3s (10.0x, 0.0%) me: 3.3s (110.0x, -0.6%) ca: 2.8s (93.0x, -1.5%) he: 9.8s (327.7x, -1.8%) ca: 1.6s (55.0x, 0.0%) dr: 1.1s (37.3x, 0.0%) ma: 0.3s (10.7x, 0.0%) -- tinycc -- tinycc valgrind-new:0.27s no: 2.7s (10.1x, -----) me:13.0s (48.2x, -----) ca:16.7s (61.8x, -----) he:17.7s (65.5x, -----) ca:14.8s (54.9x, -----) dr:11.2s (41.5x, -----) ma: 2.9s (10.9x, -----) tinycc valgrind-old:0.27s no: 2.8s (10.2x, -0.4%) me:12.9s (47.9x, 0.7%) ca:16.7s (61.7x, 0.2%) he:17.7s (65.6x, -0.1%) ca:14.8s (54.9x, 0.1%) dr:11.2s (41.5x, 0.0%) ma: 3.0s (11.0x, -1.0%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= real 51m9.617s user 50m17.851s sys 0m19.116s |
|
From: Rich C. <rc...@wi...> - 2017-05-01 02:57:20
|
valgrind revision: 16328
VEX revision: 3357
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.7-29-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.7-29-desktop x86_64 )
Started at 2017-04-30 21:30:01 CDT
Ended at 2017-04-30 21:57:11 CDT
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
== 663 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
Last 20 lines of verbose log follow echo
preen_invars: valgrind ./preen_invars
stackerr: valgrind --num-callers=3 ./stackerr
-- Finished tests in exp-sgcheck/tests ---------------------------------
-- Running tests in exp-bbv/tests/amd64-linux -------------------------
clone_test: valgrind --interval-size=100000 --bb-out-file=clone_test.out.bb --pc-out-file=clone_test.out.pc ./clone_test
complex_rep: valgrind --interval-size=100000 --bb-out-file=complex_rep.out.bb ./complex_rep
fldcw_check: valgrind --interval-size=10000 --bb-out-file=fldcw_check.out.bb ./fldcw_check
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 663 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1323: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-04-30 21:43:42.654711903 -0500
+++ hgtls.stdoutB.out 2017-04-30 21:46:46.928567415 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-04-30 21:43:45.278638627 -0500
+++ hg05_race2.stderr.out 2017-04-30 21:52:40.108715660 -0500
@@ -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/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-04-30 21:30:17.363244511 -0500
+++ hgtls.stdoutB.out 2017-04-30 21:33:16.677461866 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2017-04-30 21:30:20.175169553 -0500
+++ hg05_race2.stderr.out 2017-04-30 21:39:05.544142220 -0500
@@ -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)
|
|
From: <ma...@bu...> - 2017-05-01 02:34:22
|
valgrind revision: 16326
VEX revision: 3357
C compiler: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
GDB: GNU gdb (GDB) Fedora 7.12.1-47.fc25
Assembler: GNU assembler version 2.26.1-1.fc25
C library: GNU C Library (GNU libc) stable release version 2.24
uname -mrs: Linux 4.10.5-200.fc25.s390x s390x
Vendor version: Fedora 25 (Twenty Five)
Nightly build on lfedora1 ( Fedora release 25 (Twenty Five), s390x )
Started at 2017-05-01 00:00:02 UTC
Ended at 2017-05-01 00:23:13 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
== 716 tests, 7 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-05-01 00:12:06.610942062 +0000
+++ bar_bad.stderr.out 2017-05-01 00:20:47.220942062 +0000
@@ -32,7 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
+Not a barrier
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+
-ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-nohang
=================================================
--- bar_bad.stderr.exp-nohang 2017-05-01 00:12:06.590942062 +0000
+++ bar_bad.stderr.out 2017-05-01 00:20:47.220942062 +0000
@@ -32,6 +32,64 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
@@ -39,4 +97,4 @@
by 0x........: main (bar_bad.c:?)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff-solaris
=================================================
--- bar_bad.stderr.exp-solaris 2017-05-01 00:12:06.620942062 +0000
+++ bar_bad.stderr.out 2017-05-01 00:20:47.220942062 +0000
@@ -32,18 +32,69 @@
at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_cancel (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+Allocation context: BSS section of libc-2.24.so
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+Other segment start (thread 2)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+Other segment end (thread 2)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+Other segment start (thread 4)
+ (thread finished, call stack no longer available)
+Other segment end (thread 4)
+ (thread finished, call stack no longer available)
+
destroy a barrier that was never initialised
Not a barrier
at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2017-05-01 00:12:06.620942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-01 00:20:58.610942062 +0000
@@ -202,8 +202,195 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2017-05-01 00:12:06.600942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-01 00:20:58.610942062 +0000
@@ -202,6 +202,168 @@
</first_observed_at>
</error>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_cancel</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2017-05-01 00:12:06.620942062 +0000
+++ bar_bad_xml.stderr.out 2017-05-01 00:20:58.610942062 +0000
@@ -202,18 +202,16 @@
</first_observed_at>
</error>
-
-destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 4</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
+ <fn>pthread_cancel</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -227,39 +225,157 @@
<line>...</line>
</frame>
</stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+ <auxwhat>Allocation context: BSS section of libc-2.24.so</auxwhat>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>free</fn>
+ <fn>pthread_barrier_wait</fn>
<dir>...</dir>
- <file>vg_replace_malloc.c</file>
+ <file>drd_pthread_intercepts.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </other_segment_end>
+ <other_segment_start>
+ <stack>
+ </stack>
+ </other_segment_start>
+ <other_segment_end>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
<dir>...</dir>
<file>bar_bad.c</file>
<line>...</line>
</frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
<truncated beyond 100 lines>
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2017-05-01 00:11:33.480942062 +0000
+++ hgtls.stdoutB.out 2017-05-01 00:13:53.810942062 +0000
@@ -8,28 +8,28 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
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
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
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-05-01 00:11:43.790942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-01 00:19:41.040942062 +0000
@@ -13,7 +13,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-05-01 00:11:43.780942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-01 00:19:41.040942062 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-05-01 00:11:43.790942062 +0000
+++ tc12_rwl_trivial.stderr.out 2017-05-01 00:19:41.040942062 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-05-01 00:11:43.780942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-05-01 00:11:43.800942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +219,23 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-05-01 00:11:43.780942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2017-05-01 00:11:43.790942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2017-05-01 00:11:43.790942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -168,7 +168,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2017-05-01 00:11:43.800942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
@@ -167,10 +165,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:193)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +192,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +221,21 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:201)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2017-05-01 00:11:43.790942062 +0000
+++ tc20_verifywrap.stderr.out 2017-05-01 00:19:50.250942062 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -89,7 +97,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -142,7 +150,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -158,22 +166,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2017-05-01 00:11:43.790942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-01 00:19:54.470942062 +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:...)
@@ -27,10 +44,6 @@
Process terminating with default action of signal 6 (SIGABRT)
...
by 0x........: main (tc22_exit_w_lock.c:48)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -38,4 +51,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 2017-05-01 00:11:43.790942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-01 00:19:54.470942062 +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,15 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: main (tc22_exit_w_lock.c:48)
----------------------------------------------------------------
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-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-solaris
=================================================
--- tc22_exit_w_lock.stderr.exp-solaris 2017-05-01 00:11:43.790942062 +0000
+++ tc22_exit_w_lock.stderr.out 2017-05-01 00:19:54.470942062 +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)
+
+...
[truncated message content] |