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 38790 2943 32767 0x10 0 0 syz-executor.1 *511283 66504 32767 0x1810 0x4080080 1 syz-executor.5 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(ffff8000ffff7270,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff7270,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff7270,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(71f9464c060,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff7270,ffff80002b030710,ffff80002b030770) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002b0307e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002b0307e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fb99d7a50, 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(ffff8000ffff7270,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff7270,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff7270,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(71f9464c060,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff7270,ffff80002b030710,ffff80002b030770) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002b0307e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002b0307e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fb99d7a50, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002b030340 rbx 0xffff800020de9bb7 rdx 0xffff800000bd9800 rcx 0 rax 0xffff8000ffff7270 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe3a6e89bbce54a37 r11 0x22114f003e35a779 r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002b030330 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) pid=511283 stat=onproc flags process=1810 proc=4080080 pri=69, usrpri=69, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffee540,0xffff8000ffff62c0 process=0xffff8000ffff1d28 user=0xffff80002b02b000, vmspace=0xfffffd8075740a20 estcpu=19, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11695 426943 94904 32767 3 0x90 nanoslp syz-executor.4 11695 236419 94904 32767 2 0x4000010 syz-executor.4 11695 351757 94904 32767 3 0x4000090 fsleep syz-executor.4 11695 53402 94904 32767 3 0x4000090 fsleep syz-executor.4 54400 452587 5965 32767 2 0x10 syz-executor.6 54400 378696 5965 32767 2 0x4000010 syz-executor.6 2943 38790 31755 32767 7 0x10 syz-executor.1 2943 416979 31755 32767 2 0x4000010 syz-executor.1 55476 446530 11646 32767 2 0x10 syz-executor.7 55476 391717 11646 32767 3 0x4000090 fsleep syz-executor.7 55607 328055 77374 32767 2 0x10 syz-executor.2 55607 21223 77374 32767 3 0x4000090 fsleep syz-executor.2 46543 477372 4197 32767 2 0x10 syz-executor.3 46543 98299 4197 32767 3 0x4000090 fsleep syz-executor.3 46543 475673 4197 32767 3 0x4000090 fsleep syz-executor.3 93293 147009 96045 32767 2 0x10 syz-executor.0 93293 168913 96045 32767 3 0x4000090 fsleep syz-executor.0 66504 497920 24817 32767 2 0x3810 syz-executor.5 *66504 511283 24817 32767 7 0x4081890 syz-executor.5 77374 127345 19902 32767 2 0x10 syz-executor.2 19902 310625 71466 0 3 0x82 wait syz-executor.2 5965 137867 40051 32767 2 0x10 syz-executor.6 40051 195966 71466 0 3 0x82 wait syz-executor.6 94904 57138 81272 32767 3 0x90 nanoslp syz-executor.4 81272 450355 71466 0 3 0x82 wait syz-executor.4 24817 344610 65716 32767 3 0x90 nanoslp syz-executor.5 65716 41712 71466 0 3 0x82 wait syz-executor.5 20355 48434 0 0 3 0x14200 bored sosplice 11646 352263 92305 32767 3 0x90 nanoslp syz-executor.7 92305 132972 71466 0 3 0x82 wait syz-executor.7 4197 317667 61194 32767 3 0x90 nanoslp syz-executor.3 31755 264256 96750 32767 3 0x90 nanoslp syz-executor.1 61194 28599 71466 0 3 0x82 wait syz-executor.3 96045 380725 20627 32767 2 0x10 syz-executor.0 96750 357775 71466 0 3 0x82 wait syz-executor.1 20627 291636 71466 0 3 0x82 wait syz-executor.0 71466 188637 66782 0 3 0x82 kqread syz-fuzzer 71466 279700 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 7924 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 18090 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 119950 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 196854 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 16778 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 21242 66782 0 3 0x4000082 thrsleep syz-fuzzer 71466 486134 66782 0 3 0x4000082 thrsleep syz-fuzzer 66782 250457 86462 0 3 0x10008a sigsusp ksh 86462 285243 5596 0 3 0x9a kqread sshd 12561 11809 1 0 3 0x100083 ttyin getty 5596 250555 1 0 3 0x88 kqread sshd 86080 232514 55805 73 3 0x1100090 kqread syslogd 55805 21847 1 0 3 0x100082 netio syslogd 87997 29134 1 0 3 0x100080 kqread resolvd 83921 55924 96423 77 3 0x100092 kqread dhcpleased 93870 504581 96423 77 3 0x100092 kqread dhcpleased 96423 339882 1 0 3 0x80 kqread dhcpleased 3394 504946 0 0 3 0x14200 bored smr 33695 430342 0 0 2 0x14200 zerothread 9940 325365 0 0 3 0x14200 aiodoned aiodoned 90158 38788 0 0 3 0x14200 syncer update 77640 107731 0 0 3 0x14200 cleaner cleaner 53989 106733 0 0 3 0x14200 reaper reaper 5373 68036 0 0 3 0x14200 pgdaemon pagedaemon 92089 230349 0 0 3 0x14200 bored viomb 39975 80542 0 0 3 0x40014200 acpi0 acpi0 34341 145096 0 0 3 0x40014200 idle1 87335 361045 0 0 3 0x14200 bored softnet 67498 132089 0 0 3 0x14200 bored softnet 55216 33840 0 0 3 0x14200 bored softnet 48918 517833 0 0 3 0x14200 bored softnet 59032 203638 0 0 3 0x14200 bored systqmp 24863 116418 0 0 3 0x14200 bored systq 90344 291773 0 0 3 0x40014200 bored softclock 68867 519101 0 0 3 0x40014200 idle0 1 43774 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 10212 6413K 6420K 78643K 11346 0 pcb 13 12K 14K 78643K 17 0 rtable 244 6K 7K 78643K 2603 0 ifaddr 81 17K 17K 78643K 181 0 sysctl 3 1K 1K 78643K 3 0 counters 56 35K 35K 78643K 84 0 ioctlops 0 0K 2K 78643K 106 0 iov 0 0K 28K 78643K 1501 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 5874 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 103 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1126 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 26 97K 113K 78643K 8562 0 sigio 0 0K 0K 78643K 173 0 proc 56 78K 103K 78643K 1414 0 subproc 104 6K 6K 78643K 286 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 592 0 in_multi 99 6K 7K 78643K 351 0 ether_multi 1 0K 0K 78643K 31 0 mrt 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 271 1208K 1208K 78643K 271 0 exec 0 0K 2K 78643K 1815 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 337 92K 108K 78643K 52221 0 UVM aobj 131 6K 6K 78643K 155 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 194 0 NDP 11 0K 2K 78643K 69 0 temp 124 4722K 4850K 78643K 24673 0 kqueue 12 18K 26K 78643K 1187 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 2284 0 2280 29 27 2 3 0 8 1 rtentry 112 285 0 170 4 0 4 4 0 8 0 unpcb 136 10105 0 10091 62 60 2 6 0 8 1 syncache 296 105 0 105 21 21 0 1 0 8 0 tcpqe 32 597 0 597 15 15 0 1 0 8 0 tcpcb 736 3097 0 3089 122 120 2 20 0 8 0 arp 120 51 0 31 1 0 1 1 0 8 0 inpcb 320 6324 0 6307 142 135 7 13 0 8 5 nd6 48 81 0 54 1 0 1 1 0 8 0 kcovpl 48 22 0 14 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1206 0 735 34 4 30 31 0 8 0 art_table 32 1207 0 735 4 0 4 4 0 8 0 art_node 16 284 0 179 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 5 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 1124 0 1114 1 0 1 1 0 8 0 shmpl 112 152 0 24 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 15607 0 14166 91 0 91 91 0 8 0 ffsino 272 15607 0 14166 97 0 97 97 0 8 0 nchpl 144 27100 0 25450 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 105464 0 105464 2 1 1 2 0 8 1 percpumem 16 54 0 14 1 0 1 1 0 8 0 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scxspl 216 67385 0 67385 35 32 3 8 0 8 3 plimitpl 152 2593 0 2570 9 8 1 2 0 8 0 sigapl 424 8811 0 8756 7 0 7 7 0 8 0 futexpl 64 70023 0 70015 1 0 1 1 0 8 0 knotepl 120 831 0 0 11 1 10 10 0 8 0 kqueuepl 224 3035 0 3027 52 51 1 5 0 8 0 pipepl 336 2047 0 2019 55 52 3 13 0 8 0 fdescpl 496 8793 0 8756 7 1 6 6 0 8 0 filepl 152 77218 0 76949 166 152 14 22 0 8 3 lockfpl 104 1242 0 1240 3 2 1 2 0 8 0 lockfspl 48 338 0 336 1 0 1 1 0 8 0 sessionpl 144 37 0 21 1 0 1 1 0 8 0 pgrppl 48 57 0 41 1 0 1 1 0 8 0 ucredpl 104 26173 0 26155 1 0 1 1 0 8 0 zombiepl 144 8756 0 8756 1 0 1 1 0 8 1 processpl 1064 8811 0 8756 4 0 4 4 0 8 0 procpl 672 24958 0 24884 20 13 7 8 0 8 0 sosppl 168 136 0 135 19 18 1 1 0 8 0 sockpl 480 18885 0 18851 380 367 13 33 0 8 8 mcl64k 65536 26 0 0 4 1 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 309 0 0 26 5 21 26 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 2926 0 0 168 0 168 168 0 8 0 bufpl 288 16776 0 10442 453 0 453 453 0 8 0 anonpl 24 1723487 0 1710498 275 169 106 112 0 186 16 amapchunkpl 152 151779 0 151145 107 80 27 39 0 158 1 amappl16 200 26097 0 25728 167 135 32 37 0 8 11 amappl15 192 3088 0 3082 1 0 1 1 0 8 0 amappl14 184 1377 0 1372 1 0 1 1 0 8 0 amappl13 176 172 0 170 1 0 1 1 0 8 0 amappl12 168 227 0 226 4 3 1 1 0 8 0 amappl11 160 2018 0 1997 1 0 1 1 0 8 0 amappl10 152 409 0 397 1 0 1 1 0 8 0 amappl9 144 1055 0 1052 1 0 1 1 0 8 0 amappl8 136 1929 0 1801 5 0 5 5 0 8 0 amappl7 128 1080 0 1066 1 0 1 1 0 8 0 amappl6 120 862 0 843 2 1 1 2 0 8 0 amappl5 112 8520 0 8490 1 0 1 1 0 8 0 amappl4 104 3476 0 3439 9 7 2 2 0 8 1 amappl3 96 26218 0 26161 2 0 2 2 0 8 0 amappl2 88 9556 0 9481 3 1 2 3 0 8 0 amappl1 80 209552 0 208801 21 5 16 19 0 8 0 amappl 88 51140 0 50952 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 154 0 24 3 0 3 3 0 8 0 uaddrrnd 24 8793 0 8756 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8793 0 8756 1 0 1 1 0 8 0 vmmpekpl 168 68828 0 68764 4 0 4 4 0 8 0 vmmpepl 168 864757 0 861794 277 136 141 141 0 357 12 vmsppl 368 8792 0 8756 4 0 4 4 0 8 0 rwobjpl 56 217038 0 209539 125 15 110 110 0 8 3 pdppl 4096 17593 0 17512 450 369 81 89 0 8 0 pvpl 32 3344158 0 3325603 498 307 191 255 0 265 33 pmappl 248 8792 0 8756 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1523 0 555 30 1 29 29 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+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x120 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff80002b01e260) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff80002b01e260) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffc9050, 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+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x120 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff80002b01e260) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff80002b01e260) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffc9050, 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(ffff8000ffff7270,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff7270,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff7270,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(71f9464c060,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff7270,ffff80002b030710,ffff80002b030770) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002b0307e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002b0307e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fb99d7a50, 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(ffff8000ffff7270,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff7270,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002b030580,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff7270,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(71f9464c060,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff7270,ffff80002b030710,ffff80002b030770) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002b0307e0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002b0307e0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fb99d7a50, count: -12