1 ---Thread-Announcement------------------------------------------ 2 3 Thread #x was created 4 ... 5 by 0x........: pthread_create@* (hg_intercepts.c:...) 6 by 0x........: barriers_and_races (pth_barrier.c:92) 7 by 0x........: main (pth_barrier.c:122) 8 9 ---Thread-Announcement------------------------------------------ 10 11 Thread #x was created 12 ... 13 by 0x........: pthread_create@* (hg_intercepts.c:...) 14 by 0x........: barriers_and_races (pth_barrier.c:92) 15 by 0x........: main (pth_barrier.c:122) 16 17 ---Thread-Announcement------------------------------------------ 18 19 Thread #x is the program's root thread 20 21 ---------------------------------------------------------------- 22 23 Possible data race during write of size 1 at 0x........ by thread #x 24 Locks held: none 25 at 0x........: threadfunc (pth_barrier.c:60) 26 by 0x........: mythread_wrapper (hg_intercepts.c:...) 27 ... 28 29 This conflicts with a previous write of size 1 by thread #x 30 Locks held: none 31 at 0x........: threadfunc (pth_barrier.c:60) 32 by 0x........: mythread_wrapper (hg_intercepts.c:...) 33 ... 34 Address 0x........ is 0 bytes inside a block of size 1 alloc'd 35 at 0x........: malloc (vg_replace_malloc.c:...) 36 by 0x........: barriers_and_races (pth_barrier.c:76) 37 by 0x........: main (pth_barrier.c:122) 38 Block was alloc'd by thread #x 39 40