1 2 The object at address 0x........ is not a mutex. 3 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) 4 by 0x........: main (tc23_bogus_condwait.c:69) 5 6 Thread 3: 7 Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. 8 at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) 9 by 0x........: rescue_me (tc23_bogus_condwait.c:20) 10 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) 11 cond 0x........ was first observed at: 12 at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) 13 by 0x........: main (tc23_bogus_condwait.c:56) 14 15 Thread 1: 16 Mutex not locked: mutex 0x........, recursion count 0, owner 0. 17 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) 18 by 0x........: main (tc23_bogus_condwait.c:72) 19 mutex 0x........ was first observed at: 20 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) 21 by 0x........: main (tc23_bogus_condwait.c:51) 22 23 The object at address 0x........ is not a mutex. 24 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) 25 by 0x........: main (tc23_bogus_condwait.c:75) 26 rwlock 0x........ was first observed at: 27 at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) 28 by 0x........: main (tc23_bogus_condwait.c:57) 29 30 Thread 3: 31 Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. 32 at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) 33 by 0x........: rescue_me (tc23_bogus_condwait.c:24) 34 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) 35 cond 0x........ was first observed at: 36 at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) 37 by 0x........: main (tc23_bogus_condwait.c:56) 38 rwlock 0x........ was first observed at: 39 at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) 40 by 0x........: main (tc23_bogus_condwait.c:57) 41 42 Thread 1: 43 Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. 44 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) 45 by 0x........: main (tc23_bogus_condwait.c:78) 46 mutex 0x........ was first observed at: 47 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) 48 by 0x........: main (tc23_bogus_condwait.c:53) 49 50 Thread 3: 51 Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. 52 at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) 53 by 0x........: rescue_me (tc23_bogus_condwait.c:28) 54 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) 55 cond 0x........ was first observed at: 56 at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) 57 by 0x........: main (tc23_bogus_condwait.c:56) 58 mutex 0x........ was first observed at: 59 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) 60 by 0x........: main (tc23_bogus_condwait.c:53) 61 62 Thread 1: 63 The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 2. 64 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) 65 by 0x........: main (tc23_bogus_condwait.c:78) 66 mutex 0x........ was first observed at: 67 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) 68 by 0x........: main (tc23_bogus_condwait.c:53) 69 70 Thread 2: 71 Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. 72 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 73 by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) 74 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) 75 mutex 0x........ was first observed at: 76 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) 77 by 0x........: main (tc23_bogus_condwait.c:53) 78 79 80 ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0) 81