1
2The 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
6Thread 3:
7Probably 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:?)
11cond 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
15Thread 1:
16Mutex 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)
19mutex 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
23The 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)
26rwlock 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
30Thread 3:
31Probably 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:?)
35cond 0x........ was first observed at:
36   at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
37   by 0x........: main (tc23_bogus_condwait.c:56)
38rwlock 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
42Thread 1:
43Mutex 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)
46mutex 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
50Thread 3:
51Probably 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:?)
55cond 0x........ was first observed at:
56   at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
57   by 0x........: main (tc23_bogus_condwait.c:56)
58mutex 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
62Thread 1:
63The 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)
66mutex 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
70Thread 2:
71Mutex 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:?)
75mutex 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
80ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
81