panic: Thread 0xffff800020b932d8 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 420932 65947 73 0x100010 0 1K syslogd *219422 55994 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x16c sys/kern/subr_prf.c:208 witness_thread_exit(2fa0427d7bfb19d5) at witness_thread_exit+0x244 sys/kern/subr_witness.c:1377 reaper(0) at reaper+0x14f sys/kern/kern_exit.c:412 end trace frame: 0x0, count: 11 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> show panic Thread 0xffff800020b932d8 cannot exit while holding sleeplocks ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x16c sys/kern/subr_prf.c:208 witness_thread_exit(2fa0427d7bfb19d5) at witness_thread_exit+0x244 sys/kern/subr_witness.c:1377 reaper(0) at reaper+0x14f sys/kern/kern_exit.c:412 end trace frame: 0x0, count: -4 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b66e40 rbx 0xffff800020b66ee0 rdx 0xffffffff81ec7fae cmd0646_9_tim_udma+0x14d39 rcx 0 rax 0 r8 0xffffffff81ba5254 kprintf+0x174 r9 0x1 r10 0xf71e7f882c2ffb10 r11 0x904f25859033a9b2 r12 0x3000000008 r13 0xffff800020b66e50 r14 0x100 r15 0x1 rip 0xffffffff817aed68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b66e30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (reaper) pid=219422 stat=onproc flags process=14000 proc=200 pri=4, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020b21518,0xffff800020b219d8 process=0xffff800020b5a9e0 user=0xffff800020b62000, vmspace=0xffffffff82313430 estcpu=0, cpticks=2, pctcpu=0.31 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 4812 81596 65694 32767 3 0x3010 suspend syz-executor1 4812 468991 65694 32767 3 0x4081010 inode syz-executor1 1075 356504 67610 32767 3 0x90 piperd syz-executor0 67610 454288 59444 0 3 0x82 wait syz-executor0 65694 193025 86811 32767 3 0x90 nanosleep syz-executor1 86811 417061 59444 0 3 0x82 wait syz-executor1 10268 251139 0 0 3 0x14200 bored sosplice 59444 492581 70838 0 3 0x82 thrsleep syz-fuzzer 59444 288802 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 362498 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 207193 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 275454 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 155729 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 280587 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 474186 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 43171 70838 0 3 0x4000082 thrsleep syz-fuzzer 59444 325884 70838 0 3 0x4000082 kqread syz-fuzzer 70838 238387 247 0 3 0x10008a pause ksh 247 94771 43867 0 3 0x92 select sshd 36538 185725 1 0 3 0x100083 ttyin getty 43867 258107 1 0 3 0x80 select sshd 65947 420932 88307 73 7 0x100010 syslogd 88307 120504 1 0 3 0x100082 netio syslogd 33826 261289 1 77 3 0x100090 poll dhclient 84233 417962 1 0 3 0x80 poll dhclient 27747 386054 0 0 3 0x14200 pgzero zerothread 61509 14563 0 0 3 0x14200 aiodoned aiodoned 17191 312667 0 0 3 0x14200 syncer update 90898 267826 0 0 3 0x14200 cleaner cleaner *55994 219422 0 0 7 0x14200 reaper 1221 122456 0 0 3 0x14200 pgdaemon pagedaemon 57791 515638 0 0 3 0x14200 bored crynlk 54748 334208 0 0 3 0x14200 bored crypto 14177 8192 0 0 3 0x40014200 acpi0 acpi0 56358 275220 0 0 3 0x40014200 idle1 50991 180228 0 0 3 0x14200 bored softnet 91277 118143 0 0 3 0x14200 bored systqmp 49258 100556 0 0 3 0x14200 bored systq 985 152492 0 0 3 0x40014200 bored softclock 36626 104151 0 0 3 0x40014200 idle0 1 3147 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper