blob: 9cf6853256acd9f1d64cd101f974bf3a4f6b01c2 [file] [log] [blame]
bart3effeb92008-03-09 19:20:27 +00001
2
3
4------ This is output for < glibc 2.4 ------
5
6---------------- pthread_create/join ----------------
7
bart8f71fa12008-03-16 18:04:48 +00008Conflicting store by thread 1/1 at 0x........ size 2
bart3effeb92008-03-09 19:20:27 +00009 at 0x........: main (tc20_verifywrap.c:78)
10Location 0x........ is 0 bytes inside global var "unprotected"
11declared at tc20_verifywrap.c:27
bart8f71fa12008-03-16 18:04:48 +000012Other segment start (thread 0/2)
bart3effeb92008-03-09 19:20:27 +000013 (thread finished, call stack no longer available)
bart8f71fa12008-03-16 18:04:48 +000014Other segment end (thread 0/2)
bart3effeb92008-03-09 19:20:27 +000015 (thread finished, call stack no longer available)
16
17---------------- pthread_mutex_lock et al ----------------
18
19[1/1] mutex_init invalid mutex 0x........
20
bart52e82912008-03-24 19:31:33 +000021The object at address 0x........ is not a mutex.
bart2cb588d2008-03-11 18:29:35 +000022 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000023 by 0x........: main (tc20_verifywrap.c:92)
24[1/1] mutex_init mutex 0x........
bart9e9a9242008-07-08 06:19:31 +000025[1/1] mutex_trylock mutex 0x........ rc 0 owner 0
bart3effeb92008-03-09 19:20:27 +000026[1/1] post_mutex_lock mutex 0x........ rc 0 owner 0
bart9e9a9242008-07-08 06:19:31 +000027[1/1] mutex_destroy mutex 0x........ rc 1 owner 1
bart3effeb92008-03-09 19:20:27 +000028
29Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
bart2cb588d2008-03-11 18:29:35 +000030 at 0x........: pthread_mutex_destroy (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000031 by 0x........: main (tc20_verifywrap.c:102)
32
33make pthread_mutex_lock fail: skipped on glibc < 2.4
34
bart0268dfa2008-03-11 20:10:21 +000035[1/1] pre_mutex_lock invalid mutex 0x........ rc 0 owner 0
bart3effeb92008-03-09 19:20:27 +000036
bart52e82912008-03-24 19:31:33 +000037The object at address 0x........ is not a mutex.
bart2cb588d2008-03-11 18:29:35 +000038 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000039 by 0x........: main (tc20_verifywrap.c:116)
bartb48b4c52008-07-03 12:29:16 +000040mutex 0x........ was first observed at:
41 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
42 by 0x........: main (tc20_verifywrap.c:116)
bart320221a2008-03-30 08:51:59 +000043[1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed)
bart4c853992008-07-07 16:53:45 +000044[1/1] mutex_trylock invalid mutex 0x........ rc 0 owner 0
bart3effeb92008-03-09 19:20:27 +000045
bart52e82912008-03-24 19:31:33 +000046The object at address 0x........ is not a mutex.
bart2cb588d2008-03-11 18:29:35 +000047 at 0x........: pthread_mutex_timedlock (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000048 by 0x........: main (tc20_verifywrap.c:121)
bartb48b4c52008-07-03 12:29:16 +000049mutex 0x........ was first observed at:
50 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
51 by 0x........: main (tc20_verifywrap.c:116)
bart320221a2008-03-30 08:51:59 +000052[1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed)
bart0268dfa2008-03-11 20:10:21 +000053[1/1] mutex_unlock invalid mutex 0x........ rc 0
bart3effeb92008-03-09 19:20:27 +000054
bart52e82912008-03-24 19:31:33 +000055The object at address 0x........ is not a mutex.
bart2cb588d2008-03-11 18:29:35 +000056 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000057 by 0x........: main (tc20_verifywrap.c:125)
bartb48b4c52008-07-03 12:29:16 +000058mutex 0x........ was first observed at:
59 at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
60 by 0x........: main (tc20_verifywrap.c:116)
bart3effeb92008-03-09 19:20:27 +000061
62---------------- pthread_cond_wait et al ----------------
63
64[1/1] mutex_init error checking mutex 0x........
bart4a975e12008-03-30 13:28:33 +000065[1/1] cond_init cond 0x........
bart3effeb92008-03-09 19:20:27 +000066[1/1] mutex_unlock error checking mutex 0x........ rc 0
67
68Mutex not locked: mutex 0x........, recursion count 0, owner 0.
bart2cb588d2008-03-11 18:29:35 +000069 at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000070 by 0x........: main (tc20_verifywrap.c:147)
bartb48b4c52008-07-03 12:29:16 +000071mutex 0x........ was first observed at:
72 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
73 by 0x........: main (tc20_verifywrap.c:145)
bart4a975e12008-03-30 13:28:33 +000074[1/1] cond_pre_wait cond 0x........
75[1/1] cond_post_wait cond 0x........
76[1/1] cond_post_wait error checking mutex 0x........ rc 0 owner 0
77[1/1] cond_signal cond 0x........
bart3effeb92008-03-09 19:20:27 +000078
79FIXME: can't figure out how to verify wrap of pthread_cond_signal
80
bart4a975e12008-03-30 13:28:33 +000081[1/1] cond_broadcast cond 0x........
bart3effeb92008-03-09 19:20:27 +000082
83FIXME: can't figure out how to verify wrap of pthread_broadcast_signal
84
bart320221a2008-03-30 08:51:59 +000085[1/1] mutex_unlock error checking mutex 0x........ rc 1
bart4a975e12008-03-30 13:28:33 +000086[1/1] cond_pre_wait cond 0x........
87[1/1] cond_post_wait cond 0x........
88[1/1] cond_post_wait error checking mutex 0x........ rc 0 owner 1
bart3effeb92008-03-09 19:20:27 +000089
90---------------- pthread_rwlock_* ----------------
91
92
93Reader-writer lock not locked by calling thread: rwlock 0x.........
bart2cb588d2008-03-11 18:29:35 +000094 at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +000095 by 0x........: main (tc20_verifywrap.c:179)
bartb48b4c52008-07-03 12:29:16 +000096rwlock 0x........ was first observed at:
97 at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
98 by 0x........: main (tc20_verifywrap.c:178)
bart3effeb92008-03-09 19:20:27 +000099(1) no error on next line
100(2) no error on next line
101(3) ERROR on next line
102
103Reader-writer lock not locked by calling thread: rwlock 0x.........
bart2cb588d2008-03-11 18:29:35 +0000104 at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +0000105 by 0x........: main (tc20_verifywrap.c:196)
bartb48b4c52008-07-03 12:29:16 +0000106rwlock 0x........ was first observed at:
107 at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
108 by 0x........: main (tc20_verifywrap.c:186)
bart3effeb92008-03-09 19:20:27 +0000109
110Reader-writer lock reinitialization: rwlock 0x.........
bart2cb588d2008-03-11 18:29:35 +0000111 at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +0000112 by 0x........: main (tc20_verifywrap.c:199)
bartb48b4c52008-07-03 12:29:16 +0000113rwlock 0x........ was first observed at:
114 at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
115 by 0x........: main (tc20_verifywrap.c:186)
bart3effeb92008-03-09 19:20:27 +0000116(4) no error on next line
117(5) no error on next line
118(6) no error on next line
119(7) no error on next line
120(8) ERROR on next line
121
122Reader-writer lock not locked by calling thread: rwlock 0x.........
bart2cb588d2008-03-11 18:29:35 +0000123 at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +0000124 by 0x........: main (tc20_verifywrap.c:212)
bartb48b4c52008-07-03 12:29:16 +0000125rwlock 0x........ was first observed at:
126 at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
127 by 0x........: main (tc20_verifywrap.c:186)
bart3effeb92008-03-09 19:20:27 +0000128
129---------------- sem_* ----------------
130
bartafb42b72008-12-17 07:32:09 +0000131[1/1] semaphore_init 0x........ value 4294967295
bartda9436b2008-12-14 08:56:49 +0000132[1/1] semaphore_init 0x........ value 0
bart3effeb92008-03-09 19:20:27 +0000133
bart7c972182008-06-30 13:15:33 +0000134Semaphore reinitialization: semaphore 0x........
135 at 0x........: sem_init* (drd_pthread_intercepts.c:?)
136 by 0x........: main (tc20_verifywrap.c:231)
bartb48b4c52008-07-03 12:29:16 +0000137semaphore 0x........ was first observed at:
138 at 0x........: sem_init* (drd_pthread_intercepts.c:?)
139 by 0x........: main (tc20_verifywrap.c:228)
bart7c972182008-06-30 13:15:33 +0000140
bart3effeb92008-03-09 19:20:27 +0000141FIXME: can't figure out how to verify wrap of sem_destroy
142
bartda9436b2008-12-14 08:56:49 +0000143[1/1] semaphore_pre_wait 0x........ value 0
bartafb42b72008-12-17 07:32:09 +0000144[1/1] semaphore_post_wait 0x........ value 4294967295
bart3effeb92008-03-09 19:20:27 +0000145
146Invalid semaphore: semaphore 0x........
bart2cb588d2008-03-11 18:29:35 +0000147 at 0x........: sem_wait* (drd_pthread_intercepts.c:?)
bart3effeb92008-03-09 19:20:27 +0000148 by 0x........: main (tc20_verifywrap.c:242)
bartb48b4c52008-07-03 12:29:16 +0000149semaphore 0x........ was first observed at:
150 at 0x........: sem_init* (drd_pthread_intercepts.c:?)
151 by 0x........: main (tc20_verifywrap.c:228)
bartda9436b2008-12-14 08:56:49 +0000152[1/1] semaphore_post 0x........ value 1
bart3effeb92008-03-09 19:20:27 +0000153
154FIXME: can't figure out how to verify wrap of sem_post
155
bartda9436b2008-12-14 08:56:49 +0000156[1/1] semaphore_destroy 0x........ value 1
bart3effeb92008-03-09 19:20:27 +0000157
158------------ dealloc of mem holding locks ------------
159
160
161Destroying locked rwlock: rwlock 0x.........
162 at 0x........: main (tc20_verifywrap.c:262)
bart9e9a9242008-07-08 06:19:31 +0000163[1/1] mutex_destroy error checking mutex 0x........ rc 1 owner 1
bart320221a2008-03-30 08:51:59 +0000164
165Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
166 at 0x........: main (tc20_verifywrap.c:262)
bart9e9a9242008-07-08 06:19:31 +0000167[1/1] mutex_destroy invalid mutex 0x........ rc 0 owner 0
168[1/1] mutex_trylock recursive mutex 0x........ rc 0 owner 0
bart3effeb92008-03-09 19:20:27 +0000169[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 0
170[1/1] mutex_unlock recursive mutex 0x........ rc 1
171
bart7c972182008-06-30 13:15:33 +0000172ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0)