1 ---Thread-Announcement------------------------------------------
5 by 0x........: pthread_create@* (hg_intercepts.c:...)
6 by 0x........: main (pth_destroy_cond.c:29)
8 ---Thread-Announcement------------------------------------------
10 Thread #x is the program's root thread
12 ----------------------------------------------------------------
14 Lock at 0x........ was first observed
15 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
16 by 0x........: main (pth_destroy_cond.c:25)
17 Address 0x........ is 0 bytes inside data symbol "mutex"
19 Possible data race during read of size 1 at 0x........ by thread #x
20 Locks held: 1, at address 0x........
21 at 0x........: my_memcmp (hg_intercepts.c:...)
22 by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
23 by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
24 by 0x........: ThreadFunction (pth_destroy_cond.c:18)
25 by 0x........: mythread_wrapper (hg_intercepts.c:...)
28 This conflicts with a previous write of size 4 by thread #x
31 by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
32 by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
33 by 0x........: main (pth_destroy_cond.c:31)
34 Address 0x........ is 4 bytes inside data symbol "cond"
36 ----------------------------------------------------------------
38 Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
39 at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
40 by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
41 by 0x........: ThreadFunction (pth_destroy_cond.c:18)
42 by 0x........: mythread_wrapper (hg_intercepts.c:...)