================================================= ./valgrind-new/helgrind/tests/pth_cond_destroy_busy.stderr.diff ================================================= --- pth_cond_destroy_busy.stderr.exp 2014-02-10 04:00:34.000000000 +0100 +++ pth_cond_destroy_busy.stderr.out 2014-02-10 04:10:02.000000000 +0100 @@ -47,4 +47,4 @@ First pthread_cond_destroy() call returned EBUSY. Second pthread_cond_destroy() call returned success. -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff ================================================= --- pth_destroy_cond.stderr.exp 2014-02-10 04:00:34.000000000 +0100 +++ pth_destroy_cond.stderr.out 2014-02-10 04:10:03.000000000 +0100 @@ -6,6 +6,32 @@ by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (pth_destroy_cond.c:29) +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Lock at 0x........ was first observed + at 0x........: pthread_mutex_init (hg_intercepts.c:...) + by 0x........: main (pth_destroy_cond.c:25) + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: 1, at address 0x........ + at 0x........: my_memcmp (hg_intercepts.c:...) + by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...) + by 0x........: ThreadFunction (pth_destroy_cond.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + by 0x........: main (pth_destroy_cond.c:31) + ---------------------------------------------------------------- Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon ================================================= ./valgrind-old/helgrind/tests/pth_cond_destroy_busy.stderr.diff ================================================= --- pth_cond_destroy_busy.stderr.exp 2014-02-10 03:45:39.000000000 +0100 +++ pth_cond_destroy_busy.stderr.out 2014-02-10 03:55:03.000000000 +0100 @@ -47,4 +47,4 @@ First pthread_cond_destroy() call returned EBUSY. Second pthread_cond_destroy() call returned success. -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)