|
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] |