blob: a18450b9a89ae5836ba5a724b38d9d81853566ff [file] [log] [blame]
sewardjb4112022007-11-09 22:49:28 +00001
sewardje723d422011-06-24 12:55:25 +00002---Thread-Announcement------------------------------------------
3
sewardj575e48f2008-12-18 20:21:13 +00004Thread #x is the program's root thread
sewardjb4112022007-11-09 22:49:28 +00005
sewardje723d422011-06-24 12:55:25 +00006----------------------------------------------------------------
7
sewardj24118492009-07-15 14:50:02 +00008Thread #x unlocked a not-locked lock at 0x........
sewardj8eb8bab2015-07-21 14:44:28 +00009 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
10 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +000011 by 0x........: nearly_main (tc09_bad_unlock.c:27)
12 by 0x........: main (tc09_bad_unlock.c:49)
philippe46daf0d2014-07-29 20:08:15 +000013 Lock at 0x........ was first observed
sewardjb4112022007-11-09 22:49:28 +000014 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
15 by 0x........: nearly_main (tc09_bad_unlock.c:23)
16 by 0x........: main (tc09_bad_unlock.c:49)
philippe46daf0d2014-07-29 20:08:15 +000017 Address 0x........ is on thread #x's stack
18 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
19
sewardjb4112022007-11-09 22:49:28 +000020
sewardje723d422011-06-24 12:55:25 +000021---Thread-Announcement------------------------------------------
22
sewardj575e48f2008-12-18 20:21:13 +000023Thread #x was created
njn553c42f2009-03-13 01:41:03 +000024 ...
sewardjb4112022007-11-09 22:49:28 +000025 by 0x........: pthread_create@* (hg_intercepts.c:...)
26 by 0x........: nearly_main (tc09_bad_unlock.c:35)
27 by 0x........: main (tc09_bad_unlock.c:49)
28
sewardje723d422011-06-24 12:55:25 +000029----------------------------------------------------------------
30
sewardj575e48f2008-12-18 20:21:13 +000031Thread #x unlocked lock at 0x........ currently held by thread #x
sewardj8eb8bab2015-07-21 14:44:28 +000032 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
33 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +000034 by 0x........: child_fn (tc09_bad_unlock.c:11)
35 by 0x........: mythread_wrapper (hg_intercepts.c:...)
njn553c42f2009-03-13 01:41:03 +000036 ...
philippe46daf0d2014-07-29 20:08:15 +000037 Lock at 0x........ was first observed
sewardjb4112022007-11-09 22:49:28 +000038 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
39 by 0x........: nearly_main (tc09_bad_unlock.c:31)
40 by 0x........: main (tc09_bad_unlock.c:49)
philippe46daf0d2014-07-29 20:08:15 +000041 Address 0x........ is on thread #x's stack
42 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
43
sewardjb4112022007-11-09 22:49:28 +000044
sewardje723d422011-06-24 12:55:25 +000045----------------------------------------------------------------
46
sewardj24118492009-07-15 14:50:02 +000047Thread #x unlocked an invalid lock at 0x........
sewardj8eb8bab2015-07-21 14:44:28 +000048 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
49 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +000050 by 0x........: nearly_main (tc09_bad_unlock.c:41)
51 by 0x........: main (tc09_bad_unlock.c:49)
52
sewardje723d422011-06-24 12:55:25 +000053----------------------------------------------------------------
54
sewardj575e48f2008-12-18 20:21:13 +000055Thread #x's call to pthread_mutex_unlock failed
sewardjb4112022007-11-09 22:49:28 +000056 with error code 22 (EINVAL: Invalid argument)
sewardj8eb8bab2015-07-21 14:44:28 +000057 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
58 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +000059 by 0x........: nearly_main (tc09_bad_unlock.c:41)
60 by 0x........: main (tc09_bad_unlock.c:49)
sewardjb4112022007-11-09 22:49:28 +000061
njncab64bc2009-08-12 00:14:44 +000062---------------------
sewardje723d422011-06-24 12:55:25 +000063----------------------------------------------------------------
64
sewardj24118492009-07-15 14:50:02 +000065Thread #x unlocked a not-locked lock at 0x........
sewardj8eb8bab2015-07-21 14:44:28 +000066 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
67 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +000068 by 0x........: nearly_main (tc09_bad_unlock.c:27)
69 by 0x........: main (tc09_bad_unlock.c:50)
philippe46daf0d2014-07-29 20:08:15 +000070 Lock at 0x........ was first observed
sewardjb4112022007-11-09 22:49:28 +000071 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
72 by 0x........: nearly_main (tc09_bad_unlock.c:23)
sewardjab195152008-11-10 00:16:34 +000073 by 0x........: main (tc09_bad_unlock.c:49)
philippe46daf0d2014-07-29 20:08:15 +000074 Address 0x........ is on thread #x's stack
75 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
76
sewardjab195152008-11-10 00:16:34 +000077
sewardje723d422011-06-24 12:55:25 +000078----------------------------------------------------------------
79
sewardj575e48f2008-12-18 20:21:13 +000080Thread #x: Attempt to re-lock a non-recursive lock I already hold
sewardj8eb8bab2015-07-21 14:44:28 +000081 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
82 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
sewardjab195152008-11-10 00:16:34 +000083 by 0x........: nearly_main (tc09_bad_unlock.c:32)
84 by 0x........: main (tc09_bad_unlock.c:50)
sewardj56e256a2010-10-14 10:45:20 +000085 Lock was previously acquired
sewardj8eb8bab2015-07-21 14:44:28 +000086 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
87 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
sewardj56e256a2010-10-14 10:45:20 +000088 by 0x........: nearly_main (tc09_bad_unlock.c:32)
89 by 0x........: main (tc09_bad_unlock.c:49)
sewardjab195152008-11-10 00:16:34 +000090
sewardje723d422011-06-24 12:55:25 +000091----------------------------------------------------------------
92
sewardj575e48f2008-12-18 20:21:13 +000093Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion
sewardj8eb8bab2015-07-21 14:44:28 +000094 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
95 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
sewardjab195152008-11-10 00:16:34 +000096 by 0x........: nearly_main (tc09_bad_unlock.c:32)
sewardjb4112022007-11-09 22:49:28 +000097 by 0x........: main (tc09_bad_unlock.c:50)
98
sewardje723d422011-06-24 12:55:25 +000099---Thread-Announcement------------------------------------------
100
sewardj575e48f2008-12-18 20:21:13 +0000101Thread #x was created
njn553c42f2009-03-13 01:41:03 +0000102 ...
sewardjb4112022007-11-09 22:49:28 +0000103 by 0x........: pthread_create@* (hg_intercepts.c:...)
104 by 0x........: nearly_main (tc09_bad_unlock.c:35)
105 by 0x........: main (tc09_bad_unlock.c:50)
106
sewardje723d422011-06-24 12:55:25 +0000107----------------------------------------------------------------
108
sewardj575e48f2008-12-18 20:21:13 +0000109Thread #x unlocked lock at 0x........ currently held by thread #x
sewardj8eb8bab2015-07-21 14:44:28 +0000110 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
111 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +0000112 by 0x........: child_fn (tc09_bad_unlock.c:11)
113 by 0x........: mythread_wrapper (hg_intercepts.c:...)
njn553c42f2009-03-13 01:41:03 +0000114 ...
philippe46daf0d2014-07-29 20:08:15 +0000115 Lock at 0x........ was first observed
sewardjb4112022007-11-09 22:49:28 +0000116 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
117 by 0x........: nearly_main (tc09_bad_unlock.c:31)
sewardjab195152008-11-10 00:16:34 +0000118 by 0x........: main (tc09_bad_unlock.c:49)
philippe46daf0d2014-07-29 20:08:15 +0000119 Address 0x........ is on thread #x's stack
120 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
121
sewardjb4112022007-11-09 22:49:28 +0000122
sewardje723d422011-06-24 12:55:25 +0000123----------------------------------------------------------------
124
sewardj24118492009-07-15 14:50:02 +0000125Thread #x unlocked an invalid lock at 0x........
sewardj8eb8bab2015-07-21 14:44:28 +0000126 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
127 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +0000128 by 0x........: nearly_main (tc09_bad_unlock.c:41)
129 by 0x........: main (tc09_bad_unlock.c:50)
130
sewardje723d422011-06-24 12:55:25 +0000131----------------------------------------------------------------
132
sewardj575e48f2008-12-18 20:21:13 +0000133Thread #x's call to pthread_mutex_unlock failed
sewardjb4112022007-11-09 22:49:28 +0000134 with error code 22 (EINVAL: Invalid argument)
sewardj8eb8bab2015-07-21 14:44:28 +0000135 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
136 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
sewardjb4112022007-11-09 22:49:28 +0000137 by 0x........: nearly_main (tc09_bad_unlock.c:41)
138 by 0x........: main (tc09_bad_unlock.c:50)
139
sewardje723d422011-06-24 12:55:25 +0000140----------------------------------------------------------------
141
sewardj575e48f2008-12-18 20:21:13 +0000142Thread #x: Exiting thread still holds 1 lock
njn553c42f2009-03-13 01:41:03 +0000143 ...
sewardjb4112022007-11-09 22:49:28 +0000144
njncab64bc2009-08-12 00:14:44 +0000145
sewardjab195152008-11-10 00:16:34 +0000146ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)