================================================= ./valgrind-new/drd/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-07-24 03:54:42.420718205 +0200 +++ tc21_pthonce.stderr.out 2012-07-24 04:04:01.460724387 +0200 @@ -1,5 +1,135 @@ Thread 3: +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 ================================================= ./valgrind-new/gdbserver_tests/mcinvokeWS.stderrB.diff ================================================= --- mcinvokeWS.stderrB.exp 2012-07-24 03:54:40.090717972 +0200 +++ mcinvokeWS.stderrB.out 2012-07-24 03:56:19.230726539 +0200 @@ -1,14 +1,4 @@ sending command v.wait 0 to pid .... sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.kill to pid .... -readchar: Got EOF -error reading packet +syscall failed: No such process +invoke_gdbserver_in_valgrind: check for pid 25911 existence failed ================================================= ./valgrind-new/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-07-24 03:54:40.090717972 +0200 +++ mcinvokeWS.stdoutB.out 2012-07-24 03:56:19.220726538 +0200 @@ -2,22 +2,3 @@ gdbserver: continuing after wait ... gdbserver: continuing in 0 ms ... gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -monitor command request to kill this process ================================================= ./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2012-07-24 03:54:39.880717951 +0200 +++ tc18_semabuse.stderr.out 2012-07-24 04:01:00.640719751 +0200 @@ -18,13 +18,5 @@ by 0x........: sem_wait (hg_intercepts.c:...) by 0x........: main (tc18_semabuse.c:34) ----------------------------------------------------------------- -Thread #x's call to sem_post failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: sem_post_WRK (hg_intercepts.c:...) - by 0x........: sem_post (hg_intercepts.c:...) - by 0x........: main (tc18_semabuse.c:37) - - -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff ================================================= --- tc20_verifywrap.stderr.exp 2012-07-24 03:54:39.880717951 +0200 +++ tc20_verifywrap.stderr.out 2012-07-24 04:01:05.790720189 +0200 @@ -215,14 +215,6 @@ 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 @@ -235,4 +227,4 @@ ... -ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-07-24 03:54:39.880717951 +0200 +++ tc21_pthonce.stderr.out 2012-07-24 04:01:07.970720325 +0200 @@ -19,6 +19,267 @@ Possible data race during read of size 4 at 0x........ by thread #x Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 2 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... ================================================= ./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff ================================================= --- tc22_exit_w_lock.stderr.exp 2012-07-24 03:54:39.880717951 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-24 04:01:10.240720395 +0200 @@ -22,6 +22,62 @@ ---------------------------------------------------------------- +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during read of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + Thread #x: Exiting thread still holds 1 lock ... @@ -36,4 +92,4 @@ by 0x........: main (tc22_exit_w_lock.c:48) -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86 ================================================= --- tc22_exit_w_lock.stderr.exp-kfail-x86 2012-07-24 03:54:39.880717951 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-24 04:01:10.240720395 +0200 @@ -22,6 +22,62 @@ ---------------------------------------------------------------- +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during read of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + Thread #x: Exiting thread still holds 1 lock ... @@ -33,6 +89,7 @@ Thread #x: Exiting thread still holds 1 lock ... + by 0x........: main (tc22_exit_w_lock.c:48) -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-07-24 03:45:07.590720605 +0200 +++ tc21_pthonce.stderr.out 2012-07-24 03:54:22.290716783 +0200 @@ -1,5 +1,135 @@ Thread 3: +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) + by 0x........: child (tc21_pthonce.c:73) +Allocation context: BSS section of libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3 at 0x........ size 8 + at 0x........: _IO_file_xsputn@@GLIBC_2.2 (in /...libc...) + by 0x........: vfprintf@@GLIBC_2.4 (in /...libc...) + by 0x........: printf@@GLIBC_2.4 (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 ================================================= ./valgrind-old/gdbserver_tests/mcinvokeWS.stderrB.diff ================================================= --- mcinvokeWS.stderrB.exp 2012-07-24 03:45:05.410720387 +0200 +++ mcinvokeWS.stderrB.out 2012-07-24 03:46:44.840718963 +0200 @@ -1,14 +1,4 @@ sending command v.wait 0 to pid .... sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.wait 0 to pid .... -sending command v.kill to pid .... -readchar: Got EOF -error reading packet +syscall failed: No such process +invoke_gdbserver_in_valgrind: check for pid 31473 existence failed ================================================= ./valgrind-old/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-07-24 03:45:05.410720387 +0200 +++ mcinvokeWS.stdoutB.out 2012-07-24 03:46:44.830718962 +0200 @@ -2,22 +2,3 @@ gdbserver: continuing after wait ... gdbserver: continuing in 0 ms ... gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -gdbserver: continuing in 0 ms ... -gdbserver: continuing after wait ... -monitor command request to kill this process ================================================= ./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2012-07-24 03:45:05.220720368 +0200 +++ tc18_semabuse.stderr.out 2012-07-24 03:51:21.820722149 +0200 @@ -18,13 +18,5 @@ by 0x........: sem_wait (hg_intercepts.c:...) by 0x........: main (tc18_semabuse.c:34) ----------------------------------------------------------------- -Thread #x's call to sem_post failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: sem_post_WRK (hg_intercepts.c:...) - by 0x........: sem_post (hg_intercepts.c:...) - by 0x........: main (tc18_semabuse.c:37) - - -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff ================================================= --- tc20_verifywrap.stderr.exp 2012-07-24 03:45:05.210720367 +0200 +++ tc20_verifywrap.stderr.out 2012-07-24 03:51:26.920722578 +0200 @@ -215,14 +215,6 @@ 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 @@ -235,4 +227,4 @@ ... -ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-07-24 03:45:05.210720367 +0200 +++ tc21_pthonce.stderr.out 2012-07-24 03:51:29.090722716 +0200 @@ -19,6 +19,267 @@ Possible data race during read of size 4 at 0x........ by thread #x Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 2 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: none + ... + by 0x........: welcome (tc21_pthonce.c:65) + ... + by 0x........: child (tc21_pthonce.c:72) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: child (tc21_pthonce.c:73) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... ================================================= ./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff ================================================= --- tc22_exit_w_lock.stderr.exp 2012-07-24 03:45:05.220720368 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-24 03:51:31.360722802 +0200 @@ -22,6 +22,62 @@ ---------------------------------------------------------------- +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during read of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + Thread #x: Exiting thread still holds 1 lock ... @@ -36,4 +92,4 @@ by 0x........: main (tc22_exit_w_lock.c:48) -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86 ================================================= --- tc22_exit_w_lock.stderr.exp-kfail-x86 2012-07-24 03:45:05.220720368 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-24 03:51:31.360722802 +0200 @@ -22,6 +22,62 @@ ---------------------------------------------------------------- +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during read of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn1 (tc22_exit_w_lock.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:26) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: child_fn2 (tc22_exit_w_lock.c:27) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: 1, at address 0x........ + ... + +This conflicts with a previous write of size 8 by thread #x +Locks held: 2, at addresses 0x........ 0x........ + ... + +---------------------------------------------------------------- + Thread #x: Exiting thread still holds 1 lock ... @@ -33,6 +89,7 @@ Thread #x: Exiting thread still holds 1 lock ... + by 0x........: main (tc22_exit_w_lock.c:48) -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)