1 ---Thread-Announcement------------------------------------------
5 by 0x........: pthread_create@* (hg_intercepts.c:...)
6 by 0x........: main (annotate_rwlock.c:164)
8 ---Thread-Announcement------------------------------------------
12 by 0x........: pthread_create@* (hg_intercepts.c:...)
13 by 0x........: main (annotate_rwlock.c:164)
15 ----------------------------------------------------------------
17 Possible data race during read of size 4 at 0x........ by thread #x
19 at 0x........: rwlock_rdlock (annotate_rwlock.c:71)
20 by 0x........: thread_func (annotate_rwlock.c:144)
21 by 0x........: mythread_wrapper (hg_intercepts.c:...)
24 This conflicts with a previous write of size 4 by thread #x
26 at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
27 by 0x........: thread_func (annotate_rwlock.c:147)
28 by 0x........: mythread_wrapper (hg_intercepts.c:...)
30 Address 0x........ is 4 bytes inside data symbol "s_rwlock"
32 ----------------------------------------------------------------
34 Possible data race during read of size 4 at 0x........ by thread #x
36 at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
37 by 0x........: thread_func (annotate_rwlock.c:144)
38 by 0x........: mythread_wrapper (hg_intercepts.c:...)
41 This conflicts with a previous write of size 4 by thread #x
43 at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
44 by 0x........: thread_func (annotate_rwlock.c:144)
45 by 0x........: mythread_wrapper (hg_intercepts.c:...)
47 Address 0x........ is 8 bytes inside data symbol "s_rwlock"
49 ----------------------------------------------------------------
51 Possible data race during write of size 4 at 0x........ by thread #x
53 at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
54 by 0x........: thread_func (annotate_rwlock.c:144)
55 by 0x........: mythread_wrapper (hg_intercepts.c:...)
58 This conflicts with a previous read of size 4 by thread #x
60 at 0x........: rwlock_unlock (annotate_rwlock.c:131)
61 by 0x........: thread_func (annotate_rwlock.c:149)
62 by 0x........: mythread_wrapper (hg_intercepts.c:...)
64 Address 0x........ is 8 bytes inside data symbol "s_rwlock"
66 ----------------------------------------------------------------
68 Possible data race during write of size 4 at 0x........ by thread #x
70 at 0x........: rwlock_unlock (annotate_rwlock.c:121)
71 by 0x........: thread_func (annotate_rwlock.c:146)
72 by 0x........: mythread_wrapper (hg_intercepts.c:...)
75 This conflicts with a previous read of size 4 by thread #x
77 at 0x........: rwlock_unlock (annotate_rwlock.c:131)
78 by 0x........: thread_func (annotate_rwlock.c:149)
79 by 0x........: mythread_wrapper (hg_intercepts.c:...)
81 Address 0x........ is 8 bytes inside data symbol "s_rwlock"
83 ----------------------------------------------------------------
85 Possible data race during write of size 4 at 0x........ by thread #x
87 at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
88 by 0x........: thread_func (annotate_rwlock.c:147)
89 by 0x........: mythread_wrapper (hg_intercepts.c:...)
92 This conflicts with a previous read of size 4 by thread #x
94 at 0x........: rwlock_unlock (annotate_rwlock.c:132)
95 by 0x........: thread_func (annotate_rwlock.c:149)
96 by 0x........: mythread_wrapper (hg_intercepts.c:...)
98 Address 0x........ is 4 bytes inside data symbol "s_rwlock"
100 ----------------------------------------------------------------
102 Lock at 0x........ was first observed
103 at 0x........: rwlock_init (annotate_rwlock.c:54)
104 by 0x........: main (annotate_rwlock.c:161)
105 Address 0x........ is 0 bytes inside data symbol "s_rwlock"
107 Possible data race during write of size 4 at 0x........ by thread #x
108 Locks held: 1, at address 0x........
109 at 0x........: rwlock_unlock (annotate_rwlock.c:127)
110 by 0x........: thread_func (annotate_rwlock.c:149)
111 by 0x........: mythread_wrapper (hg_intercepts.c:...)
114 This conflicts with a previous read of size 4 by thread #x
116 at 0x........: rwlock_unlock (annotate_rwlock.c:132)
117 by 0x........: thread_func (annotate_rwlock.c:149)
118 by 0x........: mythread_wrapper (hg_intercepts.c:...)
120 Address 0x........ is 4 bytes inside data symbol "s_rwlock"