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:54)
22
23Thread 3:
24Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
25   at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
26   by 0x........: rescue_me (tc23_bogus_condwait.c:24)
27   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
28cond 0x........ was first observed at:
29   at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
30   by 0x........: main (tc23_bogus_condwait.c:56)
31mutex 0x........ was first observed at:
32   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
33   by 0x........: main (tc23_bogus_condwait.c:54)
34
35Thread 1:
36The object at address 0x........ is not a mutex.
37   at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
38   by 0x........: main (tc23_bogus_condwait.c:75)
39rwlock 0x........ was first observed at:
40   at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
41   by 0x........: main (tc23_bogus_condwait.c:57)
42
43Thread 3:
44Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
45   at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
46   by 0x........: rescue_me (tc23_bogus_condwait.c:28)
47   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
48cond 0x........ was first observed at:
49   at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
50   by 0x........: main (tc23_bogus_condwait.c:56)
51rwlock 0x........ was first observed at:
52   at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
53   by 0x........: main (tc23_bogus_condwait.c:57)
54
55Thread 1:
56Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
57   at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
58   by 0x........: main (tc23_bogus_condwait.c:78)
59mutex 0x........ was first observed at:
60   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
61   by 0x........: main (tc23_bogus_condwait.c:53)
62
63Thread 3:
64Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
65   at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
66   by 0x........: rescue_me (tc23_bogus_condwait.c:32)
67   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
68cond 0x........ was first observed at:
69   at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
70   by 0x........: main (tc23_bogus_condwait.c:56)
71mutex 0x........ was first observed at:
72   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
73   by 0x........: main (tc23_bogus_condwait.c:53)
74
75Thread 1:
76The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 2.
77   at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
78   by 0x........: main (tc23_bogus_condwait.c:78)
79mutex 0x........ was first observed at:
80   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
81   by 0x........: main (tc23_bogus_condwait.c:53)
82
83Thread 2:
84Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
85   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
86   by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
87   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
88mutex 0x........ was first observed at:
89   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
90   by 0x........: main (tc23_bogus_condwait.c:53)
91
92
93ERROR SUMMARY: 12 errors from 10 contexts (suppressed: 0 from 0)
94