blob: 7832a6f6d137d77409431995a01e825af94ffa71 [file] [log] [blame]
bartdfca61f2009-07-22 19:06:22 +00001
bart4f2168d2009-07-27 08:30:52 +00002The 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
bart4f2168d2009-07-27 08:30:52 +00006Mutex not locked: mutex 0x........, recursion count 0, owner 0.
7 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
8 by 0x........: main (tc23_bogus_condwait.c:72)
9mutex 0x........ was first observed at:
10 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
11 by 0x........: main (tc23_bogus_condwait.c:51)
12
13Thread 3:
14Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
15 at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
16 by 0x........: rescue_me (tc23_bogus_condwait.c:20)
bartfa4fb822009-07-23 07:10:40 +000017 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000018cond 0x........ was first observed at:
bart791a0c62009-07-31 17:31:44 +000019 at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000020 by 0x........: main (tc23_bogus_condwait.c:56)
21mutex 0x........ was first observed at:
22 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
23 by 0x........: main (tc23_bogus_condwait.c:51)
bartfa4fb822009-07-23 07:10:40 +000024
25Thread 1:
bartdfca61f2009-07-22 19:06:22 +000026The object at address 0x........ is not a mutex.
bart9667ccd2009-07-23 18:10:55 +000027 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
bartdfca61f2009-07-22 19:06:22 +000028 by 0x........: main (tc23_bogus_condwait.c:75)
bart4f2168d2009-07-27 08:30:52 +000029rwlock 0x........ was first observed at:
bart791a0c62009-07-31 17:31:44 +000030 at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000031 by 0x........: main (tc23_bogus_condwait.c:57)
bartdfca61f2009-07-22 19:06:22 +000032
bart4f2168d2009-07-27 08:30:52 +000033Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
bart9667ccd2009-07-23 18:10:55 +000034 at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
bartdfca61f2009-07-22 19:06:22 +000035 by 0x........: main (tc23_bogus_condwait.c:78)
36mutex 0x........ was first observed at:
37 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000038 by 0x........: main (tc23_bogus_condwait.c:53)
bartdfca61f2009-07-22 19:06:22 +000039
bartfa4fb822009-07-23 07:10:40 +000040Thread 3:
41Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
42 at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000043 by 0x........: rescue_me (tc23_bogus_condwait.c:24)
bartfa4fb822009-07-23 07:10:40 +000044 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
45cond 0x........ was first observed at:
bart791a0c62009-07-31 17:31:44 +000046 at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000047 by 0x........: main (tc23_bogus_condwait.c:56)
bartfa4fb822009-07-23 07:10:40 +000048mutex 0x........ was first observed at:
49 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000050 by 0x........: main (tc23_bogus_condwait.c:53)
bartfa4fb822009-07-23 07:10:40 +000051
njn9a7e19e2009-08-12 00:32:44 +000052The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
bart4f2168d2009-07-27 08:30:52 +000053Thread 2:
54Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
55 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
56 by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
bartfa4fb822009-07-23 07:10:40 +000057 by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
bartfa4fb822009-07-23 07:10:40 +000058mutex 0x........ was first observed at:
59 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
bart4f2168d2009-07-27 08:30:52 +000060 by 0x........: main (tc23_bogus_condwait.c:53)
bartfa4fb822009-07-23 07:10:40 +000061
njncab64bc2009-08-12 00:14:44 +000062
bart8c979e22009-07-27 14:04:46 +000063ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)