bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 1 | |
| 2 | |
| 3 | |
| 4 | ------ This is output for < glibc 2.4 ------ |
| 5 | |
| 6 | ---------------- pthread_create/join ---------------- |
| 7 | |
bart | 8f71fa1 | 2008-03-16 18:04:48 +0000 | [diff] [blame] | 8 | Conflicting store by thread 1/1 at 0x........ size 2 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 9 | at 0x........: main (tc20_verifywrap.c:78) |
| 10 | Location 0x........ is 0 bytes inside global var "unprotected" |
| 11 | declared at tc20_verifywrap.c:27 |
bart | 8f71fa1 | 2008-03-16 18:04:48 +0000 | [diff] [blame] | 12 | Other segment start (thread 0/2) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 13 | (thread finished, call stack no longer available) |
bart | 8f71fa1 | 2008-03-16 18:04:48 +0000 | [diff] [blame] | 14 | Other segment end (thread 0/2) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 15 | (thread finished, call stack no longer available) |
| 16 | |
| 17 | ---------------- pthread_mutex_lock et al ---------------- |
| 18 | |
| 19 | [1/1] mutex_init invalid mutex 0x........ |
| 20 | |
bart | 52e8291 | 2008-03-24 19:31:33 +0000 | [diff] [blame] | 21 | The object at address 0x........ is not a mutex. |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 22 | at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 23 | by 0x........: main (tc20_verifywrap.c:92) |
| 24 | [1/1] mutex_init mutex 0x........ |
bart | 9e9a924 | 2008-07-08 06:19:31 +0000 | [diff] [blame] | 25 | [1/1] mutex_trylock mutex 0x........ rc 0 owner 0 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 26 | [1/1] post_mutex_lock mutex 0x........ rc 0 owner 0 |
bart | 9e9a924 | 2008-07-08 06:19:31 +0000 | [diff] [blame] | 27 | [1/1] mutex_destroy mutex 0x........ rc 1 owner 1 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 28 | |
| 29 | Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 30 | at 0x........: pthread_mutex_destroy (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 31 | by 0x........: main (tc20_verifywrap.c:102) |
| 32 | |
| 33 | make pthread_mutex_lock fail: skipped on glibc < 2.4 |
| 34 | |
bart | 0268dfa | 2008-03-11 20:10:21 +0000 | [diff] [blame] | 35 | [1/1] pre_mutex_lock invalid mutex 0x........ rc 0 owner 0 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 36 | |
bart | 52e8291 | 2008-03-24 19:31:33 +0000 | [diff] [blame] | 37 | The object at address 0x........ is not a mutex. |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 38 | at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 39 | by 0x........: main (tc20_verifywrap.c:116) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 40 | mutex 0x........ was first observed at: |
| 41 | at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) |
| 42 | by 0x........: main (tc20_verifywrap.c:116) |
bart | 320221a | 2008-03-30 08:51:59 +0000 | [diff] [blame] | 43 | [1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed) |
bart | 4c85399 | 2008-07-07 16:53:45 +0000 | [diff] [blame] | 44 | [1/1] mutex_trylock invalid mutex 0x........ rc 0 owner 0 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 45 | |
bart | 52e8291 | 2008-03-24 19:31:33 +0000 | [diff] [blame] | 46 | The object at address 0x........ is not a mutex. |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 47 | at 0x........: pthread_mutex_timedlock (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 48 | by 0x........: main (tc20_verifywrap.c:121) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 49 | mutex 0x........ was first observed at: |
| 50 | at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) |
| 51 | by 0x........: main (tc20_verifywrap.c:116) |
bart | 320221a | 2008-03-30 08:51:59 +0000 | [diff] [blame] | 52 | [1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed) |
bart | 0268dfa | 2008-03-11 20:10:21 +0000 | [diff] [blame] | 53 | [1/1] mutex_unlock invalid mutex 0x........ rc 0 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 54 | |
bart | 52e8291 | 2008-03-24 19:31:33 +0000 | [diff] [blame] | 55 | The object at address 0x........ is not a mutex. |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 56 | at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 57 | by 0x........: main (tc20_verifywrap.c:125) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 58 | mutex 0x........ was first observed at: |
| 59 | at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) |
| 60 | by 0x........: main (tc20_verifywrap.c:116) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 61 | |
| 62 | ---------------- pthread_cond_wait et al ---------------- |
| 63 | |
| 64 | [1/1] mutex_init error checking mutex 0x........ |
bart | 4a975e1 | 2008-03-30 13:28:33 +0000 | [diff] [blame] | 65 | [1/1] cond_init cond 0x........ |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 66 | [1/1] mutex_unlock error checking mutex 0x........ rc 0 |
| 67 | |
| 68 | Mutex not locked: mutex 0x........, recursion count 0, owner 0. |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 69 | at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 70 | by 0x........: main (tc20_verifywrap.c:147) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 71 | mutex 0x........ was first observed at: |
| 72 | at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) |
| 73 | by 0x........: main (tc20_verifywrap.c:145) |
bart | 4a975e1 | 2008-03-30 13:28:33 +0000 | [diff] [blame] | 74 | [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........ |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 78 | |
| 79 | FIXME: can't figure out how to verify wrap of pthread_cond_signal |
| 80 | |
bart | 4a975e1 | 2008-03-30 13:28:33 +0000 | [diff] [blame] | 81 | [1/1] cond_broadcast cond 0x........ |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 82 | |
| 83 | FIXME: can't figure out how to verify wrap of pthread_broadcast_signal |
| 84 | |
bart | 320221a | 2008-03-30 08:51:59 +0000 | [diff] [blame] | 85 | [1/1] mutex_unlock error checking mutex 0x........ rc 1 |
bart | 4a975e1 | 2008-03-30 13:28:33 +0000 | [diff] [blame] | 86 | [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 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 89 | |
| 90 | ---------------- pthread_rwlock_* ---------------- |
| 91 | |
| 92 | |
| 93 | Reader-writer lock not locked by calling thread: rwlock 0x......... |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 94 | at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 95 | by 0x........: main (tc20_verifywrap.c:179) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 96 | rwlock 0x........ was first observed at: |
| 97 | at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) |
| 98 | by 0x........: main (tc20_verifywrap.c:178) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 99 | (1) no error on next line |
| 100 | (2) no error on next line |
| 101 | (3) ERROR on next line |
| 102 | |
| 103 | Reader-writer lock not locked by calling thread: rwlock 0x......... |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 104 | at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 105 | by 0x........: main (tc20_verifywrap.c:196) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 106 | rwlock 0x........ was first observed at: |
| 107 | at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) |
| 108 | by 0x........: main (tc20_verifywrap.c:186) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 109 | |
| 110 | Reader-writer lock reinitialization: rwlock 0x......... |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 111 | at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 112 | by 0x........: main (tc20_verifywrap.c:199) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 113 | rwlock 0x........ was first observed at: |
| 114 | at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) |
| 115 | by 0x........: main (tc20_verifywrap.c:186) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 116 | (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 | |
| 122 | Reader-writer lock not locked by calling thread: rwlock 0x......... |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 123 | at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 124 | by 0x........: main (tc20_verifywrap.c:212) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 125 | rwlock 0x........ was first observed at: |
| 126 | at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) |
| 127 | by 0x........: main (tc20_verifywrap.c:186) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 128 | |
| 129 | ---------------- sem_* ---------------- |
| 130 | |
bart | afb42b7 | 2008-12-17 07:32:09 +0000 | [diff] [blame^] | 131 | [1/1] semaphore_init 0x........ value 4294967295 |
bart | da9436b | 2008-12-14 08:56:49 +0000 | [diff] [blame] | 132 | [1/1] semaphore_init 0x........ value 0 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 133 | |
bart | 7c97218 | 2008-06-30 13:15:33 +0000 | [diff] [blame] | 134 | Semaphore reinitialization: semaphore 0x........ |
| 135 | at 0x........: sem_init* (drd_pthread_intercepts.c:?) |
| 136 | by 0x........: main (tc20_verifywrap.c:231) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 137 | semaphore 0x........ was first observed at: |
| 138 | at 0x........: sem_init* (drd_pthread_intercepts.c:?) |
| 139 | by 0x........: main (tc20_verifywrap.c:228) |
bart | 7c97218 | 2008-06-30 13:15:33 +0000 | [diff] [blame] | 140 | |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 141 | FIXME: can't figure out how to verify wrap of sem_destroy |
| 142 | |
bart | da9436b | 2008-12-14 08:56:49 +0000 | [diff] [blame] | 143 | [1/1] semaphore_pre_wait 0x........ value 0 |
bart | afb42b7 | 2008-12-17 07:32:09 +0000 | [diff] [blame^] | 144 | [1/1] semaphore_post_wait 0x........ value 4294967295 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 145 | |
| 146 | Invalid semaphore: semaphore 0x........ |
bart | 2cb588d | 2008-03-11 18:29:35 +0000 | [diff] [blame] | 147 | at 0x........: sem_wait* (drd_pthread_intercepts.c:?) |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 148 | by 0x........: main (tc20_verifywrap.c:242) |
bart | b48b4c5 | 2008-07-03 12:29:16 +0000 | [diff] [blame] | 149 | semaphore 0x........ was first observed at: |
| 150 | at 0x........: sem_init* (drd_pthread_intercepts.c:?) |
| 151 | by 0x........: main (tc20_verifywrap.c:228) |
bart | da9436b | 2008-12-14 08:56:49 +0000 | [diff] [blame] | 152 | [1/1] semaphore_post 0x........ value 1 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 153 | |
| 154 | FIXME: can't figure out how to verify wrap of sem_post |
| 155 | |
bart | da9436b | 2008-12-14 08:56:49 +0000 | [diff] [blame] | 156 | [1/1] semaphore_destroy 0x........ value 1 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 157 | |
| 158 | ------------ dealloc of mem holding locks ------------ |
| 159 | |
| 160 | |
| 161 | Destroying locked rwlock: rwlock 0x......... |
| 162 | at 0x........: main (tc20_verifywrap.c:262) |
bart | 9e9a924 | 2008-07-08 06:19:31 +0000 | [diff] [blame] | 163 | [1/1] mutex_destroy error checking mutex 0x........ rc 1 owner 1 |
bart | 320221a | 2008-03-30 08:51:59 +0000 | [diff] [blame] | 164 | |
| 165 | Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. |
| 166 | at 0x........: main (tc20_verifywrap.c:262) |
bart | 9e9a924 | 2008-07-08 06:19:31 +0000 | [diff] [blame] | 167 | [1/1] mutex_destroy invalid mutex 0x........ rc 0 owner 0 |
| 168 | [1/1] mutex_trylock recursive mutex 0x........ rc 0 owner 0 |
bart | 3effeb9 | 2008-03-09 19:20:27 +0000 | [diff] [blame] | 169 | [1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 0 |
| 170 | [1/1] mutex_unlock recursive mutex 0x........ rc 1 |
| 171 | |
bart | 7c97218 | 2008-06-30 13:15:33 +0000 | [diff] [blame] | 172 | ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0) |