1
2---Thread-Announcement------------------------------------------
3
4Thread #x was created
5   ...
6   by 0x........: pthread_create@* (hg_intercepts.c:...)
7   by 0x........: main (rwlock_race.c:48)
8
9---Thread-Announcement------------------------------------------
10
11Thread #x was created
12   ...
13   by 0x........: pthread_create@* (hg_intercepts.c:...)
14   by 0x........: main (rwlock_race.c:47)
15
16----------------------------------------------------------------
17
18Possible data race during write of size 4 at 0x........ by thread #x
19Locks held: none
20   at 0x........: thread_func (rwlock_race.c:29)
21   by 0x........: mythread_wrapper (hg_intercepts.c:...)
22   ...
23
24This conflicts with a previous write of size 4 by thread #x
25Locks held: none
26   at 0x........: thread_func (rwlock_race.c:29)
27   by 0x........: mythread_wrapper (hg_intercepts.c:...)
28   ...
29 Location 0x........ is 0 bytes inside global var "s_racy"
30 declared at rwlock_race.c:18
31
32Result: 2
33
34ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
35