From: <ma...@bu...> - 2025-07-17 00:34:13
|
valgrind revision: valgrind-3.26.0.GIT-943e7070f3-20250716 C compiler: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GDB: GNU gdb (Fedora Linux) 15.2-4.fc40 Assembler: GNU assembler version 2.41-38.fc40 C library: GNU C Library (GNU libc) stable release version 2.39. uname -mrs: Linux 6.12.13-100.fc40.s390x s390x Vendor version: Fedora Linux 40 (Forty) Nightly build on lfedora1 ( Fedora release 40 (Forty), s390x ) Started at 2025-07-17 00:00:00 UTC Ended at 2025-07-17 00:25:20 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 == 895 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == drd/tests/bar_bad_xml (stderr) Last 20 lines of verbose log follow echo timestamp: valgrind --time-stamp=yes ./timestamp tls: valgrind ./tls track-fds-exec-children: valgrind -q --track-fds=yes --trace-children=yes ./track-fds-exec-children track_bad: valgrind -q --track-fds=bad ./track_bad track_high: valgrind -q --track-fds=yes --modify-fds=high ./track_std track_new: valgrind -q --track-fds=yes --modify-fds=high ./track_new track_yes: valgrind -q --track-fds=yes --modify-fds=yes ./track_std unit_debuglog: valgrind -q ./unit_debuglog use_after_close: valgrind -q --track-fds=yes ./use_after_close vgprintf: valgrind ./vgprintf vgprintf_nvalgrind: valgrind ./vgprintf_nvalgrind xml-track-fds: valgrind --track-fds=yes --xml=yes --xml-file=/dev/stderr ./../../tests/true -- Finished tests in none/tests == 895 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == drd/tests/bar_bad_xml (stderr) ...checking makefile consistency ...checking header files and include directives make: *** [Makefile:1455: regtest] Error 1 ================================================= == Results from 24 hours ago == ================================================= Checking out Valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 895 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2025-07-17 00:12:47.592066832 +0000 --- new.short 2025-07-17 00:25:20.552044403 +0000 *************** *** 4,6 **** Building valgrind ... done ! Running regression tests ... done --- 4,6 ---- Building valgrind ... done ! Running regression tests ... failed *************** *** 8,10 **** ! == 895 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --- 8,33 ---- ! == 895 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! drd/tests/bar_bad_xml (stderr) + + Last 20 lines of verbose log follow echo + timestamp: valgrind --time-stamp=yes ./timestamp + tls: valgrind ./tls + track-fds-exec-children: valgrind -q --track-fds=yes --trace-children=yes ./track-fds-exec-children + track_bad: valgrind -q --track-fds=bad ./track_bad + track_high: valgrind -q --track-fds=yes --modify-fds=high ./track_std + track_new: valgrind -q --track-fds=yes --modify-fds=high ./track_new + track_yes: valgrind -q --track-fds=yes --modify-fds=yes ./track_std + unit_debuglog: valgrind -q ./unit_debuglog + use_after_close: valgrind -q --track-fds=yes ./use_after_close + vgprintf: valgrind ./vgprintf + vgprintf_nvalgrind: valgrind ./vgprintf_nvalgrind + xml-track-fds: valgrind --track-fds=yes --xml=yes --xml-file=/dev/stderr ./../../tests/true + -- Finished tests in none/tests + + == 895 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == + drd/tests/bar_bad_xml (stderr) + + ...checking makefile consistency + ...checking header files and include directives + make: *** [Makefile:1455: regtest] Error 1 ================================================= ./valgrind-new/drd/tests/bar_bad_xml.stderr.diff ================================================= --- bar_bad_xml.stderr.exp 2025-07-17 00:12:48.302066810 +0000 +++ bar_bad_xml.stderr.out 2025-07-17 00:21:18.402051587 +0000 @@ -159,7 +159,7 @@ <unique>0x........</unique> <tid>...</tid> <kind>BarrierErr</kind> - <what>Destruction of a barrier with active waiters: barrier 0x........</what> + <what>Destruction of barrier not synchronized with barrier wait call: barrier 0x........</what> <stack> <frame> <ip>0x........</ip> @@ -178,6 +178,35 @@ <line>...</line> </frame> </stack> + <confl_wait_call> + <what>Conflicting wait call by thread 4:</what> + <stack> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>pthread_barrier_wait</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>sleep1</fn> + <dir>...</dir> + <file>bar_bad.c</file> + <line>...</line> + </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>vgDrd_thread_wrapper</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> + </stack> + </confl_wait_call> <first_observed_at> <what>barrier</what> <address>0x........</address> @@ -204,6 +233,31 @@ destroy a barrier that was never initialised +<error> + <unique>0x........</unique> + <tid>...</tid> + <kind>GenericErr</kind> + <what>Not a barrier</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> +</error> + <status> <state>FINISHED</state> <time>...</time> @@ -213,6 +267,10 @@ <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-freebsd ================================================= --- bar_bad_xml.stderr.exp-freebsd 2025-07-17 00:12:48.302066810 +0000 +++ bar_bad_xml.stderr.out 2025-07-17 00:21:18.402051587 +0000 @@ -159,7 +159,7 @@ <unique>0x........</unique> <tid>...</tid> <kind>BarrierErr</kind> - <what>Destruction of a barrier with active waiters: barrier 0x........</what> + <what>Destruction of barrier not synchronized with barrier wait call: barrier 0x........</what> <stack> <frame> <ip>0x........</ip> @@ -178,14 +178,13 @@ <line>...</line> </frame> </stack> - <first_observed_at> - <what>barrier</what> - <address>0x........</address> + <confl_wait_call> + <what>Conflicting wait call by thread 4:</what> <stack> <frame> <ip>0x........</ip> <obj>...</obj> - <fn>pthread_barrier_init</fn> + <fn>pthread_barrier_wait</fn> <dir>...</dir> <file>drd_pthread_intercepts.c</file> <line>...</line> @@ -193,29 +192,31 @@ <frame> <ip>0x........</ip> <obj>...</obj> - <fn>main</fn> + <fn>sleep1</fn> <dir>...</dir> <file>bar_bad.c</file> <line>...</line> </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>vgDrd_thread_wrapper</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> </stack> - </first_observed_at> -</error> - - -destroy a barrier that was never initialised -<error> - <unique>0x........</unique> - <tid>...</tid> - <kind>BarrierErr</kind> - <what>Destruction of barrier that is being waited upon: barrier 0x........</what> + </confl_wait_call> + <first_observed_at> + <what>barrier</what> + <address>0x........</address> <stack> <frame> <ip>0x........</ip> <obj>...</obj> - <fn>free</fn> + <fn>pthread_barrier_init</fn> <dir>...</dir> - <file>vg_replace_malloc.c</file> + <file>drd_pthread_intercepts.c</file> <line>...</line> </frame> <frame> @@ -227,14 +228,21 @@ <line>...</line> </frame> </stack> - <first_observed_at> - <what>barrier</what> - <address>0x........</address> + </first_observed_at> +</error> + + +destroy a barrier that was never initialised +<error> + <unique>0x........</unique> + <tid>...</tid> + <kind>GenericErr</kind> + <what>Not a barrier</what> <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> <truncated beyond 100 lines> ================================================= ./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-no-barrier ================================================= --- bar_bad_xml.stderr.exp-no-barrier 2025-07-17 00:12:48.302066810 +0000 +++ bar_bad_xml.stderr.out 2025-07-17 00:21:18.402051587 +0000 @@ -155,6 +155,82 @@ destroy a barrier that has waiting threads +<error> + <unique>0x........</unique> + <tid>...</tid> + <kind>BarrierErr</kind> + <what>Destruction of barrier not synchronized with barrier wait call: 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> + <confl_wait_call> + <what>Conflicting wait call by thread 4:</what> + <stack> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>pthread_barrier_wait</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>sleep1</fn> + <dir>...</dir> + <file>bar_bad.c</file> + <line>...</line> + </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>vgDrd_thread_wrapper</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> + </stack> + </confl_wait_call> + <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> @@ -182,7 +258,6 @@ </stack> </error> - <status> <state>FINISHED</state> <time>...</time> @@ -192,6 +267,10 @@ <pair> <count>...</count> <unique>0x........</unique> + </pair> + <pair> + <count>...</count> <truncated beyond 100 lines> ================================================= ./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang ================================================= --- bar_bad_xml.stderr.exp-nohang 2025-07-17 00:12:48.302066810 +0000 +++ bar_bad_xml.stderr.out 2025-07-17 00:21:18.402051587 +0000 @@ -159,7 +159,7 @@ <unique>0x........</unique> <tid>...</tid> <kind>BarrierErr</kind> - <what>Destruction of a barrier with active waiters: barrier 0x........</what> + <what>Destruction of barrier not synchronized with barrier wait call: barrier 0x........</what> <stack> <frame> <ip>0x........</ip> @@ -178,6 +178,35 @@ <line>...</line> </frame> </stack> + <confl_wait_call> + <what>Conflicting wait call by thread 4:</what> + <stack> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>pthread_barrier_wait</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>sleep1</fn> + <dir>...</dir> + <file>bar_bad.c</file> + <line>...</line> + </frame> + <frame> + <ip>0x........</ip> + <obj>...</obj> + <fn>vgDrd_thread_wrapper</fn> + <dir>...</dir> + <file>drd_pthread_intercepts.c</file> + <line>...</line> + </frame> + </stack> + </confl_wait_call> <first_observed_at> <what>barrier</what> <address>0x........</address> ================================================= ./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris ================================================= --- bar_bad_xml.stderr.exp-solaris 2025-07-17 00:12:48.302066810 +0000 +++ bar_bad_xml.stderr.out 2025-07-17 00:21:18.402051587 +0000 @@ -159,7 +159,7 @@ <unique>0x........</unique> <tid>...</tid> <kind>BarrierErr</kind> - <what>Destruction of a barrier with active waiters: barrier 0x........</what> + <what>Destruction of barrier not synchronized with barrier wait call: barrier 0x........</what> <stack> <frame> <ip>0x........</ip> @@ -178,14 +178,13 @@ <line>...</line> </frame> </stack> - <first_observed_at> - <what>barrier</what> - <address>0x........</address> + <confl_wait_call> + <what>Conflicting wait call by thread 4:</what> <stack> <frame> <ip>0x........</ip> <obj>...</obj> - <fn>pthread_barrier_init</fn> + <fn>pthread_barrier_wait</fn> <dir>...</dir> <file>drd_pthread_intercepts.c</file> <line>...</line> @@ -193,54 +192,31 @@ <frame> <ip>0x........</ip> <obj>...</obj> - <fn>main</fn> + <fn>sleep1</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>GenericErr</kind> - <what>Not a barrier</what> - <stack> <frame> <ip>0x........</ip> <obj>...</obj> - <fn>pthread_barrier_destroy</fn> + <fn>vgDrd_thread_wrapper</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> -</error> - -<error> - <unique>0x........</unique> - <tid>...</tid> - <kind>BarrierErr</kind> - <what>Destruction of barrier that is being waited upon: barrier 0x........</what> + </confl_wait_call> + <first_observed_at> + <what>barrier</what> + <address>0x........</address> <stack> <frame> <ip>0x........</ip> <obj>...</obj> - <fn>free</fn> + <fn>pthread_barrier_init</fn> <dir>...</dir> - <file>vg_replace_malloc.c</file> + <file>drd_pthread_intercepts.c</file> <line>...</line> </frame> <frame> @@ -252,14 +228,21 @@ <line>...</line> </frame> </stack> - <first_observed_at> - <what>barrier</what> - <address>0x........</address> + </first_observed_at> <truncated beyond 100 lines> |