panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 266108 14595 0 0 0 0 syz-executor.3 *263567 3043 0 0x1800 0x4080080 1 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259a0ff) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) 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(ffff80002126f7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002126f7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002126f7b0,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(585ad42b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002126f7b0,ffff80002619cae0,ffff80002619cb40) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002619cbb0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002619cbb0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5859b60ec90, 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/multicore/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(ffffffff8259a0ff) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) 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(ffff80002126f7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002126f7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002126f7b0,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(585ad42b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002126f7b0,ffff80002619cae0,ffff80002619cb40) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002619cbb0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002619cbb0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5859b60ec90, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002619c710 rbx 0xffff800020dd9bb7 rdx 0xffff800000bd4940 rcx 0 rax 0xffff80002126f7b0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2144ccfb9076f426 r11 0x8e995d53220ad52a r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff81b52d88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002619c700 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=263567 stat=onproc flags process=1800 proc=4080080 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff80002126f270,0xffff80002126ed40 process=0xffff8000fffe69b0 user=0xffff800026197000, vmspace=0xfffffd807c01da20 estcpu=32, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11588 30971 25099 0 2 0 syz-executor.2 70080 473775 7680 0 2 0 syz-executor.4 70080 327053 7680 0 3 0x4000080 fsleep syz-executor.4 52943 22320 27309 0 2 0 syz-executor.6 52943 474713 27309 0 3 0x4000080 kqread syz-executor.6 14595 266108 24490 0 7 0 syz-executor.3 14595 295665 24490 0 2 0x4000000 syz-executor.3 14595 193625 24490 0 2 0x4000000 syz-executor.3 16877 53650 19272 60928 2 0x10 syz-executor.5 16877 36080 19272 60928 3 0x4000090 fsleep syz-executor.5 16877 249613 19272 60928 3 0x4000090 fsleep syz-executor.5 16877 341736 19272 60928 3 0x4000090 fsleep syz-executor.5 13478 326669 82727 0 2 0 syz-executor.0 13478 191679 82727 0 3 0x4000080 fsleep syz-executor.0 3043 229102 16862 0 2 0x3800 syz-executor.1 * 3043 263567 16862 0 7 0x4081880 syz-executor.1 61029 163154 0 0 3 0x14280 nfsidl nfsio 27740 13879 0 0 3 0x14280 nfsidl nfsio 28810 250503 0 0 3 0x14280 nfsidl nfsio 63947 346099 0 0 3 0x14280 nfsidl nfsio 38555 353132 0 0 3 0x14280 nfsidl nfsio 34284 341552 0 0 3 0x14280 nfsidl nfsio 18244 418428 0 0 3 0x14280 nfsidl nfsio 86493 362951 0 0 3 0x14280 nfsidl nfsio 39525 404556 0 0 3 0x14280 nfsidl nfsio 59980 393715 0 0 3 0x14280 nfsidl nfsio 47600 97658 0 0 3 0x14280 nfsidl nfsio 73912 437144 0 0 3 0x14280 nfsidl nfsio 9236 491237 0 0 3 0x14280 nfsidl nfsio 46252 300179 0 0 3 0x14280 nfsidl nfsio 18302 33191 0 0 3 0x14280 nfsidl nfsio 31084 215691 0 0 3 0x14280 nfsidl nfsio 25161 223286 0 0 3 0x14280 nfsidl nfsio 5407 453709 0 0 3 0x14280 nfsidl nfsio 80303 337186 0 0 3 0x14280 nfsidl nfsio 38989 385716 0 0 3 0x14280 nfsidl nfsio 7159 36629 83149 0 3 0x82 nanoslp syz-executor.7 27309 322798 83149 0 3 0x82 nanoslp syz-executor.6 19272 168264 83149 0 3 0x82 nanoslp syz-executor.5 7680 380649 83149 0 3 0x82 nanoslp syz-executor.4 24490 347803 83149 0 3 0x82 nanoslp syz-executor.3 25099 254923 83149 0 3 0x82 nanoslp syz-executor.2 16862 446771 83149 0 2 0x2 syz-executor.1 82727 505019 83149 0 3 0x82 nanoslp syz-executor.0 83149 78537 49868 0 3 0x82 kqread syz-fuzzer 83149 454687 49868 0 3 0x4000082 thrsleep syz-fuzzer 83149 49042 49868 0 3 0x4000082 thrsleep syz-fuzzer 83149 454150 49868 0 3 0x4000082 thrsleep syz-fuzzer 83149 184699 49868 0 3 0x4000082 thrsleep syz-fuzzer 83149 109100 49868 0 3 0x4000082 thrsleep syz-fuzzer 83149 124412 49868 0 3 0x4000082 thrsleep syz-fuzzer 83149 163768 49868 0 3 0x4000082 thrsleep syz-fuzzer 49868 391571 91365 0 3 0x10008a sigsusp ksh 91365 152416 59982 0 3 0x9a kqread sshd 45183 185181 1 0 3 0x100083 ttyin getty 59982 25044 1 0 3 0x88 kqread sshd 90262 74686 49250 74 3 0x1100092 bpf pflogd 49250 43476 1 0 3 0x80 netio pflogd 41241 14128 63051 73 3 0x1100090 kqread syslogd 63051 472697 1 0 3 0x100082 netio syslogd 65075 483180 1 0 3 0x100080 kqread resolvd 45486 20637 67885 77 3 0x100092 kqread dhcpleased 55178 269203 67885 77 3 0x100092 kqread dhcpleased 67885 397270 1 0 3 0x80 kqread dhcpleased 87365 423749 0 0 3 0x14200 bored smr 31148 274897 0 0 2 0x14200 zerothread 64751 82359 0 0 3 0x14200 aiodoned aiodoned 3426 278684 0 0 3 0x14200 syncer update 36145 317074 0 0 3 0x14200 cleaner cleaner 75672 28565 0 0 3 0x14200 reaper reaper 73297 237702 0 0 3 0x14200 pgdaemon pagedaemon 26593 518985 0 0 3 0x14200 bored viomb 8329 516028 0 0 3 0x40014200 acpi0 acpi0 92670 315281 0 0 3 0x40014200 idle1 14680 211990 0 0 3 0x14200 bored softnet 61543 16550 0 0 3 0x14200 bored softnet 17689 285821 0 0 3 0x14200 bored softnet 39105 292016 0 0 3 0x14200 bored softnet 77884 324804 0 0 3 0x14200 bored systqmp 21219 211597 0 0 3 0x14200 bored systq 86844 390402 0 0 3 0x40014200 bored softclock 34372 431367 0 0 3 0x40014200 idle0 1 219559 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 (0xffffffff82b703d8) #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 10183 6476K 6671K 78643K 11500 0 pcb 13 8K 8K 78643K 17 0 rtable 237 8K 9K 78643K 374 0 ifaddr 86 17K 17K 78643K 90 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1502 0 iov 0 0K 12K 78643K 21 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1275 80K 80K 78643K 1354 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 96 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 81K 78643K 851 0 sigio 0 0K 0K 78643K 5 0 proc 68 91K 128K 78643K 519 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 718 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 239 82K 90K 78643K 5862 0 UVM aobj 5 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 12 0K 2K 78643K 28 0 temp 102 4719K 4783K 78643K 5409 0 kqueue 14 22K 24K 78643K 90 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 42 0 39 1 0 1 1 0 8 0 rtentry 112 115 0 5 4 0 4 4 0 8 0 unpcb 136 212 0 196 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 29 0 25 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 116 0 109 1 0 1 1 0 8 0 nd6 48 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pffrag 232 2 0 2 1 0 1 1 0 482 1 pffrnode 88 2 0 2 1 0 1 1 0 8 1 pffrent 40 4 0 4 1 0 1 1 0 8 1 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 30 0 8 1 0 1 1 0 8 0 pfstkey 120 30 0 8 1 0 1 1 0 8 0 pfstate 336 30 0 8 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 32 453 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 12 1 0 1 1 0 8 0 semapl 112 90 0 80 1 0 1 1 0 8 0 shmpl 112 7 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2298 0 862 91 0 91 91 0 8 0 ffsino 272 2298 0 862 97 0 97 97 0 8 0 nchpl 144 3373 0 1689 63 0 63 63 0 8 0 uvmvnodes 80 2460 0 0 51 0 51 51 0 8 0 vnodes 224 2460 0 0 145 0 145 145 0 8 0 namei 1024 9879 0 9879 2 1 1 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 10201 0 10199 9 8 1 8 0 8 0 plimitpl 152 97 0 81 1 0 1 1 0 8 0 sigapl 424 1175 0 1107 9 1 8 8 0 8 0 futexpl 64 2414 0 2408 1 0 1 1 0 8 0 knotepl 120 244 0 0 7 0 7 7 0 8 0 kqueuepl 224 89 0 79 1 0 1 1 0 8 0 pipepl 336 231 0 202 9 4 5 8 0 8 2 fdescpl 496 1138 0 1108 5 0 5 5 0 8 0 filepl 152 3469 0 3226 15 1 14 15 0 8 4 lockfpl 104 54 0 52 1 0 1 1 0 8 0 lockfspl 48 25 0 23 1 0 1 1 0 8 0 sessionpl 144 24 0 7 1 0 1 1 0 8 0 pgrppl 48 24 0 7 1 0 1 1 0 8 0 ucredpl 104 230 0 217 1 0 1 1 0 8 0 zombiepl 144 1108 0 1107 1 0 1 1 0 8 0 processpl 1064 1175 0 1107 5 0 5 5 0 8 0 procpl 672 2036 0 1952 9 1 8 8 0 8 0 sockpl 480 370 0 344 5 1 4 5 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 211 0 0 26 0 26 26 0 8 0 mtagpl 96 22 0 0 1 0 1 1 0 8 0 mbufpl 256 277 0 0 17 0 17 17 0 8 0 bufpl 288 4407 0 142 305 0 305 305 0 8 0 anonpl 24 183051 0 166141 109 1 108 108 0 186 5 amapchunkpl 152 15972 0 15280 32 2 30 30 0 158 2 amappl16 200 2036 0 1514 29 1 28 28 0 8 0 amappl15 192 311 0 308 1 0 1 1 0 8 0 amappl14 184 15 0 11 2 1 1 1 0 8 0 amappl13 176 81 0 80 1 0 1 1 0 8 0 amappl12 168 80 0 78 1 0 1 1 0 8 0 amappl11 160 183 0 161 1 0 1 1 0 8 0 amappl10 152 124 0 117 1 0 1 1 0 8 0 amappl9 144 602 0 595 1 0 1 1 0 8 0 amappl8 136 684 0 634 2 0 2 2 0 8 0 amappl7 128 204 0 191 1 0 1 1 0 8 0 amappl6 120 303 0 282 2 1 1 2 0 8 0 amappl5 112 822 0 804 1 0 1 1 0 8 0 amappl4 104 999 0 970 2 0 2 2 0 8 0 amappl3 96 2508 0 2457 2 0 2 2 0 8 0 amappl2 88 1405 0 1347 3 1 2 3 0 8 0 amappl1 80 27452 0 26785 20 5 15 20 0 8 0 amappl 88 5409 0 5242 5 1 4 4 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 9 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1138 0 1108 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1138 0 1108 1 0 1 1 0 8 0 vmmpekpl 168 11677 0 11632 3 0 3 3 0 8 0 vmmpepl 168 108407 0 105820 125 6 119 122 0 357 5 vmsppl 368 1137 0 1108 4 1 3 4 0 8 0 rwobjpl 56 28007 0 24005 57 0 57 57 0 8 0 pdppl 4096 2283 0 2216 105 36 69 77 0 8 2 pvpl 32 476987 0 455575 251 20 231 251 0 265 57 pmappl 248 1137 0 1108 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 701 0 45 19 0 19 19 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82983ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:144 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff80002b00ffc0) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff80002b00ffc0) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7fffff6f30, count: 8 ddb{0}> trace x86_ipi_db(ffffffff82983ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:144 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff80002b00ffc0) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff80002b00ffc0) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7fffff6f30, 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(ffffffff8259a0ff) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) 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(ffff80002126f7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002126f7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002126f7b0,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(585ad42b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002126f7b0,ffff80002619cae0,ffff80002619cb40) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002619cbb0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002619cbb0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5859b60ec90, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259a0ff) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) 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(ffff80002126f7b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002126f7b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002619c950,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002126f7b0,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(585ad42b1e0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002126f7b0,ffff80002619cae0,ffff80002619cb40) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002619cbb0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002619cbb0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5859b60ec90, count: -12