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