|
From: <ma...@gc...> - 2022-12-26 08:32:09
|
valgrind revision: valgrind-3.21.0.GIT-67bb7eeec9-20221225
C compiler: gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.4) 4.8.4
GDB: GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1
Assembler: GNU assembler (GNU Binutils for Ubuntu) 2.24
C library: GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.15) stable release version 2.19
uname -mrs: Linux 3.13.0-170-generic aarch64
Vendor version: Ubuntu 14.04.6 LTS, Trusty Tahr
Nightly build on gcc114-arm64 ( Ubuntu 14.04 trusty aarch64 )
Started at 2022-12-26 00:00:01 PST
Ended at 2022-12-26 00:31:54 PST
Results differ from 24 hours ago
Checking out Valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... failed
Last 20 lines of verbose log follow echo
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -MT annotate_hbefore-annotate_hbefore.o -MD -MP -MF .deps/annotate_hbefore-annotate_hbefore.Tpo -c -o annotate_hbefore-annotate_hbefore.o `test -f 'annotate_hbefore.c' || echo './'`annotate_hbefore.c
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -std=c++17 -MT bug392331-bug392331.o -MD -MP -MF .deps/bug392331-bug392331.Tpo -c -o bug392331-bug392331.o `test -f 'bug392331.cpp' || echo './'`bug392331.cpp
depbase=`echo cond_init_destroy.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -MT cond_init_destroy.o -MD -MP -MF $depbase.Tpo -c -o cond_init_destroy.o cond_init_destroy.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo cond_timedwait_invalid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -MT cond_timedwait_invalid.o -MD -MP -MF $depbase.Tpo -c -o cond_timedwait_invalid.o cond_timedwait_invalid.c &&\
mv -f $depbase.Tpo $depbase.Po
g++: error: unrecognized command line option â-std=c++17â
make[4]: *** [bug392331-bug392331.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/annotate_hbefore-annotate_hbefore.Tpo .deps/annotate_hbefore-annotate_hbefore.Po
make[4]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new/helgrind/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new/helgrind/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new/helgrind'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new'
make: *** [check] Error 2
=================================================
== 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
== 644 tests, 21 stderr failures, 4 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/dw4 (stderr)
memcheck/tests/sigaltstack (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo4 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/varinfo6 (stderr)
memcheck/tests/varinforestrict (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_mutex_signal (stderr)
drd/tests/std_mutex (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
drd/tests/timed_mutex (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
Last 20 lines of verbose log follow echo
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/pth_mutex_signal (stderr)
drd/tests/std_mutex (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
drd/tests/timed_mutex (stderr)
none/tests/bigcode (stdout)
none/tests/bigcode (stderr)
none/tests/map_unmap (stdout)
none/tests/map_unmap (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/stackgrowth (stdout)
none/tests/stackgrowth (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2022-12-26 00:27:08.963860507 -0800
--- new.short 2022-12-26 00:31:54.626487581 -0800
***************
*** 3,59 ****
Configuring valgrind ... done
! Building valgrind ... done
! Running regression tests ... failed
!
! Regression test results follow
!
! == 644 tests, 21 stderr failures, 4 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures ==
! gdbserver_tests/hginfo (stderrB)
! gdbserver_tests/hgtls (stdoutB)
! memcheck/tests/dw4 (stderr)
! memcheck/tests/sigaltstack (stderr)
! memcheck/tests/supp_unknown (stderr)
! memcheck/tests/varinfo2 (stderr)
! memcheck/tests/varinfo3 (stderr)
! memcheck/tests/varinfo4 (stderr)
! memcheck/tests/varinfo5 (stderr)
! memcheck/tests/varinfo6 (stderr)
! memcheck/tests/varinforestrict (stderr)
! helgrind/tests/hg05_race2 (stderr)
! helgrind/tests/tc09_bad_unlock (stderr)
! helgrind/tests/tc20_verifywrap (stderr)
! drd/tests/pth_mutex_signal (stderr)
! drd/tests/std_mutex (stderr)
! drd/tests/tc04_free_lock (stderr)
! drd/tests/tc09_bad_unlock (stderr)
! drd/tests/timed_mutex (stderr)
! none/tests/bigcode (stdout)
! none/tests/bigcode (stderr)
! none/tests/map_unmap (stdout)
! none/tests/map_unmap (stderr)
! none/tests/sigstackgrowth (stdout)
! none/tests/sigstackgrowth (stderr)
! none/tests/stackgrowth (stdout)
! none/tests/stackgrowth (stderr)
!
Last 20 lines of verbose log follow echo
! helgrind/tests/hg05_race2 (stderr)
! helgrind/tests/tc09_bad_unlock (stderr)
! helgrind/tests/tc20_verifywrap (stderr)
! drd/tests/pth_mutex_signal (stderr)
! drd/tests/std_mutex (stderr)
! drd/tests/tc04_free_lock (stderr)
! drd/tests/tc09_bad_unlock (stderr)
! drd/tests/timed_mutex (stderr)
! none/tests/bigcode (stdout)
! none/tests/bigcode (stderr)
! none/tests/map_unmap (stdout)
! none/tests/map_unmap (stderr)
! none/tests/sigstackgrowth (stdout)
! none/tests/sigstackgrowth (stderr)
! none/tests/stackgrowth (stdout)
! none/tests/stackgrowth (stderr)
!
! ...checking makefile consistency
! ...checking header files and include directives
! make: *** [regtest] Error 1
--- 3,26 ----
Configuring valgrind ... done
! Building valgrind ... failed
Last 20 lines of verbose log follow echo
! gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -MT annotate_hbefore-annotate_hbefore.o -MD -MP -MF .deps/annotate_hbefore-annotate_hbefore.Tpo -c -o annotate_hbefore-annotate_hbefore.o `test -f 'annotate_hbefore.c' || echo './'`annotate_hbefore.c
! g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -std=c++17 -MT bug392331-bug392331.o -MD -MP -MF .deps/bug392331-bug392331.Tpo -c -o bug392331-bug392331.o `test -f 'bug392331.cpp' || echo './'`bug392331.cpp
! depbase=`echo cond_init_destroy.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
! gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -MT cond_init_destroy.o -MD -MP -MF $depbase.Tpo -c -o cond_init_destroy.o cond_init_destroy.c &&\
! mv -f $depbase.Tpo $depbase.Po
! depbase=`echo cond_timedwait_invalid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
! gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -MT cond_timedwait_invalid.o -MD -MP -MF $depbase.Tpo -c -o cond_timedwait_invalid.o cond_timedwait_invalid.c &&\
! mv -f $depbase.Tpo $depbase.Po
! g++: error: unrecognized command line option â-std=c++17â
! make[4]: *** [bug392331-bug392331.o] Error 1
! make[4]: *** Waiting for unfinished jobs....
! mv -f .deps/annotate_hbefore-annotate_hbefore.Tpo .deps/annotate_hbefore-annotate_hbefore.Po
! make[4]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new/helgrind/tests'
! make[3]: *** [check-am] Error 2
! make[3]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new/helgrind/tests'
! make[2]: *** [check-recursive] Error 1
! make[2]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new/helgrind'
! make[1]: *** [check-recursive] Error 1
! make[1]: Leaving directory `/home/mark/valgrind-nightly/nightly/valgrind-new'
! make: *** [check] Error 2
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
vg_perf: './bigcode' not found or not a file (.)
-- Running tests in perf ----------------------------------------------
Command exited with non-zero status 2
0.01user 0.00system 0:00.01elapsed 55%CPU (0avgtext+0avgdata 2844maxresident)k
0inputs+8outputs (0major+1485minor)pagefaults 0swaps
=================================================
./valgrind-old/drd/tests/pth_mutex_signal.stderr.diff
=================================================
--- pth_mutex_signal.stderr.exp 2022-12-26 00:00:31.956858804 -0800
+++ pth_mutex_signal.stderr.out 2022-12-26 00:20:56.429559356 -0800
@@ -4,12 +4,44 @@
thread created
sleeping
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........: clone (in /...libc...)
+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
+sleeping
+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/std_mutex.stderr.diff
=================================================
--- std_mutex.stderr.exp 2022-12-26 00:00:31.946859761 -0800
+++ std_mutex.stderr.out 2022-12-26 00:22:57.097995846 -0800
@@ -1,4 +1,16 @@
-Done.
+terminate called after throwing an instance of 'std::system_error'
+ what(): Enable multithreading to use std::thread: Operation not permitted
+
+Process terminating with default action of signal 6 (SIGABRT)
+ at 0x........: raise (raise.c:?)
+ by 0x........: abort (abort.c:?)
+ by 0x........: __gnu_cxx::__verbose_terminate_handler() (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: ??? (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: std::terminate() (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: __cxa_rethrow (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: void std::vector<std::thread, std::allocator<std::thread> >::_M_emplace_back_aux<main::{lambda()#1}>(main::{lambda()#1}&&) (vector.tcc:426)
+ by 0x........: void std::vector<std::thread, std::allocator<std::thread> >::emplace_back<main::{lambda()#1}>(main::{lambda()#1}&&) (vector.tcc:101)
+ by 0x........: main (std_mutex.cpp:?)
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-12-26 00:00:31.936860719 -0800
+++ tc04_free_lock.stderr.out 2022-12-26 00:23:25.905235315 -0800
@@ -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........: (below main)
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........: (below main)
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-12-26 00:00:31.936860719 -0800
+++ tc04_free_lock.stderr.out 2022-12-26 00:23:25.905235315 -0800
@@ -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........: (below main)
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........: (below main)
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-12-26 00:00:31.946859761 -0800
+++ tc04_free_lock.stderr.out 2022-12-26 00:23:25.905235315 -0800
@@ -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........: (below main)
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........: (below main)
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/drd/tests/tc09_bad_unlock.stderr.diff-freebsd
=================================================
--- tc09_bad_unlock.stderr.exp-freebsd 2022-12-26 00:00:31.956858804 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -19,9 +19,14 @@
by 0x........: main (tc09_bad_unlock.c:52)
Thread 1:
+The object at address 0x........ is not a mutex.
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
+ by 0x........: main (tc09_bad_unlock.c:52)
+
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: main (tc09_bad_unlock.c:52)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
@@ -37,13 +42,10 @@
by 0x........: nearly_main (tc09_bad_unlock.c:24)
by 0x........: main (tc09_bad_unlock.c:53)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: main (tc09_bad_unlock.c:53)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:32)
+The object at address 0x........ is not a mutex.
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:53)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-freebsd-clang
=================================================
--- tc09_bad_unlock.stderr.exp-freebsd-clang 2022-12-26 00:00:31.946859761 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -19,9 +19,14 @@
by 0x........: main (tc09_bad_unlock.c:52)
Thread 1:
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:39)
+The object at address 0x........ is not a mutex.
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:52)
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
+ at 0x........: nearly_main (tc09_bad_unlock.c:48)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
@@ -37,13 +42,10 @@
by 0x........: nearly_main (tc09_bad_unlock.c:24)
by 0x........: main (tc09_bad_unlock.c:53)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:39)
- by 0x........: main (tc09_bad_unlock.c:53)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:32)
+The object at address 0x........ is not a mutex.
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:53)
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2022-12-26 00:00:31.946859761 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:53)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:32)
- by 0x........: main (tc09_bad_unlock.c:53)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-ppc
=================================================
--- tc09_bad_unlock.stderr.exp-ppc 2022-12-26 00:00:31.946859761 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -25,8 +25,8 @@
by 0x........: main (tc09_bad_unlock.c:52)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:43)
- by 0x........: main (tc09_bad_unlock.c:52)
+ at 0x........: nearly_main (tc09_bad_unlock.c:48)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:53)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:43)
- by 0x........: main (tc09_bad_unlock.c:53)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:32)
- by 0x........: main (tc09_bad_unlock.c:53)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-s390
=================================================
--- tc09_bad_unlock.stderr.exp-s390 2022-12-26 00:00:31.946859761 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: ???
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2022-12-26 00:00:31.936860719 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -6,6 +6,7 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:24)
+ by 0x........: main (tc09_bad_unlock.c:52)
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
@@ -15,19 +16,21 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
+ by 0x........: main (tc09_bad_unlock.c:52)
Thread 1:
The object at address 0x........ is not a mutex.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:43)
- by 0x........: main (tc09_bad_unlock.c:5)
+ by 0x........: main (tc09_bad_unlock.c:52)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: main (tc09_bad_unlock.c:52)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
+ by 0x........: main (tc09_bad_unlock.c:52)
---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
@@ -37,18 +40,12 @@
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:24)
+ by 0x........: main (tc09_bad_unlock.c:53)
The object at address 0x........ is not a mutex.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:53)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: main (tc09_bad_unlock.c:53)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:32)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-x86
=================================================
--- tc09_bad_unlock.stderr.exp-x86 2022-12-26 00:00:31.946859761 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:23:31.254722687 -0800
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: main (tc09_bad_unlock.c:52)
+ by 0x........: (below main)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:32)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:43)
by 0x........: main (tc09_bad_unlock.c:53)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:48)
- by 0x........: main (tc09_bad_unlock.c:53)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:32)
- by 0x........: main (tc09_bad_unlock.c:53)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/timed_mutex.stderr.diff
=================================================
--- timed_mutex.stderr.exp 2022-12-26 00:00:31.936860719 -0800
+++ timed_mutex.stderr.out 2022-12-26 00:24:22.959767944 -0800
@@ -1,3 +1,16 @@
+terminate called after throwing an instance of 'std::system_error'
+ what(): Enable multithreading to use std::thread: Operation not permitted
+
+Process terminating with default action of signal 6 (SIGABRT)
+ at 0x........: raise (raise.c:?)
+ by 0x........: abort (abort.c:?)
+ by 0x........: __gnu_cxx::__verbose_terminate_handler() (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: ??? (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: std::terminate() (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: __cxa_throw (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.19)
+ by 0x........: std::thread::thread<void (&)()>(void (&)()) (thread:...)
+ by 0x........: main (timed_mutex.cpp:?)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2022-12-26 00:00:31.816872212 -0800
+++ hginfo.stderrB.out 2022-12-26 00:07:09.758756486 -0800
@@ -11,6 +11,10 @@
...
Block was alloc'd by thread #x
Lock ga 0x........ {
+ Address 0x........ is 2440 bytes inside data symbol "_rtld_local"
+ kind mbRec
+}
+Lock ga 0x........ {
Address 0x........ is 0 bytes inside data symbol "mx"
kind mbRec
{ W1:thread #x tid #x }
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2022-12-26 00:00:31.816872212 -0800
+++ hgtls.stdoutB.out 2022-12-26 00:07:13.288418415 -0800
@@ -8,38 +8,8 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_local tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
-55 int here = 0;
-test so_global tls_ip 0x........ ip 0x........ equal 1
-Program exited normally.
+A debugging session is active.
+ Inferior 1 [Remote target] will be detached.
+Quit anyway? (y or n) [answered Y; input not from terminal]
+Detaching from program: /home/mark/valgrind-nightly/nightly/valgrind-old/none/tests/tls, Remote target
+Ending remote debugging.
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2022-12-26 00:00:32.116843480 -0800
+++ hg05_race2.stderr.out 2022-12-26 00:14:19.787569343 -0800
@@ -26,8 +26,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 +41,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-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2022-12-26 00:00:32.116843480 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:15:17.941997371 -0800
@@ -39,7 +39,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:52)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
----------------------------------------------------------------
@@ -117,7 +116,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:52)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
----------------------------------------------------------------
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff-freebsd
=================================================
--- tc09_bad_unlock.stderr.exp-freebsd 2022-12-26 00:00:32.116843480 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:15:17.941997371 -0800
@@ -18,15 +18,6 @@
in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:28)
- by 0x........: main (tc09_bad_unlock.c:52)
-
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -48,18 +39,24 @@
by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:52)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
----------------------------------------------------------------
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
+ by 0x........: main (tc09_bad_unlock.c:52)
+
+----------------------------------------------------------------
+
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........: child_fn (tc09_bad_unlock.c:12)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
+ by 0x........: main (tc09_bad_unlock.c:52)
---------------------
----------------------------------------------------------------
@@ -79,15 +76,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
- at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:28)
- by 0x........: main (tc09_bad_unlock.c:53)
-
-----------------------------------------------------------------
-
Thread #x: Attempt to re-lock a non-recursive lock I already hold
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
@@ -128,18 +116,24 @@
by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:52)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
----------------------------------------------------------------
+Thread #x unlocked an invalid lock at 0x........
+ at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
+ by 0x........: main (tc09_bad_unlock.c:53)
+
+----------------------------------------------------------------
+
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........: child_fn (tc09_bad_unlock.c:12)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
+ by 0x........: nearly_main (tc09_bad_unlock.c:43)
+ by 0x........: main (tc09_bad_unlock.c:53)
----------------------------------------------------------------
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff-solaris
=================================================
--- tc09_bad_unlock.stderr.exp-solaris 2022-12-26 00:00:32.096845395 -0800
+++ tc09_bad_unlock.stderr.out 2022-12-26 00:15:17.941997371 -0800
@@ -39,7 +39,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:52)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
----------------------------------------------------------------
@@ -53,7 +52,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:43)
@@ -117,7 +116,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:52)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:17)
----------------------------------------------------------------
@@ -131,7 +129,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:43)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2022-12-26 00:00:32.096845395 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -169,8 +169,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2022-12-26 00:00:32.096845395 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,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)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +183,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)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +201,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)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -224,6 +241,7 @@
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)
@@ -238,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2022-12-26 00:00:32.116843480 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -169,8 +169,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -235,6 +235,15 @@
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
@@ -247,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2022-12-26 00:00:32.106844437 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -169,8 +169,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -235,6 +235,15 @@
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
@@ -247,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2022-12-26 00:00:32.106844437 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -44,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -169,8 +169,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(1) no error on next line
@@ -187,8 +187,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
(4) no error on next line
@@ -207,8 +207,8 @@
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
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -238,7 +238,7 @@
----------------------------------------------------------------
Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
...
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2022-12-26 00:00:32.106844437 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
@@ -167,10 +165,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)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +183,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)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +203,12 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:232)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:201)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc20_verifywrap.c:49)
@@ -229,6 +235,15 @@
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
@@ -241,4 +256,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2022-12-26 00:00:32.106844437 -0800
+++ tc20_verifywrap.stderr.out 2022-12-26 00:15:44.659436915 -0800
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+Thread #x's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:117)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_...
[truncated message content] |