================================================= ./valgrind-new/drd/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-08-28 03:54:48.690719489 +0200 +++ tc21_pthonce.stderr.out 2012-08-28 04:04:05.720725667 +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/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2012-08-28 03:54:46.320719252 +0200 +++ tc18_semabuse.stderr.out 2012-08-28 04:01:05.210721343 +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-08-28 03:54:46.310719251 +0200 +++ tc20_verifywrap.stderr.out 2012-08-28 04:01:10.370721777 +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-08-28 03:54:46.310719251 +0200 +++ tc21_pthonce.stderr.out 2012-08-28 04:01:12.570721904 +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-08-28 03:54:46.320719252 +0200 +++ tc22_exit_w_lock.stderr.out 2012-08-28 04:01:14.840721958 +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-08-28 03:54:46.320719252 +0200 +++ tc22_exit_w_lock.stderr.out 2012-08-28 04:01:14.840721958 +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-08-28 03:45:07.510721778 +0200 +++ tc21_pthonce.stderr.out 2012-08-28 03:54:28.360718105 +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/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2012-08-28 03:45:05.160721543 +0200 +++ tc18_semabuse.stderr.out 2012-08-28 03:51:27.230723703 +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-08-28 03:45:05.150721542 +0200 +++ tc20_verifywrap.stderr.out 2012-08-28 03:51:32.400724135 +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-08-28 03:45:05.150721542 +0200 +++ tc21_pthonce.stderr.out 2012-08-28 03:51:34.600724266 +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-08-28 03:45:05.150721542 +0200 +++ tc22_exit_w_lock.stderr.out 2012-08-28 03:51:36.870724321 +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-08-28 03:45:05.160721543 +0200 +++ tc22_exit_w_lock.stderr.out 2012-08-28 03:51:36.870724321 +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)