================================================= ./valgrind-new/drd/tests/circular_buffer.stderr.diff ================================================= --- circular_buffer.stderr.exp 2012-06-02 03:54:37.306587679 +0200 +++ circular_buffer.stderr.out 2012-06-02 04:01:54.336582452 +0200 @@ -1,3 +1,115 @@ +Thread 13: +Conflicting load by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +Conflicting load by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Conflicting store by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Conflicting store by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Thread 15: +Conflicting load by thread 15 at 0x........ size 4 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) ================================================= ./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc ================================================= --- tc04_free_lock.stderr.exp-ppc 2012-06-02 03:54:37.326587681 +0200 +++ tc04_free_lock.stderr.out 2012-06-02 04:03:34.886580590 +0200 @@ -7,28 +7,20 @@ by 0x........: main (tc04_free_lock.c:20) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:26) + at 0x........: bar (tc04_free_lock.c:40) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) by 0x........: main (tc04_free_lock.c:26) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: foo (tc04_free_lock.c:47) - by 0x........: main (tc04_free_lock.c:27) + at 0x........: foo (tc04_free_lock.c:49) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86 ================================================= --- tc04_free_lock.stderr.exp-x86 2012-06-02 03:54:37.336587682 +0200 +++ tc04_free_lock.stderr.out 2012-06-02 04:03:34.886580590 +0200 @@ -8,7 +8,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:26) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) @@ -16,19 +16,11 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: foo (tc04_free_lock.c:49) - by 0x........: main (tc04_free_lock.c:27) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2012-06-02 03:54:37.336587682 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-02 04:03:37.376580838 +0200 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc ================================================= --- tc09_bad_unlock.stderr.exp-ppc 2012-06-02 03:54:37.306587679 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-02 04:03:37.376580838 +0200 @@ -25,8 +25,8 @@ by 0x........: main (tc09_bad_unlock.c:49) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) + at 0x........: nearly_main (tc09_bad_unlock.c:45) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-x86 ================================================= --- tc09_bad_unlock.stderr.exp-x86 2012-06-02 03:54:37.316587680 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-02 04:03:37.376580838 +0200 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:49) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-06-02 03:54:37.306587679 +0200 +++ tc21_pthonce.stderr.out 2012-06-02 04:03:45.376581553 +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-06-02 03:54:35.376587486 +0200 +++ mcinvokeWS.stderrB.out 2012-06-02 03:56:14.566585932 +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 7752 existence failed ================================================= ./valgrind-new/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-06-02 03:54:35.386587487 +0200 +++ mcinvokeWS.stdoutB.out 2012-06-02 03:56:14.556585931 +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-06-02 03:54:35.186587467 +0200 +++ tc18_semabuse.stderr.out 2012-06-02 04:00:49.546587400 +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-06-02 03:54:35.176587466 +0200 +++ tc20_verifywrap.stderr.out 2012-06-02 04:00:54.656587839 +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-06-02 03:54:35.176587466 +0200 +++ tc21_pthonce.stderr.out 2012-06-02 04:00:56.816587969 +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-06-02 03:54:35.186587467 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-02 04:00:59.086578038 +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-06-02 03:54:35.186587467 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-02 04:00:59.086578038 +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/circular_buffer.stderr.diff ================================================= --- circular_buffer.stderr.exp 2012-06-02 03:45:07.196581988 +0200 +++ circular_buffer.stderr.out 2012-06-02 03:52:26.506587536 +0200 @@ -1,3 +1,115 @@ +Thread 13: +Conflicting load by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +Conflicting load by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Conflicting store by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Conflicting store by thread 13 at 0x........ size 8 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Allocation context: Data section of /lib64/libc.so.6 +Other segment start (thread 12) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) +Other segment end (thread 12) + at 0x........: ??? (in /...libc...) + by 0x........: usleep (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Thread 15: +Conflicting load by thread 15 at 0x........ size 4 + at 0x........: random_r (in /...libc...) + by 0x........: random (in /...libc...) + by 0x........: rand (in /...libc...) + by 0x........: consumer (circular_buffer.c:?) ================================================= ./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-ppc ================================================= --- tc04_free_lock.stderr.exp-ppc 2012-06-02 03:45:07.216581990 +0200 +++ tc04_free_lock.stderr.out 2012-06-02 03:54:07.156585362 +0200 @@ -7,28 +7,20 @@ by 0x........: main (tc04_free_lock.c:20) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:26) + at 0x........: bar (tc04_free_lock.c:40) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) by 0x........: main (tc04_free_lock.c:26) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: foo (tc04_free_lock.c:47) - by 0x........: main (tc04_free_lock.c:27) + at 0x........: foo (tc04_free_lock.c:49) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-x86 ================================================= --- tc04_free_lock.stderr.exp-x86 2012-06-02 03:45:07.226581991 +0200 +++ tc04_free_lock.stderr.out 2012-06-02 03:54:07.156585362 +0200 @@ -8,7 +8,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:26) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) @@ -16,19 +16,11 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: foo (tc04_free_lock.c:49) - by 0x........: main (tc04_free_lock.c:27) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2012-06-02 03:45:07.226581991 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-02 03:54:09.666585611 +0200 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-ppc ================================================= --- tc09_bad_unlock.stderr.exp-ppc 2012-06-02 03:45:07.196581988 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-02 03:54:09.666585611 +0200 @@ -25,8 +25,8 @@ by 0x........: main (tc09_bad_unlock.c:49) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) + at 0x........: nearly_main (tc09_bad_unlock.c:45) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-x86 ================================================= --- tc09_bad_unlock.stderr.exp-x86 2012-06-02 03:45:07.206581989 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-02 03:54:09.666585611 +0200 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:49) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2012-06-02 03:45:07.196581988 +0200 +++ tc21_pthonce.stderr.out 2012-06-02 03:54:17.656586329 +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-06-02 03:45:05.236581792 +0200 +++ mcinvokeWS.stderrB.out 2012-06-02 03:46:44.876580429 +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 14355 existence failed ================================================= ./valgrind-old/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-06-02 03:45:05.246581793 +0200 +++ mcinvokeWS.stdoutB.out 2012-06-02 03:46:44.866580428 +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-06-02 03:45:05.056581774 +0200 +++ tc18_semabuse.stderr.out 2012-06-02 03:51:21.516582498 +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-06-02 03:45:05.046581773 +0200 +++ tc20_verifywrap.stderr.out 2012-06-02 03:51:26.646582928 +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-06-02 03:45:05.046581773 +0200 +++ tc21_pthonce.stderr.out 2012-06-02 03:51:28.816583061 +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-06-02 03:45:05.046581773 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-02 03:51:31.086583136 +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-06-02 03:45:05.056581774 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-02 03:51:31.086583136 +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)