|
From: <ma...@bu...> - 2017-10-29 03:34:17
|
valgrind revision: valgrind-3.14.0.GIT-2f9cceafa3-20171028
C compiler: gcc (GCC) 6.4.1 20170727 (Red Hat 6.4.1-1)
GDB: GNU gdb (GDB) Fedora 7.12.1-48.fc25
Assembler: GNU assembler version 2.26.1-1.fc25
C library: GNU C Library (GNU libc) stable release version 2.24
uname -mrs: Linux 4.12.9-200.fc25.s390x s390x
Vendor version: Fedora 25 (Twenty Five)
Nightly build on lfedora1 ( Fedora release 25 (Twenty Five), s390x )
Started at 2017-10-29 00:00:02 UTC
Ended at 2017-10-29 00:39:15 UTC
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
== 717 tests, 3 stderr failures, 1 stdout failure, 1 stderrB failure, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlcontrolc (stdoutB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
Last 20 lines of verbose log follow echo
globalerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris))
hackedbz2: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris))
hsg: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris))
preen_invars: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris))
stackerr: (skipping, prereq failed: ./is_arch_supported && (../../tests/os_test linux || ../../tests/os_test solaris))
-- Finished tests in exp-sgcheck/tests ---------------------------------
== 717 tests, 3 stderr failures, 1 stdout failure, 1 stderrB failure, 2 stdoutB failures, 0 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/nlcontrolc (stdoutB)
gdbserver_tests/nlvgdbsigqueue (stdoutB)
memcheck/tests/memcmptest (stderr)
memcheck/tests/wrap6 (stdout)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc20_verifywrap (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1341: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2017-10-29 00:19:46.273166313 +0000
+++ mcinfcallWSRU.stderrB.out 2017-10-29 00:21:41.603166313 +0000
@@ -21,7 +21,7 @@
41 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -30,7 +30,7 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -39,7 +39,7 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
=================================================
./valgrind-new/gdbserver_tests/nlcontrolc.stdoutB.diff
=================================================
--- nlcontrolc.stdoutB.exp 2017-10-29 00:19:46.273166313 +0000
+++ nlcontrolc.stdoutB.out 2017-10-29 00:22:05.103166313 +0000
@@ -1,6 +1,6 @@
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
* 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ...
$1 = 0
$2 = 0
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff
=================================================
--- nlvgdbsigqueue.stdoutB.exp 2017-10-29 00:19:46.273166313 +0000
+++ nlvgdbsigqueue.stdoutB.out 2017-10-29 00:22:19.263166313 +0000
@@ -1,16 +1,16 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
continuing to receive second SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris1
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris1 2017-10-29 00:19:46.273166313 +0000
+++ nlvgdbsigqueue.stdoutB.out 2017-10-29 00:22:19.263166313 +0000
@@ -1,16 +1,16 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris2
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris2 2017-10-29 00:19:46.273166313 +0000
+++ nlvgdbsigqueue.stdoutB.out 2017-10-29 00:22:19.263166313 +0000
@@ -1,17 +1,16 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
-[New Thread ....]
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-10-29 00:19:46.273166313 +0000
+++ tc12_rwl_trivial.stderr.out 2017-10-29 00:30:24.543166313 +0000
@@ -13,7 +13,16 @@
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 (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-10-29 00:19:46.273166313 +0000
+++ tc12_rwl_trivial.stderr.out 2017-10-29 00:30:24.543166313 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ 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........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-10-29 00:19:46.273166313 +0000
+++ tc12_rwl_trivial.stderr.out 2017-10-29 00:30:24.543166313 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-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 (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -168,7 +168,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -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,22 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +192,22 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +219,23 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -218,14 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -168,7 +168,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -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)
@@ -168,7 +168,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -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)
@@ -168,7 +168,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -235,15 +262,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:281)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:284)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -256,4 +274,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -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,22 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +192,22 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +221,21 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:58, in frame #x of thread x
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2017-10-29 00:19:46.283166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:30:46.423166313 +0000
@@ -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,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/memcmptest.stderr.diff
=================================================
--- memcmptest.stderr.exp 2017-10-29 00:19:46.293166313 +0000
+++ memcmptest.stderr.out 2017-10-29 00:24:05.473166313 +0000
@@ -1,4 +1,8 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: memcmp (vg_replace_strmem.c:...)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ by 0x........: main (memcmptest.c:13)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
by 0x........: main (memcmptest.c:13)
=================================================
./valgrind-new/memcheck/tests/memcmptest.stderr.diff2
=================================================
--- memcmptest.stderr.exp2 2017-10-29 00:19:46.293166313 +0000
+++ memcmptest.stderr.out 2017-10-29 00:24:05.473166313 +0000
@@ -2,3 +2,7 @@
at 0x........: bcmp (vg_replace_strmem.c:...)
by 0x........: main (memcmptest.c:13)
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ by 0x........: main (memcmptest.c:13)
+
=================================================
./valgrind-new/memcheck/tests/wrap6.stdout.diff
=================================================
--- wrap6.stdout.exp 2017-10-29 00:19:46.313166313 +0000
+++ wrap6.stdout.out 2017-10-29 00:26:18.013166313 +0000
@@ -1,26 +1,26 @@
fn_0 ...
fn_0 wrapper pre ()
-fn_0 wrapper post1 = 0
-fn_0 wrapper post2 = 0
- ... 0
+fn_0 wrapper post1 = -16775192
+fn_0 wrapper post2 = -16775192
+ ... -16775192
fn_1 ...
fn_1 wrapper pre ( 42 )
-fn_1 wrapper post1 = 103266
-fn_1 wrapper post2 = 103266
- ... 103266
+fn_1 wrapper post1 = -16775384
+fn_1 wrapper post2 = -16775384
+ ... -16775384
fn_2 ...
fn_2 wrapper pre ( 42, 43 )
-fn_2 wrapper post1 = -214431509
-fn_2 wrapper post2 = -214431509
- ... -214431509
+fn_2 wrapper post1 = -16775400
+fn_2 wrapper post2 = -16775400
+ ... -16775400
fn_3 ...
fn_3 wrapper pre ( 42, 43, 44 )
-fn_3 wrapper post1 = 1989904126
-fn_3 wrapper post2 = 1989904126
- ... 1989904126
+fn_3 wrapper post1 = -16775416
+fn_3 wrapper post2 = -16775416
+ ... -16775416
fn_4 ...
fn_4 wrapper pre ( 42, 43, 44, 45 )
@@ -29,41 +29,41 @@
fn_5 ...
fn_5 wrapper pre ( 42, 43, 44, 45, 46 )
-fn_5 wrapper post1 = 1634092959
- ... 1634092959
+fn_5 wrapper post1 = -16775400
+ ... -16775400
fn_6 ...
fn_6 wrapper pre ( 42, 43, 44, 45, 46, 47 )
-fn_6 wrapper post1 = -374837487
- ... -374837487
+fn_6 wrapper post1 = -16775408
+ ... -16775408
fn_7 ...
fn_7 wrapper pre ( 42, 43, 44, 45, 46, 47, 48 )
-fn_7 wrapper post1 = 1638123419
- ... 1638123419
+fn_7 wrapper post1 = -16775416
+ ... -16775416
fn_8 ...
fn_8 wrapper pre ( 42, 43, 44, 45, 46, 47, 48, 49 )
-fn_8 wrapper post1 = -1965881189
- ... -1965881189
+fn_8 wrapper post1 = -16775424
+ ... -16775424
fn_9 ...
fn_9 wrapper pre ( 42, 43, 44, 45, 46, 47, 48, 49, 50 )
-fn_9 wrapper post1 = 905366162
- ... 905366162
+fn_9 wrapper post1 = -16775432
+ ... -16775432
fn_10 ...
fn_10 wrapper pre ( 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 )
-fn_10 wrapper post1 = 731879658
- ... 731879658
+fn_10 wrapper post1 = -16775440
+ ... -16775440
fn_11 ...
fn_11 wrapper pre ( 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52 )
-fn_11 wrapper post1 = -947329748
- ... -947329748
+fn_11 wrapper post1 = -16775448
+ ... -16775448
fn_12 ...
fn_12 wrapper pre ( 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 )
-fn_12 wrapper post1 = -1058297150
- ... -1058297150
+fn_12 wrapper post1 = -16775456
+ ... -16775456
=================================================
./valgrind-old/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2017-10-29 00:00:15.933166313 +0000
+++ mcinfcallWSRU.stderrB.out 2017-10-29 00:02:14.593166313 +0000
@@ -21,7 +21,7 @@
41 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -30,7 +30,7 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 3 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
@@ -39,7 +39,7 @@
Thread status is VgTs_WaitSys
'
[Switching to thread 4 (Thread ....)]
-#0 0x........ in syscall ...
+#0 0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Could not write register "xxx"; remote failure reply 'E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
=================================================
./valgrind-old/gdbserver_tests/nlcontrolc.stdoutB.diff
=================================================
--- nlcontrolc.stdoutB.exp 2017-10-29 00:00:15.933166313 +0000
+++ nlcontrolc.stdoutB.out 2017-10-29 00:02:38.993166313 +0000
@@ -1,6 +1,6 @@
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
* 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ...
$1 = 0
$2 = 0
=================================================
./valgrind-old/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff
=================================================
--- nlvgdbsigqueue.stdoutB.exp 2017-10-29 00:00:15.933166313 +0000
+++ nlvgdbsigqueue.stdoutB.out 2017-10-29 00:02:53.093166313 +0000
@@ -1,16 +1,16 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
continuing to receive second SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-old/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris1
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris1 2017-10-29 00:00:15.933166313 +0000
+++ nlvgdbsigqueue.stdoutB.out 2017-10-29 00:02:53.093166313 +0000
@@ -1,16 +1,16 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-old/gdbserver_tests/nlvgdbsigqueue.stdoutB.diff-solaris2
=================================================
--- nlvgdbsigqueue.stdoutB.exp-solaris2 2017-10-29 00:00:15.933166313 +0000
+++ nlvgdbsigqueue.stdoutB.out 2017-10-29 00:02:53.093166313 +0000
@@ -1,17 +1,16 @@
continuing to have vgdb interrupted by simulate_control_c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
attachedwaitingforsigusr1
sending signal
sending signal
continuing to receive first SIGUSR1
Continuing.
-[New Thread ....]
Program received signal SIGUSR1, User defined signal 1.
-0x........ in syscall ...
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
continuing to receive second SIGUSR1
Continuing.
-Program received signal SIGTRAP, Trace/breakpoint trap.
-0x........ in syscall ...
+Program received signal SIGUSR1, User defined signal 1.
+0x........ in ?? () at ../sysdeps/unix/syscall-template.S:84
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
=================================================
./valgrind-old/helgrind/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2017-10-29 00:00:15.933166313 +0000
+++ tc12_rwl_trivial.stderr.out 2017-10-29 00:10:58.473166313 +0000
@@ -13,7 +13,16 @@
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 (tc12_rwl_trivial.c:18)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
=================================================
./valgrind-old/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2017-10-29 00:00:15.933166313 +0000
+++ tc12_rwl_trivial.stderr.out 2017-10-29 00:10:58.473166313 +0000
@@ -1,17 +1,31 @@
+---Thread-Announcement------------------------------------------
+
Thread #x is the program's root thread
+----------------------------------------------------------------
+
Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:24)
-
-Thread #x's call to pthread_rwlock_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_rwlock_unlock* (hg_intercepts.c:...)
- by 0x........: main (tc12_rwl_trivial.c:35)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc12_rwl_trivial.c:29)
+ 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........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2017-10-29 00:00:15.933166313 +0000
+++ tc12_rwl_trivial.stderr.out 2017-10-29 00:10:58.473166313 +0000
@@ -11,21 +11,21 @@
...
by 0x........: main (tc12_rwl_trivial.c:29)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
- by 0x........: main (tc12_rwl_trivial.c:18)
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Address 0x........ is on thread #x's stack
in frame #x, created by main (tc12_rwl_trivial.c:14)
-----------------------------------------------------------------
-
-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 (tc12_rwl_trivial.c:29)
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2017-10-29 00:00:15.933166313 +0000
+++ tc20_verifywrap.stderr.out 2017-10-29 00:11:19.973166313 +0000
@@ -168,7 +168,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:57, in frame #x of thread x
@@ -186,7 +195,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
Location 0x........ is 0 bytes inside local var "rwl2"
declared at tc20_verifywrap.c:58, in frame #x of thread x
@@ -206,7 +224,16 @@
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)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:......
[truncated message content] |