================================================= ./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff ================================================= --- pth_barrier3.stderr.exp 2013-11-30 03:51:12.871581543 +0000 +++ pth_barrier3.stderr.out 2013-11-30 04:03:45.620794995 +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/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2013-11-30 03:51:12.861581740 +0000 +++ tc21_pthonce.stderr.out 2013-11-30 04:04:29.178939268 +0000 @@ -7,6 +7,15 @@ by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (tc21_pthonce.c:86) +---------------------------------------------------------------- + +Possible data race during write 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:...) + ... + ---Thread-Announcement------------------------------------------ Thread #x was created @@ -50,4 +59,4 @@ declared at tc21_pthonce.c:51 -ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 24 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/pth_barrier3.stderr.diff ================================================= --- pth_barrier3.stderr.exp 2013-11-30 03:33:20.249698707 +0000 +++ pth_barrier3.stderr.out 2013-11-30 03:44:43.985218001 +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/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2013-11-30 03:33:20.119701262 +0000 +++ tc21_pthonce.stderr.out 2013-11-30 03:45:30.422308071 +0000 @@ -7,6 +7,15 @@ by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (tc21_pthonce.c:86) +---------------------------------------------------------------- + +Possible data race during write 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:...) + ... + ---Thread-Announcement------------------------------------------ Thread #x was created @@ -50,4 +59,4 @@ declared at tc21_pthonce.c:51 -ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 24 errors from 3 contexts (suppressed: 0 from 0)