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