================================================= ./valgrind-new/drd/tests/tc12_rwl_trivial.stderr.diff ================================================= --- tc12_rwl_trivial.stderr.exp 2015-04-16 02:46:52.111530199 +0100 +++ tc12_rwl_trivial.stderr.out 2015-04-16 03:01:45.931937809 +0100 @@ -6,5 +6,31 @@ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) by 0x........: main (tc12_rwl_trivial.c:24) +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:35) +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:35) ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff ================================================= --- hgtls.stdoutB.exp 2015-04-16 02:46:47.884608318 +0100 +++ hgtls.stdoutB.out 2015-04-16 02:50:19.349691853 +0100 @@ -35,11 +35,11 @@ [New Thread ....] 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 [New Thread ....] 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 [New Thread ....] Breakpoint 1, tls_ptr (p=0x........) at tls.c:55 55 int here = 0; ================================================= ./valgrind-new/helgrind/tests/tc12_rwl_trivial.stderr.diff ================================================= --- tc12_rwl_trivial.stderr.exp 2015-04-16 02:46:49.589576808 +0100 +++ tc12_rwl_trivial.stderr.out 2015-04-16 02:56:57.179288969 +0100 @@ -17,5 +17,31 @@ in frame #x, created by main (tc12_rwl_trivial.c:20) +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:35) +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:35) 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-04-16 02:46:49.554577455 +0100 +++ tc12_rwl_trivial.stderr.out 2015-04-16 02:56:57.179288969 +0100 @@ -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:...) + at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) + by 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:...) + 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:24) + Address 0x........ is on thread #x's stack + in frame #x, created by main (tc12_rwl_trivial.c:20) -Thread #x's call to pthread_rwlock_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_rwlock_unlock* (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:35) +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:35) -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 2015-04-16 02:46:49.551577510 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:57:09.925052583 +0100 @@ -165,81 +165,31 @@ declared at tc20_verifywrap.c:47, 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:196) - 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:186) - Location 0x........ is 0 bytes inside local var "rwl2" - declared at tc20_verifywrap.c:48, 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:212) - 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:186) - Location 0x........ is 0 bytes inside local var "rwl2" - declared at tc20_verifywrap.c:48, 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:228) - + by 0x........: main (tc20_verifywrap.c:179) +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:242) - ----------------------------------------------------------------- - -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:245) - - -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........ ================================================= ./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18 ================================================= --- tc20_verifywrap.stderr.exp-glibc-2.18 2015-04-16 02:46:49.612576383 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:57:09.925052583 +0100 @@ -56,6 +56,13 @@ ---------------------------------------------------------------- +Thread #x's call to pthread_mutex_destroy failed + with error code 16 (EBUSY: Device or resource busy) + at 0x........: pthread_mutex_destroy (hg_intercepts.c:...) + by 0x........: main (tc20_verifywrap.c:102) + +---------------------------------------------------------------- + Thread #x's call to pthread_mutex_lock failed with error code 22 (EINVAL: Invalid argument) at 0x........: pthread_mutex_lock (hg_intercepts.c:...) @@ -150,80 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -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:242) - ----------------------------------------------------------------- - -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:245) - - -FIXME: can't figure out how to verify wrap of sem_post - - ------------- dealloc of mem holding locks ------------ - ================================================= ./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32 ================================================= --- tc20_verifywrap.stderr.exp-mips32 2015-04-16 02:46:49.590576789 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:57:09.925052583 +0100 @@ -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:76) @@ -28,14 +27,13 @@ at 0x........: racy_child (tc20_verifywrap.c:34) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... - -Location 0x........ is 0 bytes inside global var "unprotected" -declared at tc20_verifywrap.c:27 + Location 0x........ is 0 bytes inside global var "unprotected" + declared at tc20_verifywrap.c:27 ---------------------------------------------------------------- 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:83) @@ -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:92) @@ -159,72 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -FIXME: can't figure out how to verify wrap of sem_destroy - ================================================= ./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b ================================================= --- tc20_verifywrap.stderr.exp-mips32-b 2015-04-16 02:46:49.560577344 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:57:09.925052583 +0100 @@ -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:76) @@ -28,14 +27,13 @@ at 0x........: racy_child (tc20_verifywrap.c:34) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... - -Location 0x........ is 0 bytes inside global var "unprotected" -declared at tc20_verifywrap.c:27 + Location 0x........ is 0 bytes inside global var "unprotected" + declared at tc20_verifywrap.c:27 ---------------------------------------------------------------- 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:83) @@ -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:92) @@ -159,80 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -FIXME: can't figure out how to verify wrap of sem_destroy - ================================================= ./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x ================================================= --- tc20_verifywrap.stderr.exp-s390x 2015-04-16 02:46:49.606576494 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:57:09.925052583 +0100 @@ -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:76) @@ -28,9 +27,8 @@ at 0x........: racy_child (tc20_verifywrap.c:34) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... - -Location 0x........ is 0 bytes inside global var "unprotected" -declared at tc20_verifywrap.c:27 + Location 0x........ is 0 bytes inside global var "unprotected" + declared at tc20_verifywrap.c:27 ---------------------------------------------------------------- @@ -159,72 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -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:242) - - -FIXME: can't figure out how to verify wrap of sem_post - - ------------- dealloc of mem holding locks ------------ - ----------------------------------------------------------------- + by 0x........: main (tc20_verifywrap.c:179) ================================================= ./valgrind-new/memcheck/tests/err_disable3.stderr.diff ================================================= --- err_disable3.stderr.exp 2015-04-16 02:46:48.100604326 +0100 +++ err_disable3.stderr.out 2015-04-16 02:52:06.360707173 +0100 @@ -10,8 +10,6 @@ Thread 2: Invalid read of size 1 at 0x........: err (err_disable3.c:25) - by 0x........: child_fn (err_disable3.c:31) - ... Address 0x........ is 5 bytes inside a block of size 10 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (err_disable3.c:42) ================================================= ./valgrind-new/memcheck/tests/err_disable4.stderr.diff ================================================= --- err_disable4.stderr.exp 2015-04-16 02:46:48.302600593 +0100 +++ err_disable4.stderr.out 2015-04-16 02:52:07.149692394 +0100 @@ -1501,8 +1501,6 @@ Thread x: Invalid read of size 1 at 0x........: err (err_disable4.c:46) - by 0x........: child_fn_2 (err_disable4.c:64) - ... Address 0x........ is 5 bytes inside a block of size 10 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (err_disable4.c:81) ================================================= ./valgrind-new/memcheck/tests/threadname.stderr.diff ================================================= --- threadname.stderr.exp 2015-04-16 02:46:48.245601646 +0100 +++ threadname.stderr.out 2015-04-16 02:53:44.607866838 +0100 @@ -9,36 +9,12 @@ Thread 2: Invalid write of size 1 at 0x........: bad_things (threadname.c:16) - by 0x........: child_fn_0 (threadname.c:61) - ... Address 0x........ is 0 bytes after a block of size 2 alloc'd at 0x........: malloc (vg_replace_malloc.c:...) by 0x........: bad_things (threadname.c:15) by 0x........: child_fn_0 (threadname.c:61) ... -Thread 3 try1: -Invalid write of size 1 - at 0x........: bad_things (threadname.c:16) - by 0x........: child_fn_1 (threadname.c:46) - ... - Address 0x........ is 0 bytes after a block of size 3 alloc'd - at 0x........: malloc (vg_replace_malloc.c:...) - by 0x........: bad_things (threadname.c:15) - by 0x........: child_fn_1 (threadname.c:46) - ... - -Thread 4 012345678901234: -Invalid write of size 1 - at 0x........: bad_things (threadname.c:16) - by 0x........: child_fn_2 (threadname.c:30) - ... - Address 0x........ is 0 bytes after a block of size 4 alloc'd - at 0x........: malloc (vg_replace_malloc.c:...) - by 0x........: bad_things (threadname.c:15) - by 0x........: child_fn_2 (threadname.c:30) - ... - Thread 1: Invalid write of size 1 at 0x........: bad_things (threadname.c:16) ================================================= ./valgrind-new/memcheck/tests/threadname_xml.stderr.diff ================================================= --- threadname_xml.stderr.exp 2015-04-16 02:46:48.172602995 +0100 +++ threadname_xml.stderr.out 2015-04-16 02:53:45.136856929 +0100 @@ -94,14 +94,6 @@ threadname.c ... - - 0x........ - ... - child_fn_0 - ... - threadname.c - ... - Address 0x........ is 0 bytes after a block of size 2 alloc'd @@ -135,112 +127,6 @@ 0x........ ... - try1 - InvalidWrite - Invalid write of size 1 - - - 0x........ - ... - bad_things - ... - threadname.c - ... - - - 0x........ - ... - child_fn_1 - ... - threadname.c - ... - - - Address 0x........ is 0 bytes after a block of size 3 alloc'd - - - 0x........ - ... - malloc - ... - vg_replace_malloc.c - ... - - - 0x........ - ... - bad_things - ... - threadname.c - ... - - - 0x........ - ... - child_fn_1 - ... - threadname.c - ... - - - - - - 0x........ - ... - 012345678901234 - InvalidWrite - Invalid write of size 1 - - - 0x........ - ... - bad_things - ... - threadname.c - ... - - - 0x........ - ... - child_fn_2 - ... - threadname.c - ... - - - Address 0x........ is 0 bytes after a block of size 4 alloc'd - - - 0x........ - ... ================================================= ./valgrind-old/drd/tests/tc12_rwl_trivial.stderr.diff ================================================= --- tc12_rwl_trivial.stderr.exp 2015-04-16 02:31:19.966709049 +0100 +++ tc12_rwl_trivial.stderr.out 2015-04-16 02:45:53.660610445 +0100 @@ -6,5 +6,31 @@ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) by 0x........: main (tc12_rwl_trivial.c:24) +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:35) +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:35) ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff ================================================= --- hgtls.stdoutB.exp 2015-04-16 02:31:15.435792869 +0100 +++ hgtls.stdoutB.out 2015-04-16 02:34:45.104899097 +0100 @@ -35,11 +35,11 @@ [New Thread ....] 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 [New Thread ....] 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 [New Thread ....] Breakpoint 1, tls_ptr (p=0x........) at tls.c:55 55 int here = 0; ================================================= ./valgrind-old/helgrind/tests/tc12_rwl_trivial.stderr.diff ================================================= --- tc12_rwl_trivial.stderr.exp 2015-04-16 02:31:17.168760810 +0100 +++ tc12_rwl_trivial.stderr.out 2015-04-16 02:41:13.513698828 +0100 @@ -17,5 +17,31 @@ in frame #x, created by main (tc12_rwl_trivial.c:20) +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:35) +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:35) ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc12_rwl_trivial.stderr.diff-darwin970 ================================================= --- tc12_rwl_trivial.stderr.exp-darwin970 2015-04-16 02:31:17.161760939 +0100 +++ tc12_rwl_trivial.stderr.out 2015-04-16 02:41:13.513698828 +0100 @@ -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:...) + at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) + by 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:...) + 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:24) + Address 0x........ is on thread #x's stack + in frame #x, created by main (tc12_rwl_trivial.c:20) -Thread #x's call to pthread_rwlock_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_rwlock_unlock* (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:35) +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:35) -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 2015-04-16 02:31:17.158760995 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:41:26.196465605 +0100 @@ -165,81 +165,31 @@ declared at tc20_verifywrap.c:47, 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:196) - 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:186) - Location 0x........ is 0 bytes inside local var "rwl2" - declared at tc20_verifywrap.c:48, 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:212) - 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:186) - Location 0x........ is 0 bytes inside local var "rwl2" - declared at tc20_verifywrap.c:48, 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:228) - + by 0x........: main (tc20_verifywrap.c:179) +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:242) - ----------------------------------------------------------------- - -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:245) - - -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........ ================================================= ./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18 ================================================= --- tc20_verifywrap.stderr.exp-glibc-2.18 2015-04-16 02:31:17.195760310 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:41:26.196465605 +0100 @@ -56,6 +56,13 @@ ---------------------------------------------------------------- +Thread #x's call to pthread_mutex_destroy failed + with error code 16 (EBUSY: Device or resource busy) + at 0x........: pthread_mutex_destroy (hg_intercepts.c:...) + by 0x........: main (tc20_verifywrap.c:102) + +---------------------------------------------------------------- + Thread #x's call to pthread_mutex_lock failed with error code 22 (EINVAL: Invalid argument) at 0x........: pthread_mutex_lock (hg_intercepts.c:...) @@ -150,80 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -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:242) - ----------------------------------------------------------------- - -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:245) - - -FIXME: can't figure out how to verify wrap of sem_post - - ------------- dealloc of mem holding locks ------------ - ================================================= ./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-mips32 ================================================= --- tc20_verifywrap.stderr.exp-mips32 2015-04-16 02:31:17.170760773 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:41:26.196465605 +0100 @@ -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:76) @@ -28,14 +27,13 @@ at 0x........: racy_child (tc20_verifywrap.c:34) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... - -Location 0x........ is 0 bytes inside global var "unprotected" -declared at tc20_verifywrap.c:27 + Location 0x........ is 0 bytes inside global var "unprotected" + declared at tc20_verifywrap.c:27 ---------------------------------------------------------------- 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:83) @@ -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:92) @@ -159,72 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -FIXME: can't figure out how to verify wrap of sem_destroy - ================================================= ./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b ================================================= --- tc20_verifywrap.stderr.exp-mips32-b 2015-04-16 02:31:17.167760828 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:41:26.196465605 +0100 @@ -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:76) @@ -28,14 +27,13 @@ at 0x........: racy_child (tc20_verifywrap.c:34) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... - -Location 0x........ is 0 bytes inside global var "unprotected" -declared at tc20_verifywrap.c:27 + Location 0x........ is 0 bytes inside global var "unprotected" + declared at tc20_verifywrap.c:27 ---------------------------------------------------------------- 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:83) @@ -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:92) @@ -159,80 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -FIXME: can't figure out how to verify wrap of sem_destroy - ================================================= ./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-s390x ================================================= --- tc20_verifywrap.stderr.exp-s390x 2015-04-16 02:31:17.188760440 +0100 +++ tc20_verifywrap.stderr.out 2015-04-16 02:41:26.196465605 +0100 @@ -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:76) @@ -28,9 +27,8 @@ at 0x........: racy_child (tc20_verifywrap.c:34) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... - -Location 0x........ is 0 bytes inside global var "unprotected" -declared at tc20_verifywrap.c:27 + Location 0x........ is 0 bytes inside global var "unprotected" + declared at tc20_verifywrap.c:27 ---------------------------------------------------------------- @@ -159,72 +157,39 @@ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...) by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:179) - 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:178) + Location 0x........ is 0 bytes inside local var "rwl" + declared at tc20_verifywrap.c:47, 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:196) - 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:186) - -(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:212) - 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:186) - - ----------------- 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:228) - - -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:242) - - -FIXME: can't figure out how to verify wrap of sem_post - - ------------- dealloc of mem holding locks ------------ - ----------------------------------------------------------------- + by 0x........: main (tc20_verifywrap.c:179) ================================================= ./valgrind-old/memcheck/tests/err_disable3.stderr.diff ================================================= --- err_disable3.stderr.exp 2015-04-16 02:31:15.640789077 +0100 +++ err_disable3.stderr.out 2015-04-16 02:36:24.172053294 +0100 @@ -10,8 +10,6 @@ Thread 2: Invalid read of size 1 at 0x........: err (err_disable3.c:25) - by 0x........: child_fn (err_disable3.c:31) - ... Address 0x........ is 5 bytes inside a block of size 10 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (err_disable3.c:42) ================================================= ./valgrind-old/memcheck/tests/err_disable4.stderr.diff ================================================= --- err_disable4.stderr.exp 2015-04-16 02:31:15.860785007 +0100 +++ err_disable4.stderr.out 2015-04-16 02:36:24.857040507 +0100 @@ -1501,8 +1501,6 @@ Thread x: Invalid read of size 1 at 0x........: err (err_disable4.c:46) - by 0x........: child_fn_2 (err_disable4.c:64) - ... Address 0x........ is 5 bytes inside a block of size 10 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (err_disable4.c:81) ================================================= ./valgrind-old/memcheck/tests/threadname.stderr.diff ================================================= --- threadname.stderr.exp 2015-04-16 02:31:15.798786154 +0100 +++ threadname.stderr.out 2015-04-16 02:37:59.376294420 +0100 @@ -9,36 +9,12 @@ Thread 2: Invalid write of size 1 at 0x........: bad_things (threadname.c:16) - by 0x........: child_fn_0 (threadname.c:61) - ... Address 0x........ is 0 bytes after a block of size 2 alloc'd at 0x........: malloc (vg_replace_malloc.c:...) by 0x........: bad_things (threadname.c:15) by 0x........: child_fn_0 (threadname.c:61) ... -Thread 3 try1: -Invalid write of size 1 - at 0x........: bad_things (threadname.c:16) - by 0x........: child_fn_1 (threadname.c:46) - ... - Address 0x........ is 0 bytes after a block of size 3 alloc'd - at 0x........: malloc (vg_replace_malloc.c:...) - by 0x........: bad_things (threadname.c:15) - by 0x........: child_fn_1 (threadname.c:46) - ... - -Thread 4 012345678901234: -Invalid write of size 1 - at 0x........: bad_things (threadname.c:16) - by 0x........: child_fn_2 (threadname.c:30) - ... - Address 0x........ is 0 bytes after a block of size 4 alloc'd - at 0x........: malloc (vg_replace_malloc.c:...) - by 0x........: bad_things (threadname.c:15) - by 0x........: child_fn_2 (threadname.c:30) - ... - Thread 1: Invalid write of size 1 at 0x........: bad_things (threadname.c:16) ================================================= ./valgrind-old/memcheck/tests/threadname_xml.stderr.diff ================================================= --- threadname_xml.stderr.exp 2015-04-16 02:31:15.719787616 +0100 +++ threadname_xml.stderr.out 2015-04-16 02:38:00.136280315 +0100 @@ -94,14 +94,6 @@ threadname.c ... - - 0x........ - ... - child_fn_0 - ... - threadname.c - ... - Address 0x........ is 0 bytes after a block of size 2 alloc'd @@ -135,112 +127,6 @@ 0x........ ... - try1 - InvalidWrite - Invalid write of size 1 - - - 0x........ - ... - bad_things - ... - threadname.c - ... - - - 0x........ - ... - child_fn_1 - ... - threadname.c - ... - - - Address 0x........ is 0 bytes after a block of size 3 alloc'd - - - 0x........ - ... - malloc - ... - vg_replace_malloc.c - ... - - - 0x........ - ... - bad_things - ... - threadname.c - ... - - - 0x........ - ... - child_fn_1 - ... - threadname.c - ... - - - - - - 0x........ - ... - 012345678901234 - InvalidWrite - Invalid write of size 1 - - - 0x........ - ... - bad_things - ... - threadname.c - ... - - - 0x........ - ... - child_fn_2 - ... - threadname.c - ... - - - Address 0x........ is 0 bytes after a block of size 4 alloc'd - - - 0x........ - ...