================================================= ./valgrind-new/drd/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-07-23 03:54:42.390722474 +0200 +++ tc21_pthonce.stderr.out 2012-07-23 04:03:54.160718186 +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-23 03:54:40.070722242 +0200 +++ mcinvokeWS.stderrB.out 2012-07-23 03:56:18.780720689 +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 26916 existence failed ================================================= ./valgrind-new/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-07-23 03:54:40.080722243 +0200 +++ mcinvokeWS.stdoutB.out 2012-07-23 03:56:18.770720688 +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-23 03:54:39.870722222 +0200 +++ tc18_semabuse.stderr.out 2012-07-23 04:00:54.910723718 +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-23 03:54:39.860722221 +0200 +++ tc20_verifywrap.stderr.out 2012-07-23 04:01:00.030724146 +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-23 03:54:39.870722222 +0200 +++ tc21_pthonce.stderr.out 2012-07-23 04:01:02.200724306 +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-23 03:54:39.870722222 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-23 04:01:04.470724391 +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-23 03:54:39.870722222 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-23 04:01:04.470724391 +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-23 03:45:08.110725037 +0200 +++ tc21_pthonce.stderr.out 2012-07-23 03:54:22.150721039 +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-23 03:45:05.790724805 +0200 +++ mcinvokeWS.stderrB.out 2012-07-23 03:46:44.880723338 +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 32484 existence failed ================================================= ./valgrind-old/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-07-23 03:45:05.790724805 +0200 +++ mcinvokeWS.stdoutB.out 2012-07-23 03:46:44.870723337 +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-23 03:45:05.590724785 +0200 +++ tc18_semabuse.stderr.out 2012-07-23 03:51:21.650726462 +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-23 03:45:05.590724785 +0200 +++ tc20_verifywrap.stderr.out 2012-07-23 03:51:26.780716875 +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-23 03:45:05.590724785 +0200 +++ tc21_pthonce.stderr.out 2012-07-23 03:51:28.950717017 +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-23 03:45:05.590724785 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-23 03:51:31.220717089 +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-23 03:45:05.590724785 +0200 +++ tc22_exit_w_lock.stderr.out 2012-07-23 03:51:31.220717089 +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)