• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---Thread-Announcement------------------------------------------
2
3Thread #x was created
4   ...
5   by 0x........: pthread_create@* (hg_intercepts.c:...)
6   by 0x........: main (pth_destroy_cond.c:29)
7
8---Thread-Announcement------------------------------------------
9
10Thread #x is the program's root thread
11
12----------------------------------------------------------------
13
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"
18
19Possible data race during read of size 1 at 0x........ by thread #x
20Locks 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:...)
26   ...
27
28This conflicts with a previous write of size 4 by thread #x
29Locks held: none
30   ...
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"
35
36----------------------------------------------------------------
37
38Thread #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:...)
43   ...
44
45