|
From: <ma...@bu...> - 2022-04-11 00:34:18
|
valgrind revision: valgrind-3.19.0.RC2-2b33a318d8-20220410
C compiler: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
GDB: GNU gdb (GDB) Fedora 11.1-5.fc34
Assembler: GNU assembler version 2.35.2-6.fc34
C library: GNU C Library (GNU libc) release release version 2.33.
uname -mrs: Linux 5.16.9-100.fc34.s390x s390x
Vendor version: Fedora 34 (Thirty Four)
Nightly build on lfedora1 ( Fedora release 34 (Thirty Four), s390x )
Started at 2022-04-11 00:00:01 UTC
Ended at 2022-04-11 00:24:32 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
== 779 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/bar_bad_xml (stderr)
drd/tests/pth_mutex_signal (stderr)
drd/tests/shared_timed_mutex (stderr)
drd/tests/tc04_free_lock (stderr)
Last 20 lines of verbose log follow echo
threaded-fork: valgrind ./threaded-fork
threadederrno: valgrind -q ./threadederrno
timestamp: valgrind --time-stamp=yes ./timestamp
tls: valgrind ./tls
unit_debuglog: valgrind -q ./unit_debuglog
vgprintf: valgrind ./vgprintf
vgprintf_nvalgrind: valgrind ./vgprintf_nvalgrind
-- Finished tests in none/tests ----------------------------------------
== 779 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/bar_bad_xml (stderr)
drd/tests/pth_mutex_signal (stderr)
drd/tests/shared_timed_mutex (stderr)
drd/tests/tc04_free_lock (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1418: 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
== 779 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/pth_mutex_signal (stderr)
drd/tests/shared_timed_mutex (stderr)
drd/tests/tc04_free_lock (stderr)
Last 20 lines of verbose log follow echo
thread-exits: valgrind ./thread-exits
threaded-fork: valgrind ./threaded-fork
threadederrno: valgrind -q ./threadederrno
timestamp: valgrind --time-stamp=yes ./timestamp
tls: valgrind ./tls
unit_debuglog: valgrind -q ./unit_debuglog
vgprintf: valgrind ./vgprintf
vgprintf_nvalgrind: valgrind ./vgprintf_nvalgrind
-- Finished tests in none/tests ----------------------------------------
== 779 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/pth_mutex_signal (stderr)
drd/tests/shared_timed_mutex (stderr)
drd/tests/tc04_free_lock (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1418: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2022-04-11 00:12:25.156837891 +0000
--- new.short 2022-04-11 00:24:32.536749669 +0000
***************
*** 8,12 ****
! == 779 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/pth_mutex_signal (stderr)
--- 8,13 ----
! == 779 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
+ drd/tests/bar_bad_xml (stderr)
drd/tests/pth_mutex_signal (stderr)
***************
*** 17,19 ****
Last 20 lines of verbose log follow echo
- thread-exits: valgrind ./thread-exits
threaded-fork: valgrind ./threaded-fork
--- 18,19 ----
***************
*** 27,31 ****
! == 779 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/pth_mutex_signal (stderr)
--- 27,32 ----
! == 779 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
+ drd/tests/bar_bad_xml (stderr)
drd/tests/pth_mutex_signal (stderr)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2022-04-11 00:12:25.776837891 +0000
+++ bar_bad_xml.stderr.out 2022-04-11 00:20:23.296790999 +0000
@@ -155,11 +155,13 @@
destroy a barrier that has waiting threads
+
+destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
+ <kind>GenericErr</kind>
+ <what>Not a barrier</what>
<stack>
<frame>
<ip>0x........</ip>
@@ -178,33 +180,9 @@
<line>...</line>
</frame>
</stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
</error>
-destroy a barrier that was never initialised
-
<status>
<state>FINISHED</state>
<time>...</time>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-freebsd
=================================================
--- bar_bad_xml.stderr.exp-freebsd 2022-04-11 00:12:25.776837891 +0000
+++ bar_bad_xml.stderr.out 2022-04-11 00:20:23.296790999 +0000
@@ -155,86 +155,18 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>free</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
+ <kind>GenericErr</kind>
+ <what>Not a barrier</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_init</fn>
+ <fn>pthread_barrier_destroy</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -248,7 +180,6 @@
<line>...</line>
</frame>
</stack>
- </first_observed_at>
</error>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2022-04-11 00:12:25.776837891 +0000
+++ bar_bad_xml.stderr.out 2022-04-11 00:20:23.296790999 +0000
@@ -155,53 +155,6 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
destroy a barrier that was never initialised
<error>
@@ -239,10 +192,6 @@
<pair>
<count>...</count>
<unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
</pair>
<pair>
<count>...</count>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2022-04-11 00:12:25.776837891 +0000
+++ bar_bad_xml.stderr.out 2022-04-11 00:20:23.296790999 +0000
@@ -155,53 +155,6 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
destroy a barrier that was never initialised
<error>
@@ -229,53 +182,6 @@
</stack>
</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>free</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/pth_mutex_signal.stderr.diff
=================================================
--- pth_mutex_signal.stderr.exp 2022-04-11 00:12:25.806837891 +0000
+++ pth_mutex_signal.stderr.out 2022-04-11 00:21:16.806790999 +0000
@@ -6,10 +6,43 @@
signalling
sleeping
nullHandler running
-unlocking
+Thread 2:
+The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 1.
+ at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: contender_start (pth_mutex_signal.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: start_thread
+ by 0x........: ??? (in /...libc...)
+ by 0x........: ???
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
contender locked mutex
contender unlocking mutex
contender unlocked mutex
+unlocking
+Thread 1:
+Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
joining thread
+Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
+ at 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 0.
+ at 0x........: main (pth_mutex_signal.c:?)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/shared_timed_mutex.stderr.diff
=================================================
--- shared_timed_mutex.stderr.exp 2022-04-11 00:12:25.816837891 +0000
+++ shared_timed_mutex.stderr.out 2022-04-11 00:21:41.596790999 +0000
@@ -1,3 +1,4 @@
+Lock shared failed
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2022-04-11 00:12:25.816837891 +0000
+++ tc04_free_lock.stderr.out 2022-04-11 00:22:18.796780963 +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 2022-04-11 00:12:25.816837891 +0000
+++ tc04_free_lock.stderr.out 2022-04-11 00:22:18.796780963 +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 2022-04-11 00:12:25.816837891 +0000
+++ tc04_free_lock.stderr.out 2022-04-11 00:22:18.796780963 +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/helgrind/tests/pth_mempcpy_false_races.stderr.diff
=================================================
--- pth_mempcpy_false_races.stderr.exp 2022-04-11 00:12:25.886837891 +0000
+++ pth_mempcpy_false_races.stderr.out 2022-04-11 00:18:58.076790999 +0000
@@ -0,0 +1,224 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (pth_mempcpy_false_races.c:38)
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (pth_mempcpy_false_races.c:37)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 1,602 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 2 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 1,604 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 1,612 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 1,613 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 1,732 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/vbit-test/vbit-test.stderr.diff
=================================================
--- vbit-test.stderr.exp 2022-04-11 00:12:26.156837891 +0000
+++ vbit-test.stderr.out 2022-04-11 00:18:08.006807864 +0000
@@ -0,0 +1,3 @@
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
=================================================
./valgrind-old/drd/tests/pth_mutex_signal.stderr.diff
=================================================
--- pth_mutex_signal.stderr.exp 2022-04-11 00:00:19.456914395 +0000
+++ pth_mutex_signal.stderr.out 2022-04-11 00:09:09.536853702 +0000
@@ -6,10 +6,43 @@
signalling
sleeping
nullHandler running
-unlocking
+Thread 2:
+The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 1.
+ at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: contender_start (pth_mutex_signal.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: start_thread
+ by 0x........: ??? (in /...libc...)
+ by 0x........: ???
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
contender locked mutex
contender unlocking mutex
contender unlocked mutex
+unlocking
+Thread 1:
+Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
joining thread
+Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
+ at 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 0.
+ at 0x........: main (pth_mutex_signal.c:?)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_mutex_signal.c:?)
+
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/shared_timed_mutex.stderr.diff
=================================================
--- shared_timed_mutex.stderr.exp 2022-04-11 00:00:19.456914395 +0000
+++ shared_timed_mutex.stderr.out 2022-04-11 00:09:34.366853702 +0000
@@ -1,3 +1,4 @@
+Lock shared failed
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-ppc
=================================================
--- tc04_free_lock.stderr.exp-ppc 2022-04-11 00:00:19.456914395 +0000
+++ tc04_free_lock.stderr.out 2022-04-11 00:10:11.136853702 +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-old/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-old/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-old/drd/tests/tc04_free_lock.stderr.diff-s390
=================================================
--- tc04_free_lock.stderr.exp-s390 2022-04-11 00:00:19.456914395 +0000
+++ tc04_free_lock.stderr.out 2022-04-11 00:10:11.136853702 +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-old/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-old/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-old/drd/tests/tc04_free_lock.stderr.diff-x86
=================================================
--- tc04_free_lock.stderr.exp-x86 2022-04-11 00:00:19.456914395 +0000
+++ tc04_free_lock.stderr.out 2022-04-11 00:10:11.136853702 +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-old/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-old/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-old/helgrind/tests/pth_mempcpy_false_races.stderr.diff
=================================================
--- pth_mempcpy_false_races.stderr.exp 2022-04-11 00:00:19.466914395 +0000
+++ pth_mempcpy_false_races.stderr.out 2022-04-11 00:06:50.666874353 +0000
@@ -0,0 +1,202 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (pth_mempcpy_false_races.c:37)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: main (pth_mempcpy_false_races.c:44)
+ Address 0x........ is 1,602 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 2 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: main (pth_mempcpy_false_races.c:44)
+ Address 0x........ is 1,604 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: main (pth_mempcpy_false_races.c:44)
+ Address 0x........ is 1,612 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: main (pth_mempcpy_false_races.c:44)
+ Address 0x........ is 1,613 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (pth_mempcpy_false_races.c:38)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 1,852 bytes inside a block of size 4,096 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+ by 0x........: thread2 (pth_mempcpy_false_races.c:30)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+Possible data race during write of size 1 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: thread3 (pth_mempcpy_false_races.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/vbit-test/vbit-test.stderr.diff
=================================================
--- vbit-test.stderr.exp 2022-04-11 00:00:19.506914395 +0000
+++ vbit-test.stderr.out 2022-04-11 00:06:00.496874353 +0000
@@ -0,0 +1,3 @@
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
|