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 *251051 99836 0 0x1800 0x4080080 1 syz-executor.5 384250 21758 0 0 0 0 syz-executor.2 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff8000213057b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000213057b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000213057b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(10bae354dc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000213057b0,ffff80002e456c90,ffff80002e456cf0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e456d60) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e456d60) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x10be15e7b90, 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(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff8000213057b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000213057b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000213057b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(10bae354dc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000213057b0,ffff80002e456c90,ffff80002e456cf0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e456d60) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e456d60) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x10be15e7b90, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e4568c0 rbx 0xffff800020dd9bb7 rdx 0xffff800000bfd840 rcx 0 rax 0xffff8000213057b0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x5546d5780b3592c0 r11 0x530fe3066b51218f r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff816ef6f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e4568b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) pid=251051 stat=onproc flags process=1800 proc=4080080 pri=64, usrpri=64, nice=20 forw=0xffffffffffffffff, list=0xffff800021304a90,0xffff8000fffeea98 process=0xffff8000295d4c90 user=0xffff80002e451000, vmspace=0xfffffd80703cc5d0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45148 353557 95650 0 2 0 syz-executor.7 45148 71726 95650 0 3 0x4000080 fsleep syz-executor.7 13361 15355 69882 0 2 0 syz-executor.4 13361 27836 69882 0 3 0x4000080 fifor syz-executor.4 99836 13077 88895 0 2 0x3800 syz-executor.5 *99836 251051 88895 0 7 0x4081880 syz-executor.5 21758 384250 31661 0 7 0 syz-executor.2 83367 183203 72844 0 2 0 syz-executor.3 24996 82441 91960 0 3 0x80 nanoslp syz-executor.0 24996 132657 91960 0 3 0x4000080 fsleep syz-executor.0 24996 302117 91960 0 2 0x4000000 syz-executor.0 24996 34079 91960 0 3 0x4000080 fsleep syz-executor.0 40028 279647 40340 0 2 0 syz-executor.1 40028 33686 40340 0 3 0x4000080 fsleep syz-executor.1 95650 304042 5760 0 3 0x82 nanoslp syz-executor.7 11727 512229 5760 0 2 0x2 syz-executor.6 88895 240962 5760 0 3 0x82 nanoslp syz-executor.5 69882 508532 5760 0 3 0x82 nanoslp syz-executor.4 72844 378392 5760 0 2 0x2 syz-executor.3 31661 4124 5760 0 2 0x2 syz-executor.2 40340 408178 5760 0 3 0x82 nanoslp syz-executor.1 91960 472900 5760 0 3 0x82 nanoslp syz-executor.0 5760 336770 86621 0 3 0x82 thrsleep syz-fuzzer 5760 307485 86621 0 3 0x4000082 thrsleep syz-fuzzer 5760 520387 86621 0 3 0x4000082 thrsleep syz-fuzzer 5760 209532 86621 0 3 0x4000082 thrsleep syz-fuzzer 5760 236462 86621 0 3 0x4000082 thrsleep syz-fuzzer 5760 274256 86621 0 3 0x4000082 thrsleep syz-fuzzer 5760 72185 86621 0 3 0x4000082 kqread syz-fuzzer 5760 191315 86621 0 3 0x4000082 thrsleep syz-fuzzer 86621 52403 62572 0 3 0x10008a sigsusp ksh 62572 208071 28804 0 3 0x9a kqread sshd 12698 59828 1 0 3 0x100083 ttyin getty 28804 295098 1 0 3 0x88 kqread sshd 77307 453680 37137 74 3 0x1100092 bpf pflogd 37137 484491 1 0 3 0x80 netio pflogd 29796 330298 58673 73 3 0x1100090 kqread syslogd 58673 191423 1 0 3 0x100082 netio syslogd 60492 391801 1 0 3 0x100080 kqread resolvd 95539 391070 7033 77 3 0x100092 kqread dhcpleased 23587 464394 7033 77 3 0x100092 kqread dhcpleased 7033 426398 1 0 3 0x80 kqread dhcpleased 68526 50644 0 0 3 0x14200 bored smr 28989 507211 0 0 2 0x14200 zerothread 21457 200793 0 0 3 0x14200 aiodoned aiodoned 69295 375680 0 0 3 0x14200 syncer update 98255 13085 0 0 3 0x14200 cleaner cleaner 6325 83391 0 0 3 0x14200 reaper reaper 88812 287474 0 0 3 0x14200 pgdaemon pagedaemon 92727 103275 0 0 3 0x14200 bored viomb 28999 205916 0 0 3 0x40014200 acpi0 acpi0 81859 345517 0 0 3 0x40014200 idle1 24523 500334 0 0 3 0x14200 bored softnet 87942 153356 0 0 3 0x14200 bored softnet 26670 211839 0 0 3 0x14200 bored softnet 4086 279332 0 0 3 0x14200 bored softnet 18393 127074 0 0 3 0x14200 bored systqmp 46386 235549 0 0 3 0x14200 bored systq 18314 79969 0 0 3 0x40014200 bored softclock 56868 519099 0 0 3 0x40014200 idle0 1 18451 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 (0xffffffff82a872c8) #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 Process 21758 (syz-executor.2) thread 0xffff8000213042b0 (384250) shared rwlock vmmaplk r = 0 (0xfffffd80703cca38) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1771 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10188 6604K 6798K 78643K 11518 0 pcb 13 8K 8K 78643K 15 0 rtable 234 6K 6K 78643K 348 0 ifaddr 86 17K 17K 78643K 90 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 4K 78643K 1496 0 iov 0 0K 12K 78643K 1 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1305 81K 82K 78643K 1354 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 252 0 proc 68 91K 115K 78643K 525 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 31 148K 148K 78643K 31 0 exec 0 0K 2K 78643K 650 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 223 95K 96K 78643K 3073 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 3 0 NDP 12 0K 2K 78643K 28 0 temp 129 4722K 4786K 78643K 4097 0 kqueue 13 20K 20K 78643K 31 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 37 0 34 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 201 0 184 1 0 1 1 0 8 0 syncache 296 6 0 6 2 1 1 1 0 8 1 tcpqe 32 456 0 456 2 2 0 2 0 8 0 tcpcb 736 26 0 18 2 0 2 2 0 8 1 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 93 0 86 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 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 0 2 1 0 1 1 0 8 0 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 19 0 2 1 0 1 1 0 8 0 pfstkey 120 19 0 2 1 0 1 1 0 8 0 pfstate 336 19 0 2 2 0 2 2 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 28 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1641 0 198 91 0 91 91 0 8 0 ffsino 272 1641 0 198 97 0 97 97 0 8 0 nchpl 144 2082 0 395 63 0 63 63 0 8 0 uvmvnodes 80 1819 0 0 38 0 38 38 0 8 0 vnodes 224 1819 0 0 107 0 107 107 0 8 0 namei 1024 7375 0 7375 2 1 1 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 vcpupl 2048 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 6468 0 6468 9 1 8 8 0 8 8 plimitpl 152 65 0 49 1 0 1 1 0 8 0 sigapl 424 556 0 509 9 3 6 7 0 8 0 futexpl 64 1354 0 1349 2 1 1 1 0 8 0 knotepl 120 102 0 0 4 0 4 4 0 8 0 kqueuepl 224 30 0 21 1 0 1 1 0 8 0 pipepl 336 139 0 111 3 0 3 3 0 8 0 fdescpl 496 539 0 509 6 1 5 5 0 8 0 filepl 152 2392 0 2147 14 2 12 12 0 8 2 lockfpl 104 110 0 107 1 0 1 1 0 8 0 lockfspl 48 23 0 20 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 78 0 66 1 0 1 1 0 8 0 zombiepl 144 509 0 509 1 0 1 1 0 8 1 processpl 1064 556 0 509 4 0 4 4 0 8 0 procpl 672 852 0 791 8 1 7 7 0 8 1 sockpl 480 331 0 304 5 0 5 5 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 332 0 0 41 0 41 41 0 8 0 mtagpl 96 41 0 0 1 0 1 1 0 8 0 mbufpl 256 364 0 0 23 0 23 23 0 8 0 bufpl 288 3847 0 139 265 0 265 265 0 8 0 anonpl 24 88837 0 72805 105 1 104 104 0 186 3 amapchunkpl 152 7444 0 6797 28 2 26 26 0 158 0 amappl16 200 1188 0 665 31 0 31 31 0 8 1 amappl15 192 25 0 24 1 0 1 1 0 8 0 amappl14 184 22 0 17 2 1 1 1 0 8 0 amappl13 176 84 0 80 1 0 1 1 0 8 0 amappl12 168 75 0 66 1 0 1 1 0 8 0 amappl11 160 86 0 66 1 0 1 1 0 8 0 amappl10 152 52 0 44 1 0 1 1 0 8 0 amappl9 144 534 0 528 1 0 1 1 0 8 0 amappl8 136 568 0 527 2 0 2 2 0 8 0 amappl7 128 114 0 103 1 0 1 1 0 8 0 amappl6 120 256 0 237 2 1 1 2 0 8 0 amappl5 112 186 0 169 1 0 1 1 0 8 0 amappl4 104 823 0 797 2 1 1 2 0 8 0 amappl3 96 928 0 871 2 0 2 2 0 8 0 amappl2 88 850 0 783 3 1 2 3 0 8 0 amappl1 80 14553 0 13881 20 4 16 20 0 8 0 amappl 88 2634 0 2472 4 0 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 540 0 509 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 540 0 509 1 0 1 1 0 8 0 vmmpekpl 168 8980 0 8934 3 0 3 3 0 8 0 vmmpepl 168 55109 0 52512 122 4 118 121 0 357 5 vmsppl 368 539 0 509 4 0 4 4 0 8 1 rwobjpl 56 16282 0 12931 49 1 48 48 0 8 0 pdppl 4096 1087 0 1019 107 37 70 83 0 8 2 pvpl 32 296559 0 276102 246 13 233 244 0 265 66 pmappl 248 539 0 509 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 680 0 41 19 0 19 19 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8297eff0) 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(ffffffff82a870c0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a870c0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba3b5c,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,967521bdb9c9401,fffffd8076646a68) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(0,0,fffffd8076646a68,2) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 uvm_fault_lower(ffff80002b03e930,ffff80002b03e968,ffff80002b03e8b0,0) at uvm_fault_lower+0x1aa uvm_fault(fffffd80703cca20,dedd56e7000,0,2) at uvm_fault+0x238 upageflttrap(ffff80002b03eaa0,dedd56e7000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002b03eaa0) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe9c40, count: 3 ddb{0}> trace x86_ipi_db(ffffffff8297eff0) 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(ffffffff82a870c0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a870c0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba3b5c,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,967521bdb9c9401,fffffd8076646a68) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(0,0,fffffd8076646a68,2) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 uvm_fault_lower(ffff80002b03e930,ffff80002b03e968,ffff80002b03e8b0,0) at uvm_fault_lower+0x1aa uvm_fault(fffffd80703cca20,dedd56e7000,0,2) at uvm_fault+0x238 upageflttrap(ffff80002b03eaa0,dedd56e7000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002b03eaa0) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe9c40, count: -12 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(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff8000213057b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000213057b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000213057b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(10bae354dc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000213057b0,ffff80002e456c90,ffff80002e456cf0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e456d60) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e456d60) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x10be15e7b90, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a0599) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82615d07,ffffffff825891d5,3f,ffffffff8264bc7b) 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(ffff8000213057b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000213057b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e456b00,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000213057b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(10bae354dc0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000213057b0,ffff80002e456c90,ffff80002e456cf0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e456d60) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e456d60) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x10be15e7b90, count: -12