|
From: Rich C. <rc...@wi...> - 2015-08-13 05:02:03
|
valgrind revision: 15530
VEX revision: 3169
C compiler: gcc (SUSE Linux) 4.8.5
GDB: GNU gdb (GDB; openSUSE Factory) 7.9
Assembler: GNU assembler (GNU Binutils; openSUSE Factory) 2.25.0
C library: GNU C Library (GNU libc) stable release version 2.21 (git 4e42b5b8f89f)
uname -mrs: Linux 4.1.4-1-desktop x86_64
Vendor version: openSUSE 20150810 (Tumbleweed)
Nightly build on rodan ( Linux 4.1.4-1-desktop x86_64 )
Started at 2015-08-12 19:22:02 CDT
Ended at 2015-08-13 00:01:48 CDT
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 640 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc12_rwl_trivial (stderr)
drd/tests/tc18_semabuse (stderr)
Last 20 lines of verbose log follow echo
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 640 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc12_rwl_trivial (stderr)
drd/tests/tc18_semabuse (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1332: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 640 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc12_rwl_trivial (stderr)
drd/tests/tc18_semabuse (stderr)
Last 20 lines of verbose log follow echo
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 640 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc12_rwl_trivial (stderr)
drd/tests/tc18_semabuse (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1332: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Wed Aug 12 20:23:32 2015
--- new.short Wed Aug 12 21:23:51 2015
***************
*** 8,10 ****
! == 640 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
--- 8,10 ----
! == 640 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
***************
*** 13,14 ****
--- 13,15 ----
massif/tests/overloaded-new (post)
+ helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
***************
*** 21,23 ****
Last 20 lines of verbose log follow echo
- ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
--- 22,23 ----
***************
*** 26,28 ****
! == 640 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
--- 26,28 ----
! == 640 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
***************
*** 31,32 ****
--- 31,33 ----
massif/tests/overloaded-new (post)
+ helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
+ perl perf/vg_perf --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old perf
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.48s no: 7.5s (15.7x, -----) me:14.2s (29.6x, -----) ca:63.0s (131.2x, -----) he: 9.5s (19.8x, -----) ca:17.9s (37.2x, -----) dr: 9.0s (18.8x, -----) ma: 8.8s (18.4x, -----)
bigcode1 valgrind-old:0.48s no: 7.5s (15.7x, -0.1%) me:14.2s (29.6x, 0.0%) ca:62.4s (130.0x, 0.9%) he: 9.5s (19.7x, 0.5%) ca:17.9s (37.2x, -0.1%) dr: 9.1s (18.9x, -0.2%) ma: 8.8s (18.3x, 0.3%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.0s (36.7x, -----) me:35.7s (72.9x, -----) ca:100.2s (204.4x, -----) he:23.6s (48.1x, -----) ca:31.6s (64.6x, -----) dr:21.2s (43.3x, -----) ma:20.8s (42.4x, -----)
bigcode2 valgrind-old:0.49s no:18.0s (36.8x, -0.3%) me:35.7s (72.8x, 0.1%) ca:100.4s (205.0x, -0.3%) he:23.4s (47.9x, 0.5%) ca:31.7s (64.7x, -0.2%) dr:21.3s (43.5x, -0.6%) ma:20.6s (42.1x, 0.7%)
-- bz2 --
bz2 valgrind-new:2.33s no: 7.8s ( 3.4x, -----) me:25.1s (10.8x, -----) ca:59.9s (25.7x, -----) he:39.2s (16.8x, -----) ca:51.5s (22.1x, -----) dr:54.2s (23.3x, -----) ma: 7.4s ( 3.2x, -----)
bz2 valgrind-old:2.33s no: 7.8s ( 3.4x, -0.1%) me:25.0s (10.7x, 0.5%) ca:58.6s (25.1x, 2.2%) he:39.4s (16.9x, -0.4%) ca:51.3s (22.0x, 0.3%) dr:53.7s (23.0x, 0.9%) ma: 7.4s ( 3.2x, 0.4%)
-- fbench --
fbench valgrind-new:1.45s no: 5.2s ( 3.6x, -----) me:17.7s (12.2x, -----) ca:28.1s (19.4x, -----) he:13.6s ( 9.4x, -----) ca:16.4s (11.3x, -----) dr:13.9s ( 9.6x, -----) ma: 5.4s ( 3.7x, -----)
fbench valgrind-old:1.45s no: 5.3s ( 3.6x, -0.4%) me:17.8s (12.3x, -0.7%) ca:27.9s (19.3x, 0.7%) he:13.6s ( 9.4x, 0.0%) ca:16.6s (11.4x, -1.0%) dr:13.8s ( 9.5x, 0.8%) ma: 5.4s ( 3.7x, -0.2%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.5s ( 3.5x, -----) me:12.5s (12.5x, -----) ca: 8.2s ( 8.2x, -----) he:21.1s (21.1x, -----) ca:20.0s (20.0x, -----) dr:17.2s (17.2x, -----) ma: 3.5s ( 3.5x, -----)
ffbench valgrind-old:1.00s no: 3.5s ( 3.5x, 0.3%) me:12.5s (12.5x, 0.1%) ca: 8.3s ( 8.3x, -1.2%) he:21.1s (21.1x, 0.0%) ca:20.0s (20.0x, -0.1%) dr:17.2s (17.2x, -0.1%) ma: 3.5s ( 3.5x, 0.6%)
-- heap --
heap valgrind-new:0.45s no: 3.1s ( 7.0x, -----) me:21.9s (48.7x, -----) ca:34.8s (77.3x, -----) he:30.2s (67.2x, -----) ca:15.4s (34.3x, -----) dr:20.2s (45.0x, -----) ma:21.3s (47.2x, -----)
heap valgrind-old:0.45s no: 3.1s ( 6.9x, 1.0%) me:22.0s (48.9x, -0.4%) ca:34.4s (76.4x, 1.2%) he:30.5s (67.7x, -0.8%) ca:15.3s (34.0x, 0.8%) dr:20.8s (46.3x, -2.9%) ma:21.1s (46.9x, 0.8%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.56s no: 3.4s ( 6.1x, -----) me:38.6s (68.9x, -----) ca:36.5s (65.1x, -----) he:34.3s (61.3x, -----) ca:17.7s (31.6x, -----) dr:22.6s (40.4x, -----) ma:22.4s (39.9x, -----)
heap_pdb4 valgrind-old:0.56s no: 3.4s ( 6.1x, 0.3%) me:37.8s (67.4x, 2.1%) ca:35.8s (63.8x, 2.0%) he:35.2s (62.8x, -2.5%) ca:17.6s (31.4x, 0.4%) dr:23.0s (41.1x, -1.6%) ma:22.5s (40.2x, -0.8%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.1s (21.8x, -----) me: 6.0s (120.0x, -----) ca: 5.1s (102.8x, -----) he: 5.3s (106.0x, -----) ca: 3.1s (61.8x, -----) dr: 4.9s (97.4x, -----) ma: 4.6s (91.4x, -----)
many-loss-records valgrind-old:0.05s no: 1.1s (22.0x, -0.9%) me: 6.3s (125.6x, -4.7%) ca: 5.1s (102.0x, 0.8%) he: 5.3s (106.2x, -0.2%) ca: 3.1s (61.2x, 1.0%) dr: 5.0s (99.6x, -2.3%) ma: 4.7s (93.6x, -2.4%)
-- many-xpts --
many-xpts valgrind-new:0.15s no: 1.4s ( 9.1x, -----) me: 7.4s (49.5x, -----) ca:13.8s (91.9x, -----) he: 9.5s (63.6x, -----) ca: 4.5s (29.9x, -----) dr: 6.6s (44.3x, -----) ma: 6.9s (45.9x, -----)
many-xpts valgrind-old:0.15s no: 1.4s ( 9.0x, 1.5%) me: 7.5s (50.1x, -1.2%) ca:13.8s (91.7x, 0.2%) he: 9.6s (63.9x, -0.5%) ca: 4.5s (30.3x, -1.1%) dr: 6.7s (44.9x, -1.4%) ma: 7.0s (46.7x, -1.6%)
-- memrw --
memrw valgrind-new:0.29s no: 2.2s ( 7.7x, -----) me: 5.4s (18.5x, -----) ca:13.1s (45.0x, -----) he:21.9s (75.4x, -----) ca: 9.0s (30.9x, -----) dr: 5.6s (19.4x, -----) ma: 2.3s ( 8.0x, -----)
memrw valgrind-old:0.29s no: 2.2s ( 7.7x, 0.0%) me: 5.3s (18.4x, 0.6%) ca:13.1s (45.0x, 0.0%) he:22.0s (76.0x, -0.8%) ca: 9.0s (30.9x, 0.0%) dr: 5.7s (19.6x, -0.9%) ma: 2.3s ( 8.0x, 0.4%)
-- sarp --
sarp valgrind-new:0.11s no: 1.3s (11.9x, -----) me: 9.2s (83.8x, -----) ca: 8.6s (77.7x, -----) he:24.5s (222.6x, -----) ca: 4.3s (39.2x, -----) dr: 4.6s (41.5x, -----) ma: 1.4s (12.3x, -----)
sarp valgrind-old:0.11s no: 1.3s (11.9x, 0.0%) me: 9.1s (83.1x, 0.9%) ca: 8.5s (77.3x, 0.6%) he:24.5s (222.7x, -0.0%) ca: 4.3s (39.2x, 0.0%) dr: 4.5s (41.3x, 0.7%) ma: 1.3s (12.2x, 0.7%)
-- tinycc --
tinycc valgrind-new:0.76s no: 7.4s ( 9.8x, -----) me:37.6s (49.5x, -----) ca:49.0s (64.5x, -----) he:45.1s (59.3x, -----) ca:38.9s (51.2x, -----) dr:37.8s (49.7x, -----) ma:11.6s (15.2x, -----)
tinycc valgrind-old:0.76s no: 7.4s ( 9.8x, -0.1%) me:38.0s (49.9x, -0.8%) ca:49.1s (64.6x, -0.2%) he:45.0s (59.2x, 0.2%) ca:38.8s (51.1x, 0.2%) dr:37.9s (49.8x, -0.2%) ma:11.5s (15.1x, 0.6%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 157m57.219s
user 156m7.421s
sys 1m33.156s
=================================================
./valgrind-new/drd/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2015-08-12 20:23:50.594267503 -0500
+++ tc12_rwl_trivial.stderr.out 2015-08-12 21:19:58.132910872 -0500
@@ -6,5 +6,31 @@
at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc12_rwl_trivial.c:18)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: _xend (pthread_rwlock_unlock.c:?)
+ by 0x........: pthread_rwlock_unlock (pthread_rwlock_unlock.c:?)
+ by 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc12_rwl_trivial.c:29)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: _xend (pthread_rwlock_unlock.c:?)
+ by 0x........: pthread_rwlock_unlock (pthread_rwlock_unlock.c:?)
+ by 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc12_rwl_trivial.c:29)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2015-08-12 20:23:50.751269258 -0500
+++ tc18_semabuse.stderr.out 2015-08-12 21:20:20.147156954 -0500
@@ -14,4 +14,12 @@
by 0x........: main (tc18_semabuse.c:23)
+Process terminating with default action of signal 6 (SIGABRT)
+ at 0x........: raise (raise.c:?)
+ by 0x........: abort (abort.c:?)
+ by 0x........: futex_wake (sem_post.c:?)
+ by 0x........: sem_post@@GLIBC_2.2.5 (sem_post.c:?)
+ by 0x........: sem_post (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:40)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc18_semabuse.stderr.diff-solaris
=================================================
--- tc18_semabuse.stderr.exp-solaris 2015-08-12 20:23:50.631267916 -0500
+++ tc18_semabuse.stderr.out 2015-08-12 21:20:20.147156954 -0500
@@ -6,5 +6,20 @@
at 0x........: sem_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc18_semabuse.c:23)
+Invalid semaphore: semaphore 0x........
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:34)
+semaphore 0x........ was first observed at:
+ at 0x........: sem_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:23)
+
+
+Process terminating with default action of signal 6 (SIGABRT)
+ at 0x........: raise (raise.c:?)
+ by 0x........: abort (abort.c:?)
+ by 0x........: futex_wake (sem_post.c:?)
+ by 0x........: sem_post@@GLIBC_2.2.5 (sem_post.c:?)
+ by 0x........: sem_post (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:40)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-08-12 20:23:36.519110166 -0500
+++ hgtls.stdoutB.out 2015-08-12 20:38:02.697792575 -0500
@@ -8,28 +8,28 @@
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
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-08-12 20:23:42.908181585 -0500
+++ hg05_race2.stderr.out 2015-08-12 20:59:11.645977263 -0500
@@ -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/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2015-08-12 20:23:42.888181362 -0500
+++ tc12_rwl_trivial.stderr.out 2015-08-12 21:01:32.926556540 -0500
@@ -17,5 +17,31 @@
in frame #x, created by main (tc12_rwl_trivial.c:14)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc12_rwl_trivial.c:29)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ ...
+ by 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: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970
=================================================
--- tc12_rwl_trivial.stderr.exp-darwin970 2015-08-12 20:23:42.855180993 -0500
+++ tc12_rwl_trivial.stderr.out 2015-08-12 21:01:32.926556540 -0500
@@ -1,17 +1,47 @@
+---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........: main (tc12_rwl_trivial.c:18)
+ Address 0x........ is on thread #x's stack
+ in frame #x, created by main (tc12_rwl_trivial.c:14)
+
+
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc12_rwl_trivial.c:29)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ ...
+ by 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/tc12_rwl_trivial.stderr.diff-solaris
=================================================
--- tc12_rwl_trivial.stderr.exp-solaris 2015-08-12 20:23:42.920181720 -0500
+++ tc12_rwl_trivial.stderr.out 2015-08-12 21:01:32.926556540 -0500
@@ -10,20 +10,38 @@
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 (hg_intercepts.c:...)
- ...
+ 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)
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:...)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
by 0x........: main (tc12_rwl_trivial.c:29)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ ...
+ by 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/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2015-08-12 20:23:42.896181451 -0500
+++ tc18_semabuse.stderr.out 2015-08-12 21:01:59.320851584 -0500
@@ -18,13 +18,11 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:40)
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff-linux-mips32
=================================================
--- tc18_semabuse.stderr.exp-linux-mips32 2015-08-12 20:23:42.858181027 -0500
+++ tc18_semabuse.stderr.out 2015-08-12 21:01:59.320851584 -0500
@@ -19,4 +19,10 @@
by 0x........: main (tc18_semabuse.c:34)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:40)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff-linux-mips32-b
=================================================
--- tc18_semabuse.stderr.exp-linux-mips32-b 2015-08-12 20:23:42.936181898 -0500
+++ tc18_semabuse.stderr.out 2015-08-12 21:01:59.320851584 -0500
@@ -18,13 +18,11 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:40)
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff-solaris
=================================================
--- tc18_semabuse.stderr.exp-solaris 2015-08-12 20:23:42.927181798 -0500
+++ tc18_semabuse.stderr.out 2015-08-12 21:01:59.320851584 -0500
@@ -5,11 +5,24 @@
----------------------------------------------------------------
-Thread #x's call to sema_init failed
+Thread #x's call to sem_init failed
with error code 22 (EINVAL: Invalid argument)
- at 0x........: sema_init (hg_intercepts.c:...)
- ...
+ at 0x........: sem_init_WRK (hg_intercepts.c:...)
+ by 0x........: sem_init@* (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:23)
+----------------------------------------------------------------
+
+Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
+ at 0x........: sem_wait_WRK (hg_intercepts.c:...)
+ by 0x........: sem_wait (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:34)
+
+
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:40)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2015-08-12 20:23:42.844180870 -0500
+++ tc20_verifywrap.stderr.out 2015-08-12 21:02:27.773169632 -0500
@@ -172,81 +172,31 @@
declared at tc20_verifywrap.c:52, in frame #x of thread x
-(1) no error on next line
-(2) no error on next line
-(3) ERROR on next line
-----------------------------------------------------------------
-
-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:206)
- 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:196)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:53, in frame #x of thread x
-
-
-(4) no error on next line
-(5) no error on next line
-(6) no error on next line
-(7) no error on next line
-(8) ERROR on next line
-----------------------------------------------------------------
-
-Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:227)
- 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:196)
- Location 0x........ is 0 bytes inside local var "rwl2"
- declared at tc20_verifywrap.c:53, in frame #x of thread x
-
-
-
----------------- sem_* ----------------
-
-----------------------------------------------------------------
-
-Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init_WRK (hg_intercepts.c:...)
- by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:248)
-
+ by 0x........: main (tc20_verifywrap.c:189)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
-FIXME: can't figure out how to verify wrap of sem_destroy
-
-----------------------------------------------------------------
-
-Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
- at 0x........: sem_wait_WRK (hg_intercepts.c:...)
- by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:262)
-
-----------------------------------------------------------------
-
-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:265)
-
-
-FIXME: can't figure out how to verify wrap of sem_post
-
-
------------- dealloc of mem holding locks ------------
-
-----------------------------------------------------------------
-
-Thread #x: Exiting thread still holds 1 lock
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2015-08-12 20:23:42.998182592 -0500
+++ tc20_verifywrap.stderr.out 2015-08-12 21:02:27.773169632 -0500
@@ -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:112)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -156,80 +164,39 @@
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:189)
- 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:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
-(1) no error on next line
-(2) no error on next line
-(3) ERROR on next line
-----------------------------------------------------------------
-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:206)
- 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:196)
-
-(4) no error on next line
-(5) no error on next line
-(6) no error on next line
-(7) no error on next line
-(8) ERROR on next line
-----------------------------------------------------------------
-
-Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:227)
- 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:196)
-
-
----------------- sem_* ----------------
-
-----------------------------------------------------------------
-
-Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init_WRK (hg_intercepts.c:...)
- by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
-
-
-FIXME: can't figure out how to verify wrap of sem_destroy
-
-----------------------------------------------------------------
-
-Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
- at 0x........: sem_wait_WRK (hg_intercepts.c:...)
- by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:257)
-
-----------------------------------------------------------------
-
-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:260)
-
-
-FIXME: can't figure out how to verify wrap of sem_post
-
-
------------- dealloc of mem holding locks ------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2015-08-12 20:23:42.895181440 -0500
+++ tc20_verifywrap.stderr.out 2015-08-12 21:02:27.773169632 -0500
@@ -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:81)
@@ -28,14 +27,13 @@
at 0x........: racy_child (tc20_verifywrap.c:39)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:32
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:32
----------------------------------------------------------------
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:88)
@@ -46,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:102)
@@ -166,72 +164,39 @@
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:189)
- 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:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
-(1) no error on next line
-(2) no error on next line
-(3) ERROR on next line
-----------------------------------------------------------------
-
-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:206)
- 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:196)
-
-(4) no error on next line
-(5) no error on next line
-(6) no error on next line
-(7) no error on next line
-(8) ERROR on next line
-----------------------------------------------------------------
-Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:227)
- 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:196)
-
-
----------------- sem_* ----------------
-
-----------------------------------------------------------------
-
-Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init_WRK (hg_intercepts.c:...)
- by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
-
-
-FIXME: can't figure out how to verify wrap of sem_destroy
-
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2015-08-12 20:23:42.883181306 -0500
+++ tc20_verifywrap.stderr.out 2015-08-12 21:02:27.773169632 -0500
@@ -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:81)
@@ -28,14 +27,13 @@
at 0x........: racy_child (tc20_verifywrap.c:39)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:32
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:32
----------------------------------------------------------------
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:88)
@@ -46,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:102)
@@ -166,80 +164,39 @@
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:189)
- 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:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
-(1) no error on next line
-(2) no error on next line
-(3) ERROR on next line
-----------------------------------------------------------------
-
-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:206)
- 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:196)
-
-(4) no error on next line
-(5) no error on next line
-(6) no error on next line
-(7) no error on next line
-(8) ERROR on next line
-----------------------------------------------------------------
-Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:227)
- 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:196)
-
-
----------------- sem_* ----------------
-
-----------------------------------------------------------------
-
-Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init_WRK (hg_intercepts.c:...)
- by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
-
-
-FIXME: can't figure out how to verify wrap of sem_destroy
-
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2015-08-12 20:23:42.970182279 -0500
+++ tc20_verifywrap.stderr.out 2015-08-12 21:02:27.773169632 -0500
@@ -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:81)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:39)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:32
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:32
----------------------------------------------------------------
@@ -166,72 +164,39 @@
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:189)
- 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:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
-(1) no error on next line
-(2) no error on next line
-(3) ERROR on next line
-----------------------------------------------------------------
-
-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:206)
- 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:196)
-
-(4) no error on next line
-(5) no error on next line
-(6) no error on next line
-(7) no error on next line
-(8) ERROR on next line
-----------------------------------------------------------------
-Thread #x unlocked a not-locked lock at 0x........
- at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........
+vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
+vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=0F
+vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
+valgrind: Unrecognised instruction at address 0x.........
+ ...
+ by 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:227)
- 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:196)
-
-
----------------- sem_* ----------------
-
-----------------------------------------------------------------
-
-Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init_WRK (hg_intercepts.c:...)
- by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
-
-
-FIXME: can't figure out how to verify wrap of sem_destroy
-
-----------------------------------------------------------------
-
-Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
- at 0x........: sem_wait_WRK (hg_intercepts.c:...)
- by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:257)
-
-
-FIXME: can't figure out how to verify wrap of sem_post
-
-
------------- dealloc of mem holding locks ------------
-
-----------------------------------------------------------------
+ by 0x........: main (tc20_verifywrap.c:189)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2015-08-12 20:23:42.871181172 -0500
+++ tc20_verifywrap.stderr.out 2015-08-12 21:02:27.773169632 -0500
@@ -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:88)
@@ -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:102)
@@ -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:112)
+
+----------------------------------------------------------------
+
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:118)
@@ -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:126)
@@ -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:131)
@@ -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:135)
@@ -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:175)
@@ -157,97 +165,38 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:189)
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:188)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:52, in frame #x of thread x
-----------------------------------------------------------------
-
-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:189)
-
-(1) no error on next line
-(2) no error on next line
<truncated beyond 100 lines>
=================================================
./valgrind-new/massif/tests/new-cpp.post.diff
=================================================
--- new-cpp.post.exp 2015-08-12 20:23:40.228151627 -0500
+++ new-cpp.post.out 2015-08-12 20:53:03.293859711 -0500
@@ -6,54 +6,60 @@
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ ###
+ | :::# :::
+ | ::::: # : :
+ | :::: :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 94.51
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 11
+ Detailed snapshots: [6 (peak)]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
- 1 4,008 4,008 4,000 8 0
- 2 8,016 8,016 8,000 ...
[truncated message content] |