1 Thread #x was created 2 ... 3 by 0x........: pthread_create@* (hg_intercepts.c:...) 4 by 0x........: barriers_and_races (pth_barrier.c:84) 5 by 0x........: main (pth_barrier.c:107) 6 7 Thread #x was created 8 ... 9 by 0x........: pthread_create@* (hg_intercepts.c:...) 10 by 0x........: barriers_and_races (pth_barrier.c:84) 11 by 0x........: main (pth_barrier.c:107) 12 13 Possible data race during write of size 4 at 0x........ by thread #x 14 at 0x........: threadfunc (pth_barrier.c:57) 15 by 0x........: mythread_wrapper (hg_intercepts.c:...) 16 ... 17 This conflicts with a previous write of size 4 by thread #x 18 at 0x........: threadfunc (pth_barrier.c:57) 19 by 0x........: mythread_wrapper (hg_intercepts.c:...) 20 ... 21 Address 0x........ is 0 bytes inside a block of size 4 alloc'd 22 at 0x........: malloc (vg_replace_malloc.c:...) 23 by 0x........: barriers_and_races (pth_barrier.c:72) 24 by 0x........: main (pth_barrier.c:107) 25 26