================================================= ./valgrind-new/drd/tests/tc12_rwl_trivial.stderr.diff ================================================= --- tc12_rwl_trivial.stderr.exp 2015-06-03 02:47:11.749633570 +0100 +++ tc12_rwl_trivial.stderr.out 2015-06-03 03:02:02.948924815 +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-06-03 02:47:07.169720793 +0100 +++ hgtls.stdoutB.out 2015-06-03 02:50:45.222598427 +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-06-03 02:47:09.016685618 +0100 +++ tc12_rwl_trivial.stderr.out 2015-06-03 02:57:22.377136743 +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-06-03 02:47:09.008685770 +0100 +++ tc12_rwl_trivial.stderr.out 2015-06-03 02:57:22.377136743 +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-06-03 02:47:09.005685827 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:57:35.071898705 +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-06-03 02:47:09.042685123 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:57:35.071898705 +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-06-03 02:47:09.018685580 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:57:35.071898705 +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-06-03 02:47:09.014685656 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:57:35.071898705 +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-06-03 02:47:09.034685275 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:57:35.071898705 +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-06-03 02:47:07.374716889 +0100 +++ err_disable3.stderr.out 2015-06-03 02:52:36.824506359 +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-06-03 02:47:07.591712756 +0100 +++ err_disable4.stderr.out 2015-06-03 02:52:37.492493739 +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-06-03 02:47:07.530713918 +0100 +++ threadname.stderr.out 2015-06-03 02:54:10.980733505 +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-06-03 02:47:07.453715384 +0100 +++ threadname_xml.stderr.out 2015-06-03 02:54:11.472724280 +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-06-03 02:31:24.028901565 +0100 +++ tc12_rwl_trivial.stderr.out 2015-06-03 02:46:11.820766556 +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-06-03 02:31:19.610985596 +0100 +++ hgtls.stdoutB.out 2015-06-03 02:35:01.119767824 +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-06-03 02:31:21.358952349 +0100 +++ tc12_rwl_trivial.stderr.out 2015-06-03 02:41:33.957100237 +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-06-03 02:31:21.350952501 +0100 +++ tc12_rwl_trivial.stderr.out 2015-06-03 02:41:33.957100237 +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-06-03 02:31:21.348952539 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:41:48.087826899 +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-06-03 02:31:21.384951854 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:41:48.087826899 +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-06-03 02:31:21.359952330 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:41:48.087826899 +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-06-03 02:31:21.357952368 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:41:48.087826899 +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-06-03 02:31:21.377951987 +0100 +++ tc20_verifywrap.stderr.out 2015-06-03 02:41:48.087826899 +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-06-03 02:31:19.818981640 +0100 +++ err_disable3.stderr.out 2015-06-03 02:36:41.469844889 +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-06-03 02:31:20.019977817 +0100 +++ err_disable4.stderr.out 2015-06-03 02:36:42.167831480 +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-06-03 02:31:19.962978901 +0100 +++ threadname.stderr.out 2015-06-03 02:38:17.695890495 +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-06-03 02:31:19.890980270 +0100 +++ threadname_xml.stderr.out 2015-06-03 02:38:18.210880682 +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........ - ...