drd/tests/Makefile.am: Add dlopen.stdout.exp to EXTRA_DIST
[valgrind.git] / helgrind / tests / tc09_bad_unlock.stderr.exp
bloba18450b9a89ae5836ba5a724b38d9d81853566ff
2 ---Thread-Announcement------------------------------------------
4 Thread #x is the program's root thread
6 ----------------------------------------------------------------
8 Thread #x unlocked a not-locked lock at 0x........
9 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
10 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
11 by 0x........: nearly_main (tc09_bad_unlock.c:27)
12 by 0x........: main (tc09_bad_unlock.c:49)
13 Lock at 0x........ was first observed
14 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)
17 Address 0x........ is on thread #x's stack
18 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
21 ---Thread-Announcement------------------------------------------
23 Thread #x was created
24 ...
25 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)
29 ----------------------------------------------------------------
31 Thread #x unlocked lock at 0x........ currently held by thread #x
32 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
33 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
34 by 0x........: child_fn (tc09_bad_unlock.c:11)
35 by 0x........: mythread_wrapper (hg_intercepts.c:...)
36 ...
37 Lock at 0x........ was first observed
38 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)
41 Address 0x........ is on thread #x's stack
42 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
45 ----------------------------------------------------------------
47 Thread #x unlocked an invalid lock at 0x........
48 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
49 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
50 by 0x........: nearly_main (tc09_bad_unlock.c:41)
51 by 0x........: main (tc09_bad_unlock.c:49)
53 ----------------------------------------------------------------
55 Thread #x's call to pthread_mutex_unlock failed
56 with error code 22 (EINVAL: Invalid argument)
57 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
58 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
59 by 0x........: nearly_main (tc09_bad_unlock.c:41)
60 by 0x........: main (tc09_bad_unlock.c:49)
62 ---------------------
63 ----------------------------------------------------------------
65 Thread #x unlocked a not-locked lock at 0x........
66 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
67 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
68 by 0x........: nearly_main (tc09_bad_unlock.c:27)
69 by 0x........: main (tc09_bad_unlock.c:50)
70 Lock at 0x........ was first observed
71 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
72 by 0x........: nearly_main (tc09_bad_unlock.c:23)
73 by 0x........: main (tc09_bad_unlock.c:49)
74 Address 0x........ is on thread #x's stack
75 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
78 ----------------------------------------------------------------
80 Thread #x: Attempt to re-lock a non-recursive lock I already hold
81 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
82 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
83 by 0x........: nearly_main (tc09_bad_unlock.c:32)
84 by 0x........: main (tc09_bad_unlock.c:50)
85 Lock was previously acquired
86 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
87 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
88 by 0x........: nearly_main (tc09_bad_unlock.c:32)
89 by 0x........: main (tc09_bad_unlock.c:49)
91 ----------------------------------------------------------------
93 Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion
94 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
95 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
96 by 0x........: nearly_main (tc09_bad_unlock.c:32)
97 by 0x........: main (tc09_bad_unlock.c:50)
99 ---Thread-Announcement------------------------------------------
101 Thread #x was created
103 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)
107 ----------------------------------------------------------------
109 Thread #x unlocked lock at 0x........ currently held by thread #x
110 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
111 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
112 by 0x........: child_fn (tc09_bad_unlock.c:11)
113 by 0x........: mythread_wrapper (hg_intercepts.c:...)
115 Lock at 0x........ was first observed
116 at 0x........: pthread_mutex_init (hg_intercepts.c:...)
117 by 0x........: nearly_main (tc09_bad_unlock.c:31)
118 by 0x........: main (tc09_bad_unlock.c:49)
119 Address 0x........ is on thread #x's stack
120 in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
123 ----------------------------------------------------------------
125 Thread #x unlocked an invalid lock at 0x........
126 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
127 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
128 by 0x........: nearly_main (tc09_bad_unlock.c:41)
129 by 0x........: main (tc09_bad_unlock.c:50)
131 ----------------------------------------------------------------
133 Thread #x's call to pthread_mutex_unlock failed
134 with error code 22 (EINVAL: Invalid argument)
135 at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
136 by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
137 by 0x........: nearly_main (tc09_bad_unlock.c:41)
138 by 0x........: main (tc09_bad_unlock.c:50)
140 ----------------------------------------------------------------
142 Thread #x: Exiting thread still holds 1 lock
146 ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)