1
2---Thread-Announcement------------------------------------------
3
4Thread #x is the program's root thread
5
6----------------------------------------------------------------
7
8Thread #x unlocked a not-locked lock at 0x........
9   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
10   by 0x........: nearly_main (tc09_bad_unlock.c:27)
11   by 0x........: main (tc09_bad_unlock.c:49)
12  Lock at 0x........ was first observed
13   at 0x........: pthread_mutex_init (hg_intercepts.c:...)
14   by 0x........: nearly_main (tc09_bad_unlock.c:23)
15   by 0x........: main (tc09_bad_unlock.c:49)
16
17---Thread-Announcement------------------------------------------
18
19Thread #x was created
20   ...
21   by 0x........: pthread_create_WRK (hg_intercepts.c:...)
22   by 0x........: pthread_create@* (hg_intercepts.c:...)
23   by 0x........: nearly_main (tc09_bad_unlock.c:35)
24   by 0x........: main (tc09_bad_unlock.c:49)
25
26----------------------------------------------------------------
27
28Thread #x unlocked lock at 0x........ currently held by thread #x
29   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
30   by 0x........: child_fn (tc09_bad_unlock.c:11)
31   by 0x........: mythread_wrapper (hg_intercepts.c:...)
32   ...
33  Lock at 0x........ was first observed
34   at 0x........: pthread_mutex_init (hg_intercepts.c:...)
35   by 0x........: nearly_main (tc09_bad_unlock.c:31)
36   by 0x........: main (tc09_bad_unlock.c:49)
37
38----------------------------------------------------------------
39
40Thread #x unlocked an invalid lock at 0x........
41   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
42   by 0x........: nearly_main (tc09_bad_unlock.c:41)
43   by 0x........: main (tc09_bad_unlock.c:49)
44
45----------------------------------------------------------------
46
47Thread #x's call to pthread_mutex_unlock failed
48   with error code 22 (EINVAL: Invalid argument)
49   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
50   by 0x........: nearly_main (tc09_bad_unlock.c:41)
51   by 0x........: main (tc09_bad_unlock.c:49)
52
53---------------------
54----------------------------------------------------------------
55
56Thread #x unlocked a not-locked lock at 0x........
57   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
58   by 0x........: nearly_main (tc09_bad_unlock.c:27)
59   by 0x........: main (tc09_bad_unlock.c:50)
60  Lock at 0x........ was first observed
61   at 0x........: pthread_mutex_init (hg_intercepts.c:...)
62   by 0x........: nearly_main (tc09_bad_unlock.c:23)
63   by 0x........: main (tc09_bad_unlock.c:49)
64
65----------------------------------------------------------------
66
67Thread #x: Attempt to re-lock a non-recursive lock I already hold
68   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
69   by 0x........: nearly_main (tc09_bad_unlock.c:32)
70   by 0x........: main (tc09_bad_unlock.c:50)
71 Lock was previously acquired
72   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
73   by 0x........: nearly_main (tc09_bad_unlock.c:32)
74   by 0x........: main (tc09_bad_unlock.c:49)
75
76----------------------------------------------------------------
77
78Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion
79   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
80   by 0x........: nearly_main (tc09_bad_unlock.c:32)
81   by 0x........: main (tc09_bad_unlock.c:50)
82
83---Thread-Announcement------------------------------------------
84
85Thread #x was created
86   ...
87   by 0x........: pthread_create_WRK (hg_intercepts.c:...)
88   by 0x........: pthread_create@* (hg_intercepts.c:...)
89   by 0x........: nearly_main (tc09_bad_unlock.c:35)
90   by 0x........: main (tc09_bad_unlock.c:50)
91
92----------------------------------------------------------------
93
94Thread #x unlocked lock at 0x........ currently held by thread #x
95   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
96   by 0x........: child_fn (tc09_bad_unlock.c:11)
97   by 0x........: mythread_wrapper (hg_intercepts.c:...)
98   ...
99  Lock at 0x........ was first observed
100   at 0x........: pthread_mutex_init (hg_intercepts.c:...)
101   by 0x........: nearly_main (tc09_bad_unlock.c:31)
102   by 0x........: main (tc09_bad_unlock.c:49)
103
104----------------------------------------------------------------
105
106Thread #x unlocked an invalid lock at 0x........
107   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
108   by 0x........: nearly_main (tc09_bad_unlock.c:41)
109   by 0x........: main (tc09_bad_unlock.c:50)
110
111----------------------------------------------------------------
112
113Thread #x's call to pthread_mutex_unlock failed
114   with error code 22 (EINVAL: Invalid argument)
115   at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
116   by 0x........: nearly_main (tc09_bad_unlock.c:41)
117   by 0x........: main (tc09_bad_unlock.c:50)
118
119----------------------------------------------------------------
120
121Thread #x: Exiting thread still holds 1 lock
122   ...
123
124
125ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
126