================================================= ./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff ================================================= --- pth_barrier3.stderr.exp 2013-11-08 03:52:48.870129010 +0000 +++ pth_barrier3.stderr.out 2013-11-08 04:04:03.790890698 +0000 @@ -35,3 +35,843 @@ by 0x........: barriers_and_races (pth_barrier.c:76) by 0x........: main (pth_barrier.c:122) +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Address 0x........ is 0 bytes inside a block of size 1 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: barriers_and_races (pth_barrier.c:76) + by 0x........: main (pth_barrier.c:122) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Address 0x........ is 0 bytes inside a block of size 1 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: barriers_and_races (pth_barrier.c:76) + by 0x........: main (pth_barrier.c:122) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Address 0x........ is 0 bytes inside a block of size 1 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: barriers_and_races (pth_barrier.c:76) + by 0x........: main (pth_barrier.c:122) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- ================================================= ./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff ================================================= --- pth_destroy_cond.stderr.exp 2013-11-08 03:52:48.877128874 +0000 +++ pth_destroy_cond.stderr.out 2013-11-08 04:04:04.410878513 +0000 @@ -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_barrier3.stderr.diff ================================================= --- pth_barrier3.stderr.exp 2013-11-08 03:34:26.362702463 +0000 +++ pth_barrier3.stderr.out 2013-11-08 03:45:50.384261883 +0000 @@ -35,3 +35,843 @@ by 0x........: barriers_and_races (pth_barrier.c:76) by 0x........: main (pth_barrier.c:122) +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Address 0x........ is 0 bytes inside a block of size 1 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: barriers_and_races (pth_barrier.c:76) + by 0x........: main (pth_barrier.c:122) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Address 0x........ is 0 bytes inside a block of size 1 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: barriers_and_races (pth_barrier.c:76) + by 0x........: main (pth_barrier.c:122) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + at 0x........: threadfunc (pth_barrier.c:60) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +Address 0x........ is 0 bytes inside a block of size 1 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: barriers_and_races (pth_barrier.c:76) + by 0x........: main (pth_barrier.c:122) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: barriers_and_races (pth_barrier.c:92) + by 0x........: main (pth_barrier.c:122) + +---------------------------------------------------------------- ================================================= ./valgrind-old/helgrind/tests/pth_destroy_cond.stderr.diff ================================================= --- pth_destroy_cond.stderr.exp 2013-11-08 03:34:26.372702266 +0000 +++ pth_destroy_cond.stderr.out 2013-11-08 03:45:51.172246388 +0000 @@ -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