1
2Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
3   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
4   by 0x........: nearly_main (tc09_bad_unlock.c:27)
5   by 0x........: main (tc09_bad_unlock.c:49)
6mutex 0x........ was first observed at:
7   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
8   by 0x........: nearly_main (tc09_bad_unlock.c:23)
9   by 0x........: main (tc09_bad_unlock.c:49)
10
11Thread 2:
12Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
13   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
14   by 0x........: child_fn (tc09_bad_unlock.c:11)
15   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
16mutex 0x........ was first observed at:
17   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
18   by 0x........: nearly_main (tc09_bad_unlock.c:31)
19   by 0x........: main (tc09_bad_unlock.c:49)
20
21Thread 1:
22The object at address 0x........ is not a mutex.
23   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
24   by 0x........: nearly_main (tc09_bad_unlock.c:41)
25   by 0x........: main (tc09_bad_unlock.c:49)
26
27Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
28   at 0x........: nearly_main (tc09_bad_unlock.c:45)
29   by 0x........: (below main)
30mutex 0x........ was first observed at:
31   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
32   by 0x........: nearly_main (tc09_bad_unlock.c:31)
33   by 0x........: main (tc09_bad_unlock.c:49)
34
35---------------------
36Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
37   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
38   by 0x........: nearly_main (tc09_bad_unlock.c:27)
39   by 0x........: main (tc09_bad_unlock.c:50)
40mutex 0x........ was first observed at:
41   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
42   by 0x........: nearly_main (tc09_bad_unlock.c:23)
43   by 0x........: main (tc09_bad_unlock.c:50)
44
45The object at address 0x........ is not a mutex.
46   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
47   by 0x........: nearly_main (tc09_bad_unlock.c:41)
48   by 0x........: main (tc09_bad_unlock.c:50)
49
50Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
51   at 0x........: nearly_main (tc09_bad_unlock.c:45)
52   by 0x........: (below main)
53mutex 0x........ was first observed at:
54   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
55   by 0x........: nearly_main (tc09_bad_unlock.c:31)
56   by 0x........: main (tc09_bad_unlock.c:50)
57
58
59ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
60