Lines Matching +full:120 +full:- +full:db

17 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x8226f27aa, rsp = 0x82803ef48, rbp = 0x82803ef70 ---
21 # db> x/s version
22 # FreeBSD 14.0-CURRENT #0 main-n255099-0923ff82fb383: Thu Apr 28 09:48:48 CEST 2022
24 # db>
26 [ `uname -p` != "amd64" ] && exit 0
32 // Reported-by: syzbot+79cd12371d417441b175@syzkaller.appspotmail.com
62 while (waitpid(-1, status, 0) != pid) {
104 if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0)
107 snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name);
152 if (pthread_mutex_init(&ev->mu, 0))
154 if (pthread_cond_init(&ev->cv, 0))
156 ev->state = 0;
161 ev->state = 0;
166 pthread_mutex_lock(&ev->mu);
167 if (ev->state)
169 ev->state = 1;
170 pthread_mutex_unlock(&ev->mu);
171 pthread_cond_broadcast(&ev->cv);
176 pthread_mutex_lock(&ev->mu);
177 while (!ev->state)
178 pthread_cond_wait(&ev->cv, &ev->mu);
179 pthread_mutex_unlock(&ev->mu);
184 pthread_mutex_lock(&ev->mu);
185 int res = ev->state;
186 pthread_mutex_unlock(&ev->mu);
194 pthread_mutex_lock(&ev->mu);
196 if (ev->state)
198 uint64_t remain = timeout - (now - start);
202 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
204 if (now - start > timeout)
207 int res = ev->state;
208 pthread_mutex_unlock(&ev->mu);
251 event_wait(&th->ready);
252 event_reset(&th->ready);
253 execute_call(th->call);
255 event_set(&th->done);
267 if (!th->created) {
268 th->created = 1;
269 event_init(&th->ready);
270 event_init(&th->done);
271 event_set(&th->done);
274 if (!event_isset(&th->done))
276 event_reset(&th->done);
277 th->call = call;
279 event_set(&th->ready);
280 event_timedwait(&th->done, 50);
312 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
315 if (current_time_ms() - start < 5000)
348 if (res != -1)
353 if (res != -1)
357 *(uint32_t*)0x20000200 = -1;
359 *(uint32_t*)0x20000208 = -1;
370 *(uint32_t*)0x20000244 = -1;
395 if (res != -1)
406 if (res != -1)
428 syscall(SYS_msgctl, -1, 1ul, 0x200004c0ul);
431 syscall(SYS_ioctl, -1, 0xc0f24425ul, 0ul);
437 syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x1012ul, -1, 0ul);
448 mycc -o /tmp/syzkaller52 -Wall -Wextra -O0 /tmp/syzkaller52.c -l pthread ||
452 while [ $((`date +%s` - start)) -lt 120 ]; do
456 rm -rf /tmp/syzkaller52 /tmp/syzkaller52.c /tmp/syzkaller52.core \