Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:27)
   by 0x........: main (tc09_bad_unlock.c:49)
mutex 0x........ was first observed at:
   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:23)
   by 0x........: main (tc09_bad_unlock.c:49)

Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
   by 0x........: child_fn (tc09_bad_unlock.c:11)
   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
mutex 0x........ was first observed at:
   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:31)
   by 0x........: main (tc09_bad_unlock.c:49)

Thread 1:
The object at address 0x........ is not a mutex.
   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:41)
   by 0x........: main (tc09_bad_unlock.c:49)

Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
   at 0x........: nearly_main (tc09_bad_unlock.c:45)
   by 0x........: (below main)
mutex 0x........ was first observed at:
   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:31)
   by 0x........: main (tc09_bad_unlock.c:49)

---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:27)
   by 0x........: main (tc09_bad_unlock.c:50)
mutex 0x........ was first observed at:
   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:23)
   by 0x........: main (tc09_bad_unlock.c:50)

The object at address 0x........ is not a mutex.
   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:41)
   by 0x........: main (tc09_bad_unlock.c:50)

Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
   at 0x........: nearly_main (tc09_bad_unlock.c:45)
   by 0x........: (below main)
mutex 0x........ was first observed at:
   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
   by 0x........: nearly_main (tc09_bad_unlock.c:31)
   by 0x........: main (tc09_bad_unlock.c:50)


ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)