From: <ma...@gc...> - 2022-05-09 09:21:35
|
valgrind revision: valgrind-3.20.0.GIT-54ee45d208-20220509 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-05-09 00:00:01 PDT Ended at 2022-05-09 02:21:24 PDT Results unchanged from 24 hours ago Checking out Valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 638 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 --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.20s no: 3.6s (17.8x, -----) me: 7.8s (39.0x, -----) ca:34.8s (174.1x, -----) he: 4.2s (20.8x, -----) ca: 9.5s (47.3x, -----) dr: 4.1s (20.7x, -----) ma: 4.3s (21.6x, -----) bigcode1 valgrind-old:0.20s no: 3.6s (17.8x, -0.3%) me: 7.8s (39.1x, -0.3%) ca:34.9s (174.3x, -0.1%) he: 4.1s (20.6x, 1.0%) ca: 9.5s (47.4x, -0.2%) dr: 4.1s (20.7x, 0.0%) ma: 4.3s (21.6x, -0.2%) -- bigcode2 -- bigcode2 valgrind-new:0.20s no: 9.1s (45.5x, -----) me:18.4s (92.0x, -----) ca:61.0s (304.8x, -----) he:10.8s (53.9x, -----) ca:16.5s (82.4x, -----) dr:10.4s (52.0x, -----) ma:10.5s (52.7x, -----) bigcode2 valgrind-old:0.20s no: 9.1s (45.4x, 0.2%) me:18.4s (91.8x, 0.3%) ca:61.1s (305.4x, -0.2%) he:10.8s (53.8x, 0.1%) ca:16.5s (82.7x, -0.3%) dr:10.3s (51.7x, 0.4%) ma:10.6s (52.8x, -0.1%) -- bz2 -- bz2 valgrind-new:1.12s no: 3.9s ( 3.5x, -----) me:14.2s (12.7x, -----) ca:39.7s (35.4x, -----) he:19.6s (17.5x, -----) ca:30.6s (27.4x, -----) dr:29.0s (25.9x, -----) ma: 4.2s ( 3.7x, -----) bz2 valgrind-old:1.12s no: 3.9s ( 3.5x, 0.5%) me:14.2s (12.7x, 0.2%) ca:39.6s (35.3x, 0.2%) he:19.7s (17.6x, -0.4%) ca:30.6s (27.3x, 0.1%) dr:28.9s (25.8x, 0.1%) ma: 4.2s ( 3.7x, -0.5%) -- fbench -- fbench valgrind-new:0.54s no: 3.9s ( 7.2x, -----) me: 8.2s (15.2x, -----) ca:16.6s (30.7x, -----) he: 6.9s (12.8x, -----) ca:10.4s (19.3x, -----) dr: 8.2s (15.2x, -----) ma: 4.1s ( 7.6x, -----) fbench valgrind-old:0.54s no: 4.0s ( 7.5x, -3.6%) me: 8.2s (15.2x, 0.0%) ca:16.6s (30.7x, -0.1%) he: 6.9s (12.7x, 0.4%) ca:10.5s (19.4x, -0.2%) dr: 8.3s (15.4x, -1.1%) ma: 4.2s ( 7.7x, -1.0%) -- ffbench -- ffbench valgrind-new:0.52s no: 2.9s ( 5.6x, -----) me: 5.6s (10.8x, -----) ca: 5.9s (11.3x, -----) he:13.9s (26.8x, -----) ca:10.8s (20.8x, -----) dr: 9.8s (18.9x, -----) ma: 3.1s ( 6.0x, -----) ffbench valgrind-old:0.52s no: 2.9s ( 5.6x, 1.0%) me: 5.6s (10.8x, 0.0%) ca: 5.9s (11.3x, -0.2%) he:13.9s (26.7x, 0.6%) ca:10.9s (20.9x, -0.2%) dr: 9.8s (18.9x, 0.0%) ma: 3.1s ( 6.0x, -0.3%) -- heap -- heap valgrind-new:0.54s no: 2.5s ( 4.7x, -----) me:10.8s (19.9x, -----) ca:22.3s (41.3x, -----) he:16.3s (30.2x, -----) ca:13.0s (24.1x, -----) dr:10.2s (18.8x, -----) ma: 6.0s (11.2x, -----) heap valgrind-old:0.54s no: 2.5s ( 4.7x, -0.4%) me:10.6s (19.7x, 1.0%) ca:22.4s (41.4x, -0.3%) he:16.2s (30.1x, 0.5%) ca:13.1s (24.2x, -0.5%) dr:10.3s (19.1x, -1.5%) ma: 6.1s (11.2x, -0.7%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.56s no: 2.7s ( 4.8x, -----) me:17.7s (31.6x, -----) ca:24.3s (43.4x, -----) he:18.1s (32.4x, -----) ca:14.5s (25.9x, -----) dr:11.7s (20.8x, -----) ma: 6.1s (10.9x, -----) heap_pdb4 valgrind-old:0.56s no: 2.6s ( 4.7x, 1.5%) me:17.8s (31.7x, -0.5%) ca:24.3s (43.4x, 0.0%) he:18.2s (32.5x, -0.3%) ca:14.5s (25.9x, 0.0%) dr:11.8s (21.0x, -0.9%) ma: 6.1s (10.9x, 0.7%) -- many-loss-records -- many-loss-records valgrind-new:0.06s no: 0.6s (10.3x, -----) me: 3.1s (52.0x, -----) ca: 3.4s (56.7x, -----) he: 2.6s (42.8x, -----) ca: 2.4s (39.8x, -----) dr: 2.4s (39.7x, -----) ma: 1.7s (27.7x, -----) many-loss-records valgrind-old:0.06s no: 0.7s (11.0x, -6.5%) me: 3.1s (51.2x, 1.6%) ca: 3.4s (56.5x, 0.3%) he: 2.6s (42.8x, 0.0%) ca: 2.4s (39.8x, 0.0%) dr: 2.4s (39.7x, 0.0%) ma: 1.6s (27.5x, 0.6%) -- many-xpts -- many-xpts valgrind-new:0.11s no: 0.9s ( 8.0x, -----) me: 3.4s (31.1x, -----) ca: 8.1s (73.8x, -----) he: 4.3s (39.5x, -----) ca: 3.5s (32.0x, -----) dr: 3.4s (30.9x, -----) ma: 3.5s (31.8x, -----) many-xpts valgrind-old:0.11s no: 0.9s ( 7.9x, 1.1%) me: 3.4s (30.6x, 1.5%) ca: 8.1s (73.6x, 0.2%) he: 4.3s (39.0x, 1.2%) ca: 3.5s (31.8x, 0.6%) dr: 3.4s (30.6x, 0.9%) ma: 3.5s (31.8x, 0.0%) -- memrw -- memrw valgrind-new:0.30s no: 1.1s ( 3.6x, -----) me: 2.6s ( 8.6x, -----) ca: 8.7s (28.8x, -----) he:13.6s (45.2x, -----) ca: 4.1s (13.8x, -----) dr: 3.1s (10.3x, -----) ma: 1.4s ( 4.7x, -----) memrw valgrind-old:0.30s no: 1.1s ( 3.7x, -0.9%) me: 2.6s ( 8.7x, -1.9%) ca: 8.7s (28.8x, 0.0%) he:13.7s (45.5x, -0.7%) ca: 4.1s (13.7x, 0.7%) dr: 3.1s (10.3x, -0.6%) ma: 1.4s ( 4.8x, -2.1%) -- sarp -- sarp valgrind-new:0.03s no: 0.6s (18.3x, -----) me: 3.7s (124.7x, -----) ca: 4.5s (149.0x, -----) he:10.6s (351.7x, -----) ca: 2.4s (78.7x, -----) dr: 2.0s (65.7x, -----) ma: 0.8s (25.3x, -----) sarp valgrind-old:0.03s no: 0.5s (17.7x, 3.6%) me: 3.8s (125.7x, -0.8%) ca: 4.5s (150.7x, -1.1%) he:10.5s (350.0x, 0.5%) ca: 2.3s (78.0x, 0.8%) dr: 2.0s (65.3x, 0.5%) ma: 0.8s (26.0x, -2.6%) -- tinycc -- tinycc valgrind-new:0.40s no: 4.7s (11.7x, -----) me:22.1s (55.2x, -----) ca:45.8s (114.4x, -----) he:21.6s (54.0x, -----) ca:36.2s (90.6x, -----) dr:19.9s (49.9x, -----) ma: 6.0s (15.0x, -----) tinycc valgrind-old:0.40s no: 4.7s (11.7x, 0.0%) me:22.2s (55.6x, -0.6%) ca:45.7s (114.3x, 0.1%) he:21.5s (53.8x, 0.4%) ca:36.2s (90.6x, -0.1%) dr:19.9s (49.8x, 0.2%) ma: 6.0s (15.1x, -0.5%) -- Finished tests in perf ---------------------------------------------- == 12 programs, 168 timings ================= 5380.11user 40.28system 1:30:25elapsed 99%CPU (0avgtext+0avgdata 531900maxresident)k 0inputs+481376outputs (0major+14745532minor)pagefaults 0swaps ================================================= ./valgrind-new/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-05-09 00:25:46.144727195 -0700 +++ pth_mutex_signal.stderr.out 2022-05-09 00:45:09.122650214 -0700 @@ -6,10 +6,42 @@ 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 +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/std_mutex.stderr.diff ================================================= --- std_mutex.stderr.exp 2022-05-09 00:25:46.144727195 -0700 +++ std_mutex.stderr.out 2022-05-09 00:47:02.961681163 -0700 @@ -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-new/drd/tests/tc04_free_lock.stderr.diff-ppc ================================================= --- tc04_free_lock.stderr.exp-ppc 2022-05-09 00:25:46.134728159 -0700 +++ tc04_free_lock.stderr.out 2022-05-09 00:47:30.329044143 -0700 @@ -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-new/drd/tests/tc04_free_lock.stderr.diff-s390 ================================================= --- tc04_free_lock.stderr.exp-s390 2022-05-09 00:25:46.134728159 -0700 +++ tc04_free_lock.stderr.out 2022-05-09 00:47:30.329044143 -0700 @@ -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-new/drd/tests/tc04_free_lock.stderr.diff-x86 ================================================= --- tc04_free_lock.stderr.exp-x86 2022-05-09 00:25:46.144727195 -0700 +++ tc04_free_lock.stderr.out 2022-05-09 00:47:30.329044143 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-freebsd ================================================= --- tc09_bad_unlock.stderr.exp-freebsd 2022-05-09 00:25:46.154726230 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-freebsd-clang ================================================= --- tc09_bad_unlock.stderr.exp-freebsd-clang 2022-05-09 00:25:46.144727195 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2022-05-09 00:25:46.144727195 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc ================================================= --- tc09_bad_unlock.stderr.exp-ppc 2022-05-09 00:25:46.144727195 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-s390 ================================================= --- tc09_bad_unlock.stderr.exp-s390 2022-05-09 00:25:46.144727195 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-solaris ================================================= --- tc09_bad_unlock.stderr.exp-solaris 2022-05-09 00:25:46.134728159 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/tc09_bad_unlock.stderr.diff-x86 ================================================= --- tc09_bad_unlock.stderr.exp-x86 2022-05-09 00:25:46.144727195 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:47:35.608535429 -0700 @@ -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-new/drd/tests/timed_mutex.stderr.diff ================================================= --- timed_mutex.stderr.exp 2022-05-09 00:25:46.134728159 -0700 +++ timed_mutex.stderr.out 2022-05-09 00:48:25.453732507 -0700 @@ -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-new/gdbserver_tests/hginfo.stderrB.diff ================================================= --- hginfo.stderrB.exp 2022-05-09 00:25:46.024738766 -0700 +++ hginfo.stderrB.out 2022-05-09 00:32:01.448543901 -0700 @@ -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-new/gdbserver_tests/hgtls.stdoutB.diff ================================================= --- hgtls.stdoutB.exp 2022-05-09 00:25:46.024738766 -0700 +++ hgtls.stdoutB.out 2022-05-09 00:32:04.868214423 -0700 @@ -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-new/none/tests/tls, Remote target +Ending remote debugging. ================================================= ./valgrind-new/helgrind/tests/hg05_race2.stderr.diff ================================================= --- hg05_race2.stderr.exp 2022-05-09 00:25:46.304711765 -0700 +++ hg05_race2.stderr.out 2022-05-09 00:38:49.589219625 -0700 @@ -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-new/helgrind/tests/tc09_bad_unlock.stderr.diff ================================================= --- tc09_bad_unlock.stderr.exp 2022-05-09 00:25:46.304711765 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:39:45.093871635 -0700 @@ -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) ---------------------------------------------------------------- ================================================= ./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff-freebsd ================================================= --- tc09_bad_unlock.stderr.exp-freebsd 2022-05-09 00:25:46.304711765 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:39:45.093871635 -0700 @@ -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:...) @@ -133,13 +121,20 @@ ---------------------------------------------------------------- +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-new/helgrind/tests/tc09_bad_unlock.stderr.diff-solaris ================================================= --- tc09_bad_unlock.stderr.exp-solaris 2022-05-09 00:25:46.284713694 -0700 +++ tc09_bad_unlock.stderr.out 2022-05-09 00:39:45.093871635 -0700 @@ -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) @@ -131,7 +130,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-new/helgrind/tests/tc20_verifywrap.stderr.diff ================================================= --- tc20_verifywrap.stderr.exp 2022-05-09 00:25:46.284713694 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18 ================================================= --- tc20_verifywrap.stderr.exp-glibc-2.18 2022-05-09 00:25:46.284713694 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21 ================================================= --- tc20_verifywrap.stderr.exp-glibc-2.21 2022-05-09 00:25:46.304711765 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32 ================================================= --- tc20_verifywrap.stderr.exp-mips32 2022-05-09 00:25:46.294712730 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b ================================================= --- tc20_verifywrap.stderr.exp-mips32-b 2022-05-09 00:25:46.294712730 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x ================================================= --- tc20_verifywrap.stderr.exp-s390x 2022-05-09 00:25:46.294712730 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris ================================================= --- tc20_verifywrap.stderr.exp-solaris 2022-05-09 00:25:46.294712730 -0700 +++ tc20_verifywrap.stderr.out 2022-05-09 00:40:10.271445714 -0700 @@ -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_timedlock failed - with error code 1 (EPERM: Operation not permitted) + with error code 22 (EINVAL: Invalid argument) at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...) by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:136) @@ -89,7 +97,7 @@ ---------------------------------------------------------------- Thread #x's call to pthread_mutex_unlock failed - with error code 1 (EPERM: Operation not permitted) + with error code 22 (EINVAL: Invalid argument) at 0x........: mutex_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_mutex_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:140) @@ -142,7 +150,7 @@ ---------------------------------------------------------------- Thread #x's call to pthread_cond_timedwait failed - with error code 1 (EPERM: Operation not permitted) + with error code 22 (EINVAL: Invalid argument) at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...) by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:180) @@ -158,22 +166,13 @@ ... by 0x........: main (tc20_verifywrap.c:194) Lock at 0x........ was first observed - at 0x........: pthread_rwlock_init (hg_intercepts.c:...) - ... + 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 rwl.__pthread_rwlock_readers, - 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) ----------------------------------------------------------------- - -Thread #x's call to pthread_rwlock_unlock failed - with error code 1 (EPERM: Operation not permitted) - at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) - by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) - ... - by 0x........: main (tc20_verifywrap.c:194) - <truncated beyond 100 lines> ================================================= ./valgrind-new/memcheck/tests/dw4.stderr.diff ================================================= --- dw4.stderr.exp 2022-05-09 00:25:46.074733945 -0700 +++ dw4.stderr.out 2022-05-09 00:33:46.318439868 -0700 @@ -14,8 +14,8 @@ Uninitialised byte(s) found during client check request at 0x........: croak (dw4.c:32) by 0x........: main (dw4.c:62) - Location 0x........ is 0 bytes inside local.i, - declared at dw4.c:51, in frame #1 of thread 1 + Address 0x........ is on thread 1's stack + in frame #1, created by main (dw4.c:50) Uninitialised byte(s) found during client check request at 0x........: croak (dw4.c:32) ================================================= ./valgrind-new/memcheck/tests/dw4.stderr.diff-freebsd ================================================= --- dw4.stderr.exp-freebsd 2022-05-09 00:25:46.094732016 -0700 +++ dw4.stderr.out 2022-05-09 00:33:46.318439868 -0700 @@ -14,8 +14,8 @@ Uninitialised byte(s) found during client check request at 0x........: croak (dw4.c:32) by 0x........: main (dw4.c:62) - Location 0x........ is 0 bytes inside local.i, - declared at dw4.c:51, in frame #1 of thread 1 + Address 0x........ is on thread 1's stack + in frame #1, created by main (dw4.c:50) Uninitialised byte(s) found during client check request at 0x........: croak (dw4.c:32) @@ -27,8 +27,8 @@ by 0x........: main (dw4.c:82) Address 0x........ is in a rw- mapped file valgrind-dw4-test.PID segment -Uninitialised byte(s) found during client check request - at 0x........: croak (dw4.c:32) +Unaddressable byte(s) found during client check request + at 0x........: croak (dw4.c:25) by 0x........: main (dw4.c:87) Address 0x........ is 0 bytes after the brk data segment limit 0x........ ================================================= ./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris ================================================= --- dw4.stderr.exp-solaris 2022-05-09 00:25:46.104731052 -0700 +++ dw4.stderr.out 2022-05-09 00:33:46.318439868 -0700 @@ -14,8 +14,8 @@ Uninitialised byte(s) found during client check request at 0x........: croak (dw4.c:32) by 0x........: main (dw4.c:62) - Location 0x........ is 0 bytes inside local.i, - declared at dw4.c:51, in frame #1 of thread 1 + Address 0x........ is on thread 1's stack + in frame #1, crea... [truncated message content] |