1 2 Thread #x is the program's root thread 3 4 Thread #x was created 5 ... 6 by 0x........: pthread_create@* (hg_intercepts.c:...) 7 by 0x........: main (tc06_two_races.c:26) 8 9 Possible data race during read of size 4 at 0x........ by thread #x 10 at 0x........: main (tc06_two_races.c:31) 11 This conflicts with a previous write of size 4 by thread #x 12 at 0x........: child_fn (tc06_two_races.c:14) 13 by 0x........: mythread_wrapper (hg_intercepts.c:...) 14 ... 15 Location 0x........ is 0 bytes inside global var "unprot1" 16 declared at tc06_two_races.c:9 17 18 Possible data race during write of size 4 at 0x........ by thread #x 19 at 0x........: main (tc06_two_races.c:31) 20 This conflicts with a previous write of size 4 by thread #x 21 at 0x........: child_fn (tc06_two_races.c:14) 22 by 0x........: mythread_wrapper (hg_intercepts.c:...) 23 ... 24 Location 0x........ is 0 bytes inside global var "unprot1" 25 declared at tc06_two_races.c:9 26 27 Possible data race during read of size 4 at 0x........ by thread #x 28 at 0x........: main (tc06_two_races.c:35) 29 This conflicts with a previous write of size 4 by thread #x 30 at 0x........: child_fn (tc06_two_races.c:18) 31 by 0x........: mythread_wrapper (hg_intercepts.c:...) 32 ... 33 Location 0x........ is 0 bytes inside global var "unprot2" 34 declared at tc06_two_races.c:9 35 36 Possible data race during write of size 4 at 0x........ by thread #x 37 at 0x........: main (tc06_two_races.c:35) 38 This conflicts with a previous write of size 4 by thread #x 39 at 0x........: child_fn (tc06_two_races.c:18) 40 by 0x........: mythread_wrapper (hg_intercepts.c:...) 41 ... 42 Location 0x........ is 0 bytes inside global var "unprot2" 43 declared at tc06_two_races.c:9 44 45 46 ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) 47