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_WRK (hg_intercepts.c:...)
11   by 0x........: pthread_create@* (hg_intercepts.c:...)
12   by 0x........: main (tc06_two_races.c:26)
13
14----------------------------------------------------------------
15
16Possible data race during read of size 4 at 0x........ by thread #x
17Locks held: none
18   at 0x........: main (tc06_two_races.c:31)
19
20This conflicts with a previous write of size 4 by thread #x
21Locks held: none
22   at 0x........: child_fn (tc06_two_races.c:14)
23   by 0x........: mythread_wrapper (hg_intercepts.c:...)
24   ...
25
26Location 0x........ is 0 bytes inside global var "unprot1"
27declared at tc06_two_races.c:9
28
29----------------------------------------------------------------
30
31Possible data race during write of size 4 at 0x........ by thread #x
32Locks held: none
33   at 0x........: main (tc06_two_races.c:31)
34
35This conflicts with a previous write of size 4 by thread #x
36Locks held: none
37   at 0x........: child_fn (tc06_two_races.c:14)
38   by 0x........: mythread_wrapper (hg_intercepts.c:...)
39   ...
40
41Location 0x........ is 0 bytes inside global var "unprot1"
42declared at tc06_two_races.c:9
43
44----------------------------------------------------------------
45
46Possible data race during read of size 4 at 0x........ by thread #x
47Locks held: none
48   at 0x........: main (tc06_two_races.c:35)
49
50This conflicts with a previous write of size 4 by thread #x
51Locks held: none
52   at 0x........: child_fn (tc06_two_races.c:18)
53   by 0x........: mythread_wrapper (hg_intercepts.c:...)
54   ...
55
56Location 0x........ is 0 bytes inside global var "unprot2"
57declared at tc06_two_races.c:9
58
59----------------------------------------------------------------
60
61Possible data race during write of size 4 at 0x........ by thread #x
62Locks held: none
63   at 0x........: main (tc06_two_races.c:35)
64
65This conflicts with a previous write of size 4 by thread #x
66Locks held: none
67   at 0x........: child_fn (tc06_two_races.c:18)
68   by 0x........: mythread_wrapper (hg_intercepts.c:...)
69   ...
70
71Location 0x........ is 0 bytes inside global var "unprot2"
72declared at tc06_two_races.c:9
73
74
75ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
76