|
From: <ma...@bu...> - 2019-03-28 01:34:24
|
valgrind revision: valgrind-3.15.0.GIT-92ecddd13e-20190327
C compiler: gcc (GCC) 8.2.1 20181105 (Red Hat 8.2.1-5)
GDB: GNU gdb (GDB) Fedora 8.1.1-3.fc28
Assembler: GNU assembler version 2.29.1-23.fc28
C library: GNU C Library (GNU libc) stable release version 2.27.
uname -mrs: Linux 4.19.5-200.fc28.s390x s390x
Vendor version: Fedora 28 (Twenty Eight)
Nightly build on lfedora1 ( Fedora release 28 (Twenty Eight), s390x )
Started at 2019-03-28 00:00:01 UTC
Ended at 2019-03-28 00:57:46 UTC
Results differ from 24 hours ago
Checking out Valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 748 tests, 51 stderr failures, 1 stdout failure, 0 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcsignopass (stdoutB)
gdbserver_tests/mcsigpass (stdoutB)
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)
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)
drd/tests/tc04_free_lock (stderr)
drd/tests/tls_threads (stderr)
Last 20 lines of verbose log follow echo
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)
drd/tests/tc04_free_lock (stderr)
drd/tests/tls_threads (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1354: regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out Valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 748 tests, 50 stderr failures, 1 stdout failure, 0 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcsignopass (stdoutB)
gdbserver_tests/mcsigpass (stdoutB)
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)
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)
drd/tests/tc04_free_lock (stderr)
Last 20 lines of verbose log follow echo
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)
drd/tests/tc04_free_lock (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1354: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2019-03-28 00:32:38.396026178 +0000
--- new.short 2019-03-28 00:57:46.356126177 +0000
***************
*** 8,10 ****
! == 748 tests, 50 stderr failures, 1 stdout failure, 0 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcsignopass (stdoutB)
--- 8,10 ----
! == 748 tests, 51 stderr failures, 1 stdout failure, 0 stderrB failures, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcsignopass (stdoutB)
***************
*** 62,63 ****
--- 62,64 ----
drd/tests/tc04_free_lock (stderr)
+ drd/tests/tls_threads (stderr)
***************
*** 65,67 ****
Last 20 lines of verbose log follow echo
- helgrind/tests/pth_destroy_cond (stderr)
helgrind/tests/rwlock_race (stderr)
--- 66,67 ----
***************
*** 81,82 ****
--- 81,83 ----
drd/tests/tc04_free_lock (stderr)
+ drd/tests/tls_threads (stderr)
=================================================
./valgrind-new/drd/tests/annotate_barrier.stderr.diff
=================================================
--- annotate_barrier.stderr.exp 2019-03-28 00:32:40.216026178 +0000
+++ annotate_barrier.stderr.out 2019-03-28 00:48:24.836096176 +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 2019-03-28 00:32:40.216026178 +0000
+++ annotate_barrier_xml.stderr.out 2019-03-28 00:48:26.936096176 +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/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2019-03-28 00:32:40.356026178 +0000
+++ tc04_free_lock.stderr.out 2019-03-28 00:52:41.846106176 +0000
@@ -7,28 +7,20 @@
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:26)
+ at 0x........: bar (tc04_free_lock.c:40)
+ by 0x........: ??? (in /home/mjw/valgrind-nightly/nightly/valgrind-new/helgrind/tests/tc04_free_lock)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: foo (tc04_free_lock.c:47)
- by 0x........: main (tc04_free_lock.c:27)
+ at 0x........: foo (tc04_free_lock.c:49)
+ by 0x........: ??? (in /home/mjw/valgrind-nightly/nightly/valgrind-new/helgrind/tests/tc04_free_lock)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-s390
=================================================
--- tc04_free_lock.stderr.exp-s390 2019-03-28 00:32:40.356026178 +0000
+++ tc04_free_lock.stderr.out 2019-03-28 00:52:41.846106176 +0000
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: ???
+ by 0x........: ??? (in /home/mjw/valgrind-nightly/nightly/valgrind-new/helgrind/tests/tc04_free_lock)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,7 +16,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: ???
+ by 0x........: ??? (in /home/mjw/valgrind-nightly/nightly/valgrind-new/helgrind/tests/tc04_free_lock)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2019-03-28 00:32:40.356026178 +0000
+++ tc04_free_lock.stderr.out 2019-03-28 00:52:41.846106176 +0000
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: ??? (in /home/mjw/valgrind-nightly/nightly/valgrind-new/helgrind/tests/tc04_free_lock)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +16,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: ??? (in /home/mjw/valgrind-nightly/nightly/valgrind-new/helgrind/tests/tc04_free_lock)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2019-03-28 00:32:40.406026178 +0000
+++ tls_threads.stderr.out 2019-03-28 00:53:20.006106176 +0000
@@ -1,2 +1,56 @@
starting join in main
-finished join in main
+
+drd: drd_thread.c:773 (vgDrd_thread_set_running_tid): Assertion 'drd_tid != DRD_INVALID_THREADID' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_thread_set_running_tid (drd_thread.c:?)
+ by 0x........: vgDrd_thread_set_vg_running_tid (drd_thread.c:?)
+ by 0x........: run_thread_for_a_while (scheduler.c:?)
+
+sched status:
+ running_tid=2
+
+Thread 1: status = VgTs_WaitSys syscall 238 (lwpid 15423)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (tls_threads.c:?)
+client stack range: [0x........ 0x........] client SP: 0x........
+valgrind stack range: [0x........ 0x........] top usage: 11528 of 1048576
+
+Thread 2: status = VgTs_Runnable (lwpid 15470)
+ at 0x........: madvise (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: ???
+client stack range: [0x........ 0x........] client SP: 0x........
+valgrind stack range: [0x........ 0x........] top usage: 13000 of 1048576
+
+Thread 4: status = VgTs_Init (lwpid 0)
+ at 0x........: clone (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+client stack range: [0x........ 0x........] client SP: 0x........
+valgrind stack range: [0x........ 0x........] top usage: 6952 of 1048576
+
+Thread 5: status = VgTs_WaitSys syscall 238 (lwpid 15448)
+ at 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
+client stack range: [0x........ 0x........] client SP: 0x........
+valgrind stack range: [0x........ 0x........] top usage: 12344 of 1048576
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/gdbserver_tests/mcsignopass.stdoutB.diff
=================================================
--- mcsignopass.stdoutB.exp 2019-03-28 00:32:40.536026178 +0000
+++ mcsignopass.stdoutB.out 2019-03-28 00:39:24.936056174 +0000
@@ -6,47 +6,47 @@
SIGFPE Yes Yes Yes Arithmetic exception
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Signal Stop Print Pass to program Description
SIGSEGV No Yes Yes Segmentation fault
=================================================
./valgrind-new/gdbserver_tests/mcsigpass.stdoutB.diff
=================================================
--- mcsigpass.stdoutB.exp 2019-03-28 00:32:40.536026178 +0000
+++ mcsigpass.stdoutB.out 2019-03-28 00:39:27.666056174 +0000
@@ -1,10 +1,10 @@
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test1 () at faultstatus.c:116
+test1 () at faultstatus.c:116
116 *BADADDR = 'x';
Continuing.
Program received signal SIGSEGV, Segmentation fault.
-0x........ in test2 () at faultstatus.c:121
+test2 () at faultstatus.c:121
121 mapping[0] = 'x';
Continuing.
Program received signal SIGBUS, Bus error.
=================================================
./valgrind-new/helgrind/tests/annotate_rwlock.stderr.diff
=================================================
--- annotate_rwlock.stderr.exp 2019-03-28 00:32:40.586026178 +0000
+++ annotate_rwlock.stderr.out 2019-03-28 00:46:31.486086176 +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 2019-03-28 00:32:40.596026178 +0000
+++ bar_bad.stderr.out 2019-03-28 00:46:46.016086176 +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 2019-03-28 00:32:40.596026178 +0000
+++ bar_bad.stderr.out 2019-03-28 00:46:46.016086176 +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 2019-03-28 00:32:40.596026178 +0000
+++ cond_timedwait_invalid.stderr.out 2019-03-28 00:46:52.556086176 +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 2019-03-28 00:32:40.606026178 +0000
+++ free_is_write.stderr.out 2019-03-28 00:46:55.196086176 +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 2019-03-28 00:32:40.606026178 +0000
+++ hg02_deadlock.stderr.out 2019-03-28 00:46:56.986086176 +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 2019-03-28 00:32:40.606026178 +0000
+++ hg03_inherit.stderr.out 2019-03-28 00:47:01.706086176 +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 2019-03-28 00:32:40.606026178 +0000
+++ hg04_race.stderr.out 2019-03-28 00:47:04.616086176 +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 2019-03-28 00:32:40.606026178 +0000
+++ hg05_race2.stderr.out 2019-03-28 00:47:07.376086176 +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)
----------------------------------------------------------------
@@ -26,8 +22,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +37,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked1_fwd.stderr.diff
=================================================
--- locked_vs_unlocked1_fwd.stderr.exp 2019-03-28 00:32:40.606026178 +0000
+++ locked_vs_unlocked1_fwd.stderr.out 2019-03-28 00:47:10.076086176 +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 2019-03-28 00:32:40.606026178 +0000
+++ locked_vs_unlocked1_rev.stderr.out 2019-03-28 00:47:11.866086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ locked_vs_unlocked2.stderr.out 2019-03-28 00:47:13.786086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ locked_vs_unlocked3.stderr.out 2019-03-28 00:47:15.716086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ pth_barrier1.stderr.out 2019-03-28 00:47:16.656086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ pth_barrier2.stderr.out 2019-03-28 00:47:17.496086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ pth_barrier3.stderr.out 2019-03-28 00:47:18.416086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ pth_destroy_cond.stderr.out 2019-03-28 00:47:19.236086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ pth_destroy_cond.stderr.out 2019-03-28 00:47:19.236086176 +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 2019-03-28 00:32:40.616026178 +0000
+++ rwlock_race.stderr.out 2019-03-28 00:47:21.186086176 +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 2019-03-28 00:32:40.626026178 +0000
+++ tc01_simple_race.stderr.out 2019-03-28 00:47:36.386086176 +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 2019-03-28 00:32:40.636026178 +0000
+++ tc05_simple_race.stderr.out 2019-03-28 00:47:40.776086176 +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 2019-03-28 00:32:40.636026178 +0000
+++ tc06_two_races.stderr.out 2019-03-28 00:47:42.736086176 +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 2019-03-28 00:32:40.636026178 +0000
+++ tc06_two_races_xml.stderr.out 2019-03-28 00:47:44.456086176 +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 2019-03-28 00:32:40.646026178 +0000
+++ tc09_bad_unlock.stderr.out 2019-03-28 00:47:47.756086176 +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 2019-03-28 00:32:40.646026178 +0000
+++ tc09_bad_unlock.stderr.out 2019-03-28 00:47:47.756086176 +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 2019-03-28 00:32:40.646026178 +0000
+++ tc14_laog_dinphils.stderr.out 2019-03-28 00:47:53.106086176 +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 2019-03-28 00:32:40.646026178 +0000
+++ tc16_byterace.stderr.out 2019-03-28 00:47:56.036086176 +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 2019-03-28 00:32:40.676026178 +0000
+++ tc19_shadowmem.stderr.out 2019-03-28 00:48:05.476086176 +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 2019-03-28 00:32:40.696026178 +0000
+++ tc19_shadowmem.stderr.out 2019-03-28 00:48:05.476086176 +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 2019-03-28 00:32:40.706026178 +0000
+++ tc19_shadowmem.stderr.out 2019-03-28 00:48:05.476086176 +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 2019-03-28 00:32:40.706026178 +0000
+++ tc20_verifywrap.stderr.out 2019-03-28 00:48:09.026086176 +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 2019-03-28 00:32:40.706026178 +0000
+++ tc20_verifywrap.stderr.out 2019-03-28 00:48:09.026086176 +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 2019-03-28 00:32:40.706026178 +0000
+++ tc20_verifywrap.stderr.out 2019-03-28 00:48:09.026086176 +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 2019-03-28 00:32:40.706026178 +0000
+++ tc20_verifywrap.stderr.out 2019-03-28 00:48:09.026086176 +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_* ----------------
======...
[truncated message content] |