|
From: <ma...@bu...> - 2018-05-06 02:34:22
|
valgrind revision: valgrind-3.14.0.GIT-e5dea048c1-20180505
C compiler: gcc (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2)
GDB: GNU gdb (GDB) Fedora 8.0.1-36.fc26
Assembler: GNU assembler version 2.27-28.fc26
C library: GNU C Library (GNU libc) stable release version 2.25
uname -mrs: Linux 4.14.8-200.fc26.s390x s390x
Vendor version: Fedora 26 (Twenty Six)
Nightly build on lfedora1 ( Fedora release 26 (Twenty Six), s390x )
Started at 2018-05-06 00:00:01 UTC
Ended at 2018-05-06 00:27:00 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
== 725 tests, 54 stderr failures, 3 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcmain_pic (stderr)
memcheck/tests/client-msg-as-xml (stderr)
memcheck/tests/client-msg (stderr)
memcheck/tests/deep-backtrace (stderr)
memcheck/tests/demangle (stderr)
memcheck/tests/inline (stderr)
memcheck/tests/inlinfo (stderr)
memcheck/tests/inlinfosupp (stderr)
memcheck/tests/inlinfosuppobj (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/linux/dlclose_leak (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/mempool (stderr)
memcheck/tests/mempool2 (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/recursive-merge (stderr)
memcheck/tests/s390x/cds (stderr)
memcheck/tests/s390x/cdsg (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/vbit-test/vbit-test (stderr)
memcheck/tests/wrap6 (stdout)
none/tests/libvexmultiarch_test (stderr)
none/tests/s390x/fpconv (stdout)
none/tests/s390x/fpconv (stderr)
none/tests/s390x/pfpo (stdout)
none/tests/s390x/pfpo (stderr)
none/tests/vgprintf (stderr)
helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/cond_timedwait_invalid (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/locked_vs_unlocked1_fwd (stderr)
helgrind/tests/locked_vs_unlocked1_rev (stderr)
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/locked_vs_unlocked3 (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/pth_destroy_cond (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/annotate_barrier (stderr)
drd/tests/annotate_barrier_xml (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/pth_destroy_cond (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
drd/tests/annotate_barrier (stderr)
drd/tests/annotate_barrier_xml (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1348: regtest] Error 1
=================================================
./valgrind-new/drd/tests/annotate_barrier.stderr.diff
=================================================
--- annotate_barrier.stderr.exp 2018-05-06 00:15:14.513860503 +0000
+++ annotate_barrier.stderr.out 2018-05-06 00:23:41.183880463 +0000
@@ -2,7 +2,7 @@
The annotation macro ANNOTATE_BARRIER_INIT has not yet been implemented in <valgrind/drd.h>
at 0x........: barrier_init (annotate_barrier.c:?)
by 0x........: barriers_and_races (annotate_barrier.c:?)
- by 0x........: main (annotate_barrier.c:?)
+ by 0x........: ???
Thread 2:
The annotation macro ANNOTATE_BARRIER_WAIT_BEFORE has not yet been implemented in <valgrind/drd.h>
=================================================
./valgrind-new/drd/tests/annotate_barrier_xml.stderr.diff
=================================================
--- annotate_barrier_xml.stderr.exp 2018-05-06 00:15:14.513860503 +0000
+++ annotate_barrier_xml.stderr.out 2018-05-06 00:23:42.353880463 +0000
@@ -53,14 +53,6 @@
<file>annotate_barrier.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>annotate_barrier.c</file>
- <line>...</line>
- </frame>
</stack>
</error>
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderr.diff
=================================================
--- mcmain_pic.stderr.exp 2018-05-06 00:15:14.773860503 +0000
+++ mcmain_pic.stderr.out 2018-05-06 00:17:56.973870463 +0000
@@ -1,6 +1,6 @@
(action at startup) vgdb me ...
HEAP SUMMARY:
- in use at exit: 16 bytes in 1 blocks
+ in use at exit: 0 bytes in 0 blocks
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderr.diff-solaris
=================================================
--- mcmain_pic.stderr.exp-solaris 2018-05-06 00:15:14.773860503 +0000
+++ mcmain_pic.stderr.out 2018-05-06 00:17:56.973870463 +0000
@@ -1,6 +1,6 @@
(action at startup) vgdb me ...
HEAP SUMMARY:
- in use at exit: 131,080 bytes in 1 blocks
+ in use at exit: 0 bytes in 0 blocks
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/annotate_rwlock.stderr.diff
=================================================
--- annotate_rwlock.stderr.exp 2018-05-06 00:15:14.843860503 +0000
+++ annotate_rwlock.stderr.out 2018-05-06 00:22:29.733880463 +0000
@@ -2,15 +2,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (annotate_rwlock.c:164)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (annotate_rwlock.c:164)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2018-05-06 00:15:14.843860503 +0000
+++ bar_bad.stderr.out 2018-05-06 00:22:42.413880463 +0000
@@ -47,12 +47,18 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+
----------------------------------------------------------------
-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:...)
- by 0x........: main (bar_bad.c:82)
+Thread #x: pthread_barrier_wait: barrier is uninitialised
+ at 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: sleep1 (bar_bad.c:22)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
destroy a barrier that was never initialised
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2018-05-06 00:15:14.843860503 +0000
+++ bar_bad.stderr.out 2018-05-06 00:22:42.413880463 +0000
@@ -51,8 +51,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/cond_timedwait_invalid.stderr.diff
=================================================
--- cond_timedwait_invalid.stderr.exp 2018-05-06 00:15:14.843860503 +0000
+++ cond_timedwait_invalid.stderr.out 2018-05-06 00:22:46.413880463 +0000
@@ -8,8 +8,7 @@
Thread #x's call to pthread_cond_timedwait failed
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 (cond_timedwait_invalid.c:22)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ free_is_write.stderr.out 2018-05-06 00:22:47.973880463 +0000
@@ -4,8 +4,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (free_is_write.c:32)
---Thread-Announcement------------------------------------------
=================================================
./valgrind-new/helgrind/tests/hg02_deadlock.stderr.diff
=================================================
--- hg02_deadlock.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ hg02_deadlock.stderr.out 2018-05-06 00:22:48.563880463 +0000
@@ -3,8 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg02_deadlock.c:36)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/hg03_inherit.stderr.diff
=================================================
--- hg03_inherit.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ hg03_inherit.stderr.out 2018-05-06 00:22:52.473880463 +0000
@@ -3,8 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg03_inherit.c:46)
---Thread-Announcement------------------------------------------
=================================================
./valgrind-new/helgrind/tests/hg04_race.stderr.diff
=================================================
--- hg04_race.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ hg04_race.stderr.out 2018-05-06 00:22:54.433880463 +0000
@@ -3,15 +3,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg04_race.c:21)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg04_race.c:19)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ hg05_race2.stderr.out 2018-05-06 00:22:56.383880463 +0000
@@ -3,15 +3,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg05_race2.c:29)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg05_race2.c:27)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked1_fwd.stderr.diff
=================================================
--- locked_vs_unlocked1_fwd.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ locked_vs_unlocked1_fwd.stderr.out 2018-05-06 00:22:57.983880463 +0000
@@ -2,15 +2,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked1.c:34)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked1.c:29)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked1_rev.stderr.diff
=================================================
--- locked_vs_unlocked1_rev.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ locked_vs_unlocked1_rev.stderr.out 2018-05-06 00:22:59.283880463 +0000
@@ -2,15 +2,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked1.c:34)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked1.c:29)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ locked_vs_unlocked2.stderr.out 2018-05-06 00:23:00.593880463 +0000
@@ -2,15 +2,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:61)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:62)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked3.stderr.diff
=================================================
--- locked_vs_unlocked3.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ locked_vs_unlocked3.stderr.out 2018-05-06 00:23:01.903880463 +0000
@@ -2,15 +2,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked3.c:53)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked3.c:54)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ pth_barrier1.stderr.out 2018-05-06 00:23:02.193880463 +0000
@@ -2,17 +2,11 @@
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------------------------------------------
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ pth_barrier2.stderr.out 2018-05-06 00:23:02.493880463 +0000
@@ -2,17 +2,11 @@
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------------------------------------------
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2018-05-06 00:15:14.853860503 +0000
+++ pth_barrier3.stderr.out 2018-05-06 00:23:02.863880463 +0000
@@ -2,17 +2,11 @@
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------------------------------------------
=================================================
./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff
=================================================
--- pth_destroy_cond.stderr.exp 2018-05-06 00:15:14.863860503 +0000
+++ pth_destroy_cond.stderr.out 2018-05-06 00:23:03.163880463 +0000
@@ -2,8 +2,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (pth_destroy_cond.c:29)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff2
=================================================
--- pth_destroy_cond.stderr.exp2 2018-05-06 00:15:14.863860503 +0000
+++ pth_destroy_cond.stderr.out 2018-05-06 00:23:03.163880463 +0000
@@ -2,36 +2,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (pth_destroy_cond.c:29)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
- Lock at 0x........ was first observed
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (pth_destroy_cond.c:25)
- Address 0x........ is 0 bytes inside data symbol "mutex"
-
-Possible data race during read of size 1 at 0x........ by thread #x
-Locks held: 1, at address 0x........
- at 0x........: my_memcmp (hg_intercepts.c:...)
- by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
- by 0x........: ThreadFunction (pth_destroy_cond.c:18)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 4 by thread #x
-Locks held: none
- ...
- by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (pth_destroy_cond.c:31)
- Address 0x........ is 4 bytes inside data symbol "cond"
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/rwlock_race.stderr.diff
=================================================
--- rwlock_race.stderr.exp 2018-05-06 00:15:14.863860503 +0000
+++ rwlock_race.stderr.out 2018-05-06 00:23:04.223880463 +0000
@@ -3,15 +3,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (rwlock_race.c:48)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (rwlock_race.c:47)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc01_simple_race.stderr.diff
=================================================
--- tc01_simple_race.stderr.exp 2018-05-06 00:15:14.863860503 +0000
+++ tc01_simple_race.stderr.out 2018-05-06 00:23:13.603880463 +0000
@@ -7,8 +7,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc01_simple_race.c:22)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc05_simple_race.stderr.diff
=================================================
--- tc05_simple_race.stderr.exp 2018-05-06 00:15:14.873860503 +0000
+++ tc05_simple_race.stderr.out 2018-05-06 00:23:15.423880463 +0000
@@ -7,8 +7,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc05_simple_race.c:27)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc06_two_races.stderr.diff
=================================================
--- tc06_two_races.stderr.exp 2018-05-06 00:15:14.873860503 +0000
+++ tc06_two_races.stderr.out 2018-05-06 00:23:16.323880463 +0000
@@ -7,8 +7,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc06_two_races.c:26)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2018-05-06 00:15:14.873860503 +0000
+++ tc06_two_races_xml.stderr.out 2018-05-06 00:23:17.213880463 +0000
@@ -46,22 +46,6 @@
<hthreadid>2</hthreadid>
<stack>
<frame>...</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_create</fn>
- <dir>...</dir>
- <file>hg_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>tc06_two_races.c</file>
- <line>26</line>
- </frame>
</stack>
</announcethread>
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2018-05-06 00:15:14.873860503 +0000
+++ tc09_bad_unlock.stderr.out 2018-05-06 00:23:19.093880463 +0000
@@ -22,9 +22,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:35)
- by 0x........: main (tc09_bad_unlock.c:49)
----------------------------------------------------------------
@@ -100,9 +97,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:35)
- by 0x........: main (tc09_bad_unlock.c:50)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2018-05-06 00:15:14.873860503 +0000
+++ tc09_bad_unlock.stderr.out 2018-05-06 00:23:19.093880463 +0000
@@ -22,9 +22,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:35)
- by 0x........: main (tc09_bad_unlock.c:49)
----------------------------------------------------------------
@@ -53,7 +50,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)
@@ -100,9 +97,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:35)
- by 0x........: main (tc09_bad_unlock.c:50)
----------------------------------------------------------------
@@ -131,7 +125,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/tc14_laog_dinphils.stderr.diff
=================================================
--- tc14_laog_dinphils.stderr.exp 2018-05-06 00:15:14.883860503 +0000
+++ tc14_laog_dinphils.stderr.out 2018-05-06 00:23:21.793880463 +0000
@@ -3,8 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc14_laog_dinphils.c:39)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc16_byterace.stderr.diff
=================================================
--- tc16_byterace.stderr.exp 2018-05-06 00:15:14.883860503 +0000
+++ tc16_byterace.stderr.out 2018-05-06 00:23:23.053880463 +0000
@@ -7,8 +7,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc16_byterace.c:22)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc19_shadowmem.stderr.diff
=================================================
--- tc19_shadowmem.stderr.exp 2018-05-06 00:15:14.893860503 +0000
+++ tc19_shadowmem.stderr.out 2018-05-06 00:23:27.073880463 +0000
@@ -9,15 +9,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
---Thread-Announcement------------------------------------------
@@ -48,15 +44,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -83,15 +75,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -118,15 +106,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -153,15 +137,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -188,15 +168,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -223,15 +199,11 @@
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc19_shadowmem.stderr.diff-mips32
=================================================
--- tc19_shadowmem.stderr.exp-mips32 2018-05-06 00:15:14.913860503 +0000
+++ tc19_shadowmem.stderr.out 2018-05-06 00:23:27.073880463 +0000
@@ -9,15 +9,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
---Thread-Announcement------------------------------------------
@@ -48,15 +44,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -83,15 +75,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -118,15 +106,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -153,15 +137,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -188,15 +168,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -223,15 +199,11 @@
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc19_shadowmem.stderr.diff-mips32-BE
=================================================
--- tc19_shadowmem.stderr.exp-mips32-BE 2018-05-06 00:15:14.913860503 +0000
+++ tc19_shadowmem.stderr.out 2018-05-06 00:23:27.073880463 +0000
@@ -9,15 +9,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
---Thread-Announcement------------------------------------------
@@ -48,15 +44,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -83,15 +75,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -118,15 +106,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -153,15 +137,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -188,15 +168,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:173)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc19_shadowmem.c:172)
----------------------------------------------------------------
@@ -223,15 +199,11 @@
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2018-05-06 00:15:14.913860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,8 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:86)
----------------------------------------------------------------
@@ -144,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
@@ -235,15 +231,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 +243,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 2018-05-06 00:15:14.913860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,8 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:86)
----------------------------------------------------------------
@@ -57,6 +55,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:...)
@@ -136,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
@@ -157,10 +161,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)
+ 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 +179,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)
+ 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 +197,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)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +231,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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2018-05-06 00:15:14.913860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,8 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:86)
----------------------------------------------------------------
@@ -144,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2018-05-06 00:15:14.923860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,8 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:86)
----------------------------------------------------------------
@@ -33,7 +31,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 +42,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)
@@ -144,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2018-05-06 00:15:14.923860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,8 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:86)
----------------------------------------------------------------
@@ -33,7 +31,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 +42,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)
@@ -144,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
@@ -235,15 +231,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 +243,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 2018-05-06 00:15:14.923860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,9 +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 +25,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
----------------------------------------------------------------
@@ -146,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
@@ -167,10 +161,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)
+ 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 +179,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)
+ 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 +199,12 @@
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)
+ 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 2018-05-06 00:15:14.923860503 +0000
+++ tc20_verifywrap.stderr.out 2018-05-06 00:23:29.243880463 +0000
@@ -13,8 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:86)
----------------------------------------------------------------
@@ -33,7 +31,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 +41,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 +55,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 +72,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 +80,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 +95,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)
@@ -136,16 +142,14 @@
Thread #x: pthread_cond_{timed}wait called with un-held mutex
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:180)
+ ...
----------------------------------------------------------------
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)
+ by 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
---------------- pthread_rwlock_* ----------------
@@ -158,22 +162,13 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2018-05-06 00:15:14.923860503 +0000
+++ tc21_pthonce.stderr.out 2018-05-06 00:23:31.233880463 +0000
@@ -3,15 +3,11 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc21_pthonce.c:87)
---Thread-Announcement------------------------------------------
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc21_pthonce.c:87)
----------------------------------------------------------------
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2018-05-06 00:15:14.923860503 +0000
+++ tc22_exit_w_lock.stderr.out 2018-05-06 00:23:33.543880463 +0000
@@ -3,8 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc22_exit_w_lock.c:39)
----------------------------------------------------------------
@@ -13,10 +11,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
+ ...
+
+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:...)
- by 0x........: main (tc22_exit_w_lock.c:42)
----------------------------------------------------------------
@@ -27,10 +38,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 +45,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 2018-05-06 00:15:14.923860503 +0000
+++ tc22_exit_w_lock.stderr.out 2018-05-06 00:23:33.543880463 +0000
@@ -3,9 +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,25 +11,38 @@
---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
+ ...
+
+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)
----------------------------------------------------------------
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)
====================...
[truncated message content] |