panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 52837 36888 32767 0x1810 0x4080080 1 syz-executor.5 355615 45625 32767 0x10 0 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000261af7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000261af7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000261af7b0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(506dd10fd20,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000261af7b0,ffff80002e4d6e10,ffff80002e4d6e70) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4d6ee0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4d6ee0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5072cdaf1c0, count: 3 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000261af7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000261af7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000261af7b0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(506dd10fd20,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000261af7b0,ffff80002e4d6e10,ffff80002e4d6e70) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4d6ee0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4d6ee0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5072cdaf1c0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e4d6a40 rbx 0xffff800020de9bb7 rdx 0xffff800000c62d80 rcx 0 rax 0xffff8000261af7b0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x136603935cd4cdb0 r11 0xe3f2a54d38661051 r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e4d6a30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) pid=52837 stat=onproc flags process=1810 proc=4080080 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000212ff500,0xffff8000261ae2c0 process=0xffff8000261b2dd0 user=0xffff80002e4d1000, vmspace=0xfffffd807effd2e0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 36414 163482 31068 32767 2 0x10 syz-executor.4 36414 119814 31068 32767 3 0x4000090 fsleep syz-executor.4 23061 329517 47983 32767 2 0x10 syz-executor.3 23061 287946 47983 32767 2 0x4000010 syz-executor.3 36888 154174 84137 32767 2 0x3810 syz-executor.5 *36888 52837 84137 32767 7 0x4081890 syz-executor.5 45625 355615 1620 32767 7 0x10 syz-executor.1 45625 239169 1620 32767 3 0x4000090 ttyout syz-executor.1 58357 215758 1485 32767 2 0x10 syz-executor.2 58357 416319 1485 32767 3 0x4000090 kqpoll syz-executor.2 26431 359411 39420 32767 3 0x90 nanoslp syz-executor.0 26431 495400 39420 32767 3 0x4000090 netcon syz-executor.0 26431 268992 39420 32767 3 0x4000090 fsleep syz-executor.0 70196 115750 77654 32767 2 0x10 syz-executor.7 70196 3823 77654 32767 3 0x4000090 fifow syz-executor.7 70196 20117 77654 32767 3 0x4000090 fifow syz-executor.7 70196 392095 77654 32767 3 0x4000090 fsleep syz-executor.7 84137 286914 75873 32767 3 0x90 nanoslp syz-executor.5 75873 481673 55471 0 3 0x82 wait syz-executor.5 1485 139810 26317 32767 3 0x90 nanoslp syz-executor.2 26317 397359 55471 0 3 0x82 wait syz-executor.2 20409 218896 17338 32767 3 0x90 nanoslp syz-executor.6 17338 436397 55471 0 3 0x82 wait syz-executor.6 1620 358436 69635 32767 3 0x90 nanoslp syz-executor.1 69635 128849 55471 0 3 0x82 wait syz-executor.1 27143 249620 0 0 3 0x14200 bored sosplice 77654 76102 73375 32767 3 0x90 nanoslp syz-executor.7 31068 89624 6258 32767 3 0x90 nanoslp syz-executor.4 73375 481725 55471 0 3 0x82 wait syz-executor.7 6258 148977 55471 0 3 0x82 wait syz-executor.4 47983 311836 27307 32767 3 0x90 nanoslp syz-executor.3 27307 90918 55471 0 3 0x82 wait syz-executor.3 39420 91661 14662 32767 3 0x90 nanoslp syz-executor.0 14662 211372 55471 0 3 0x82 wait syz-executor.0 55471 139245 56198 0 3 0x82 thrsleep syz-fuzzer 55471 479317 56198 0 3 0x4000082 thrsleep syz-fuzzer 55471 73801 56198 0 3 0x4000082 kqread syz-fuzzer 55471 237354 56198 0 3 0x4000082 thrsleep syz-fuzzer 55471 900 56198 0 3 0x4000082 thrsleep syz-fuzzer 55471 370026 56198 0 3 0x4000082 thrsleep syz-fuzzer 55471 329936 56198 0 3 0x4000082 thrsleep syz-fuzzer 55471 494442 56198 0 3 0x4000082 thrsleep syz-fuzzer 55471 100784 56198 0 3 0x4000082 thrsleep syz-fuzzer 56198 406738 81568 0 3 0x10008a sigsusp ksh 81568 137828 35920 0 3 0x9a kqread sshd 80914 139088 1 0 3 0x100083 ttyin getty 35920 435544 1 0 3 0x88 kqread sshd 39747 350917 5577 73 3 0x1100090 kqread syslogd 5577 519486 1 0 3 0x100082 netio syslogd 57696 159467 1 0 3 0x100080 kqread resolvd 84612 317601 17471 77 3 0x100092 kqread dhcpleased 52373 449594 17471 77 3 0x100092 kqread dhcpleased 17471 113632 1 0 3 0x80 kqread dhcpleased 62792 490696 0 0 3 0x14200 bored smr 80192 190207 0 0 2 0x14200 zerothread 79933 299759 0 0 3 0x14200 aiodoned aiodoned 69264 37219 0 0 3 0x14200 syncer update 30211 28279 0 0 3 0x14200 cleaner cleaner 44139 266396 0 0 3 0x14200 reaper reaper 11926 359924 0 0 3 0x14200 pgdaemon pagedaemon 14543 490780 0 0 3 0x14200 bored viomb 62984 473748 0 0 3 0x40014200 acpi0 acpi0 96417 30618 0 0 3 0x40014200 idle1 54727 402866 0 0 3 0x14200 bored softnet 92457 120805 0 0 3 0x14200 bored softnet 37446 293294 0 0 3 0x14200 bored softnet 34046 897 0 0 3 0x14200 bored softnet 30527 121182 0 0 3 0x14200 bored systqmp 77724 289424 0 0 3 0x14200 bored systq 54102 229900 0 0 3 0x40014200 bored softclock 7580 281454 0 0 3 0x40014200 idle0 1 503797 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82a153e0) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d4 sys/kern/sched_bsd.c:419 #3 single_thread_check_locked+0x17f sys/kern/kern_sig.c:2045 #4 single_thread_check+0x4b sys/kern/kern_sig.c:2057 #5 sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] #5 sleep_finish+0x75 sys/kern/kern_synch.c:400 #6 rwsleep+0xd5 sys/kern/kern_synch.c:314 #7 futex_wait+0x13c sys/kern/sys_futex.c:260 #8 sys_futex+0xf8 sys/kern/sys_futex.c:111 #9 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 6411K 6420K 78643K 11323 0 pcb 13 12K 14K 78643K 17 0 rtable 238 6K 7K 78643K 1054 0 ifaddr 81 17K 17K 78643K 153 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 76 0 ioctlops 0 0K 2K 78643K 96 0 iov 0 0K 20K 78643K 1106 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1272 79K 79K 78643K 5546 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 85 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 1393 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 25 93K 121K 78643K 6700 0 sigio 0 0K 0K 78643K 155 0 proc 56 78K 115K 78643K 1263 0 subproc 104 6K 6K 78643K 234 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 286 0 in_multi 99 6K 6K 78643K 259 0 ether_multi 1 0K 0K 78643K 9 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 211 943K 943K 78643K 211 0 exec 0 0K 2K 78643K 1375 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 334 91K 104K 78643K 42477 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 226 0 NDP 11 0K 2K 78643K 57 0 temp 124 4722K 4802K 78643K 19738 0 kqueue 12 18K 28K 78643K 617 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 832 0 829 13 12 1 4 0 8 0 rtentry 112 231 0 119 4 0 4 4 0 8 0 unpcb 136 5693 0 5676 57 52 5 8 0 8 4 syncache 296 45 0 45 14 14 0 1 0 8 0 tcpqe 32 13 0 13 7 7 0 1 0 8 0 tcpcb 736 5260 0 5177 153 145 8 33 0 8 0 arp 120 40 0 22 1 0 1 1 0 8 0 inpcb 320 8092 0 8083 128 119 9 13 0 8 8 nd6 48 62 0 36 1 0 1 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 952 0 482 32 2 30 30 0 8 0 art_table 32 953 0 482 4 0 4 4 0 8 0 art_node 16 230 0 128 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1390 0 1380 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 13255 0 11798 92 0 92 92 0 8 0 ffsino 272 13255 0 11798 98 0 98 98 0 8 0 nchpl 144 22586 0 20947 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 82865 0 82865 2 1 1 2 0 8 1 percpumem 16 50 0 10 1 0 1 1 0 8 0 kstatmem 264 42 0 20 2 0 2 2 0 8 0 scxspl 216 63922 0 63922 21 20 1 8 0 8 1 plimitpl 152 1487 0 1463 5 4 1 2 0 8 0 sigapl 424 6961 0 6906 7 0 7 7 0 8 0 futexpl 64 65262 0 65258 3 2 1 1 0 8 0 knotepl 120 640 0 0 13 0 13 13 0 8 0 kqueuepl 224 2522 0 2513 54 51 3 5 0 8 2 pipepl 336 2188 0 2160 72 69 3 9 0 8 0 fdescpl 496 6943 0 6907 6 1 5 6 0 8 0 filepl 152 62701 0 62460 121 105 16 21 0 8 5 lockfpl 104 1136 0 1134 1 0 1 1 0 8 0 lockfspl 48 300 0 298 1 0 1 1 0 8 0 sessionpl 144 33 0 17 1 0 1 1 0 8 0 pgrppl 48 73 0 57 1 0 1 1 0 8 0 ucredpl 104 21007 0 20989 1 0 1 1 0 8 0 zombiepl 144 6907 0 6906 1 0 1 1 0 8 0 processpl 1064 6961 0 6906 5 1 4 5 0 8 0 procpl 672 20503 0 20430 19 12 7 8 0 8 0 sosppl 168 108 0 108 12 11 1 1 0 8 1 sockpl 480 14917 0 14888 359 334 25 34 0 8 21 mcl64k 65536 33 0 0 4 1 3 3 0 8 0 mcl16k 16384 33 0 0 4 1 3 3 0 8 0 mcl12k 12288 21 0 0 2 0 2 2 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 34 0 0 3 0 3 3 0 8 0 mcl4k 4096 26 0 0 3 0 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 276 0 0 19 2 17 19 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 704 0 0 34 1 33 34 0 8 0 bufpl 288 15459 0 9131 453 0 453 453 0 8 0 anonpl 24 1441351 0 1428318 210 117 93 107 0 186 0 amapchunkpl 152 125193 0 124570 101 75 26 39 0 158 0 amappl16 200 21309 0 20923 126 105 21 34 0 8 0 amappl15 192 856 0 850 1 0 1 1 0 8 0 amappl14 184 16 0 14 1 0 1 1 0 8 0 amappl13 176 143 0 141 1 0 1 1 0 8 0 amappl12 168 869 0 863 1 0 1 1 0 8 0 amappl11 160 1021 0 1004 1 0 1 1 0 8 0 amappl10 152 1367 0 1361 1 0 1 1 0 8 0 amappl9 144 2734 0 2725 1 0 1 1 0 8 0 amappl8 136 1786 0 1658 6 1 5 5 0 8 0 amappl7 128 993 0 981 1 0 1 1 0 8 0 amappl6 120 2106 0 2074 6 5 1 2 0 8 0 amappl5 112 8214 0 8189 1 0 1 1 0 8 0 amappl4 104 2127 0 2097 1 0 1 1 0 8 0 amappl3 96 21785 0 21721 2 0 2 2 0 8 0 amappl2 88 7648 0 7572 3 1 2 3 0 8 0 amappl1 80 167805 0 167073 21 5 16 19 0 8 0 amappl 88 41549 0 41355 6 1 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 6943 0 6907 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6943 0 6907 1 0 1 1 0 8 0 vmmpekpl 168 64786 0 64735 3 0 3 3 0 8 0 vmmpepl 168 691391 0 688492 227 95 132 139 0 357 0 vmsppl 368 6942 0 6907 4 0 4 4 0 8 0 rwobjpl 56 179868 0 172342 117 10 107 109 0 8 0 pdppl 4096 13893 0 13814 344 263 81 93 0 8 2 pvpl 32 2944876 0 2926311 422 262 160 240 0 265 0 pmappl 248 6942 0 6907 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1324 0 487 25 0 25 25 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82988ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800027c04b80) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027c04b80) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffc8ad0, count: 8 ddb{0}> trace x86_ipi_db(ffffffff82988ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x129 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800027c04b80) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800027c04b80) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffc8ad0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000261af7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000261af7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000261af7b0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(506dd10fd20,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000261af7b0,ffff80002e4d6e10,ffff80002e4d6e70) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4d6ee0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4d6ee0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5072cdaf1c0, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff8000261af7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000261af7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e4d6c80,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000261af7b0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(506dd10fd20,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000261af7b0,ffff80002e4d6e10,ffff80002e4d6e70) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e4d6ee0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e4d6ee0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5072cdaf1c0, count: -12