================================================= ./valgrind-new/drd/tests/circular_buffer.stderr.diff ================================================= --- circular_buffer.stderr.exp 2012-06-05 03:54:27.426578836 +0200 +++ circular_buffer.stderr.out 2012-06-05 04:01:37.556580069 +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-05 03:54:27.446578838 +0200 +++ tc04_free_lock.stderr.out 2012-06-05 04:03:16.426587073 +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-05 03:54:27.466578840 +0200 +++ tc04_free_lock.stderr.out 2012-06-05 04:03:16.426587073 +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-05 03:54:27.456578839 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-05 04:03:18.896587318 +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-05 03:54:27.426578836 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-05 04:03:18.896587318 +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-05 03:54:27.436578837 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-05 04:03:18.896587318 +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-05 03:54:27.426578836 +0200 +++ tc21_pthonce.stderr.out 2012-06-05 04:03:26.736578053 +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-05 03:54:25.286578622 +0200 +++ mcinvokeWS.stderrB.out 2012-06-05 03:56:03.306587028 +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 32875 existence failed ================================================= ./valgrind-new/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-06-05 03:54:25.286578622 +0200 +++ mcinvokeWS.stdoutB.out 2012-06-05 03:56:03.296587027 +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-05 03:54:25.076578601 +0200 +++ tc18_semabuse.stderr.out 2012-06-05 04:00:34.576585653 +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-05 03:54:25.066578600 +0200 +++ tc20_verifywrap.stderr.out 2012-06-05 04:00:39.646586086 +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-05 03:54:25.066578600 +0200 +++ tc21_pthonce.stderr.out 2012-06-05 04:00:41.776586215 +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-05 03:54:25.076578601 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-05 04:00:44.036586283 +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-05 03:54:25.076578601 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-05 04:00:44.036586283 +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-05 03:45:08.156583600 +0200 +++ circular_buffer.stderr.out 2012-06-05 03:52:18.016578482 +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-05 03:45:08.176583602 +0200 +++ tc04_free_lock.stderr.out 2012-06-05 03:53:57.476586506 +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-05 03:45:08.186583603 +0200 +++ tc04_free_lock.stderr.out 2012-06-05 03:53:57.476586506 +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-05 03:45:08.176583602 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-05 03:53:59.946586752 +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-05 03:45:08.156583600 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-05 03:53:59.946586752 +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-05 03:45:08.166583601 +0200 +++ tc09_bad_unlock.stderr.out 2012-06-05 03:53:59.946586752 +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-05 03:45:08.146583599 +0200 +++ tc21_pthonce.stderr.out 2012-06-05 03:54:07.816587463 +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-05 03:45:06.196583404 +0200 +++ mcinvokeWS.stderrB.out 2012-06-05 03:46:43.986581820 +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 39448 existence failed ================================================= ./valgrind-old/gdbserver_tests/mcinvokeWS.stdoutB.diff ================================================= --- mcinvokeWS.stdoutB.exp 2012-06-05 03:45:06.206583405 +0200 +++ mcinvokeWS.stdoutB.out 2012-06-05 03:46:43.976581819 +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-05 03:45:06.016583386 +0200 +++ tc18_semabuse.stderr.out 2012-06-05 03:51:14.876583734 +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-05 03:45:06.006583385 +0200 +++ tc20_verifywrap.stderr.out 2012-06-05 03:51:19.926584158 +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-05 03:45:06.006583385 +0200 +++ tc21_pthonce.stderr.out 2012-06-05 03:51:22.066584289 +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-05 03:45:06.006583385 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-05 03:51:24.326584358 +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-05 03:45:06.016583386 +0200 +++ tc22_exit_w_lock.stderr.out 2012-06-05 03:51:24.326584358 +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)