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 357218 67074 0 0 0 0 syz-executor.3 * 51089 24871 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(ffff8000ffff5a48,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff5a48,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff5a48,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(85092d80020,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff5a48,ffff800024bac820,ffff800024bac880) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024bac8f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024bac8f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8501b3773c0, 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(ffff8000ffff5a48,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff5a48,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff5a48,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(85092d80020,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff5a48,ffff800024bac820,ffff800024bac880) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024bac8f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024bac8f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8501b3773c0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800024bac450 rbx 0xffff800020dd9bb7 rdx 0 rcx 0 rax 0xffff8000ffff5a48 r8 0x101010101010101 r9 0x8080808080808080 r10 0x69ac40f3dd026d5 r11 0x6b2b0fc1fae1adab r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff81b52d88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800024bac440 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=51089 stat=onproc flags process=1800 proc=4080080 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800029c3cd28,0xffff800029c3d518 process=0xffff800024775908 user=0xffff800024ba7000, vmspace=0xfffffd80665e9190 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56191 358905 23787 0 2 0 syz-executor.4 56191 290589 23787 0 3 0x4000080 fsleep syz-executor.4 67074 357218 40943 0 7 0 syz-executor.3 67074 150102 40943 0 3 0x4000080 fsleep syz-executor.3 24871 513087 30783 0 2 0x3800 syz-executor.1 *24871 51089 30783 0 7 0x4081880 syz-executor.1 48598 59738 94779 0 2 0x4003000 syz-executor.2 42326 174817 0 0 3 0x14200 bored sosplice 11661 508059 0 0 3 0x14280 nfsidl nfsio 4544 444429 0 0 3 0x14280 nfsidl nfsio 28888 38106 0 0 3 0x14280 nfsidl nfsio 23527 394922 0 0 3 0x14280 nfsidl nfsio 45381 197749 0 0 3 0x14280 nfsidl nfsio 62663 407580 0 0 3 0x14280 nfsidl nfsio 87007 451854 0 0 3 0x14280 nfsidl nfsio 34525 44956 0 0 3 0x14280 nfsidl nfsio 41190 42663 0 0 3 0x14280 nfsidl nfsio 35909 249960 0 0 3 0x14280 nfsidl nfsio 12352 420482 0 0 3 0x14280 nfsidl nfsio 14130 516427 0 0 3 0x14280 nfsidl nfsio 10466 353619 0 0 3 0x14280 nfsidl nfsio 71023 252380 0 0 3 0x14280 nfsidl nfsio 36732 394368 0 0 3 0x14280 nfsidl nfsio 8247 22097 0 0 3 0x14280 nfsidl nfsio 74351 371592 0 0 3 0x14280 nfsidl nfsio 75281 164567 0 0 3 0x14280 nfsidl nfsio 75898 45609 0 0 3 0x14280 nfsidl nfsio 21756 159466 0 0 3 0x14280 nfsidl nfsio 64602 227425 96090 0 3 0x82 nanoslp syz-executor.6 37991 244559 96090 0 3 0x82 nanoslp syz-executor.7 23787 303546 96090 0 3 0x82 nanoslp syz-executor.4 50247 190466 96090 0 3 0x82 piperd syz-executor.5 40943 419139 96090 0 3 0x82 nanoslp syz-executor.3 94779 71532 96090 0 3 0x82 nanoslp syz-executor.2 30783 433210 96090 0 3 0x82 nanoslp syz-executor.1 23386 360395 96090 0 3 0x82 piperd syz-executor.0 96090 376069 32043 0 3 0x82 kqread syz-fuzzer 96090 494981 32043 0 3 0x4000082 nanoslp syz-fuzzer 96090 224655 32043 0 3 0x4000082 thrsleep syz-fuzzer 96090 434823 32043 0 3 0x4000082 thrsleep syz-fuzzer 96090 322999 32043 0 3 0x4000082 thrsleep syz-fuzzer 96090 116528 32043 0 3 0x4000082 thrsleep syz-fuzzer 96090 521873 32043 0 3 0x4000082 thrsleep syz-fuzzer 96090 380967 32043 0 3 0x4000082 thrsleep syz-fuzzer 96090 330216 32043 0 3 0x4000082 thrsleep syz-fuzzer 32043 231800 17684 0 3 0x10008a sigsusp ksh 17684 325013 69275 0 3 0x9a kqread sshd 34277 248090 1 0 3 0x100083 ttyin getty 69275 264419 1 0 3 0x88 kqread sshd 15582 71334 18658 74 3 0x1100092 bpf pflogd 18658 486194 1 0 3 0x80 netio pflogd 36500 137691 98359 73 3 0x1100090 kqread syslogd 98359 82127 1 0 3 0x100082 netio syslogd 58833 15223 1 0 3 0x100080 kqread resolvd 5389 357281 49191 77 3 0x100092 kqread dhcpleased 53508 163422 49191 77 3 0x100092 kqread dhcpleased 49191 227199 1 0 3 0x80 kqread dhcpleased 67472 277300 0 0 3 0x14200 bored smr 878 342101 0 0 2 0x14200 zerothread 7770 270199 0 0 3 0x14200 aiodoned aiodoned 56395 301272 0 0 3 0x14200 syncer update 46129 379602 0 0 3 0x14200 cleaner cleaner 91039 132219 0 0 2 0x14200 reaper 68680 456597 0 0 3 0x14200 pgdaemon pagedaemon 11878 319309 0 0 3 0x14200 bored viomb 11772 130055 0 0 3 0x40014200 acpi0 acpi0 27972 132328 0 0 3 0x40014200 idle1 86899 310239 0 0 3 0x14200 bored softnet 15803 211588 0 0 3 0x14200 bored softnet 82507 475582 0 0 3 0x14200 bored softnet 18059 446116 0 0 3 0x14200 bored softnet 11087 318000 0 0 3 0x14200 bored systqmp 26832 239907 0 0 3 0x14200 bored systq 44976 449155 0 0 3 0x40014200 bored softclock 9831 413099 0 0 3 0x40014200 idle0 1 251784 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82b9fae0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_getpages+0x3dc sys/uvm/uvm_pmemrange.c:949 #4 uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 #5 uvm_fault_upper+0x180 #6 uvm_fault+0x154 sys/uvm/uvm_fault.c:609 #7 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #8 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #9 recall_trap+0x8 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 Process 67074 (syz-executor.3) thread 0xffff800029c3c008 (357218) exclusive rwlock amaplk r = 0 (0xfffffd806a9c6558) #0 witness_lock+0x44d #1 uvm_fault_check+0x422 sys/uvm/uvm_fault.c:783 #2 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd80665e9488) #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 10207 6552K 6876K 78643K 13736 0 pcb 13 14K 16K 78643K 534 0 rtable 231 9K 9K 78643K 474 0 ifaddr 90 18K 19K 78643K 200 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 94 0 ioctlops 0 0K 4K 78643K 1809 0 iov 0 0K 12K 78643K 184 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1336 83K 84K 78643K 2050 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 194 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 89K 78643K 1956 0 sigio 0 0K 0K 78643K 47 0 proc 70 91K 128K 78643K 541 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 94 0 in_multi 88 5K 6K 78643K 156 0 ether_multi 1 0K 0K 78643K 11 0 mrt 1 0K 0K 78643K 13 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 157 705K 705K 78643K 157 0 exec 0 0K 2K 78643K 738 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 244 129K 130K 78643K 13140 0 UVM aobj 26 2K 2K 78643K 35 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 102 0 NDP 13 0K 2K 78643K 52 0 temp 137 4732K 5752K 78643K 9030 0 kqueue 13 20K 24K 78643K 132 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 104 0 101 2 1 1 2 0 8 0 rtentry 112 139 0 37 4 0 4 4 0 8 0 unpcb 136 688 0 670 8 7 1 6 0 8 0 syncache 296 15 0 15 4 3 1 1 0 8 1 tcpqe 32 122 0 122 1 1 0 1 0 8 0 tcpcb 736 546 0 537 19 16 3 8 0 8 2 arp 120 21 0 3 1 0 1 1 0 8 0 inpcb 320 3976 0 3955 33 25 8 13 0 8 6 nd6 48 32 0 11 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1256 16 0 16 3 3 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 3 0 2 1 0 1 1 0 482 0 pffrnode 88 3 0 2 1 0 1 1 0 8 0 pffrent 40 12 0 11 1 0 1 1 0 8 0 pfosfp 40 1435 0 1010 5 0 5 5 0 8 0 pfosfpen 112 1435 0 719 21 0 21 21 0 8 0 pfrktable 1344 19 0 15 2 1 1 1 0 8 0 pftag 88 4 0 4 1 1 0 1 0 8 0 pfstitem 24 26 0 24 1 0 1 1 0 8 0 pfstkey 120 34 0 32 1 0 1 1 0 8 0 pfstate 336 30 0 28 2 1 1 2 0 8 0 pfrule 1360 77 0 58 3 1 2 2 0 8 0 rttmr 136 6 0 6 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 496 0 82 29 1 28 29 0 8 0 art_table 32 497 0 82 4 0 4 4 0 8 0 art_node 16 138 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 83 0 43 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 189 0 179 1 0 1 1 0 8 0 shmpl 112 32 0 9 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3717 0 2281 91 0 91 91 0 8 0 ffsino 272 3717 0 2281 97 0 97 97 0 8 0 nchpl 144 6291 0 4612 63 0 63 63 0 8 0 uvmvnodes 80 4428 0 0 91 0 91 91 0 8 0 vnodes 224 4428 0 0 261 0 261 261 0 8 0 namei 1024 19675 0 19675 3 2 1 2 0 8 1 percpumem 16 59 0 19 1 0 1 1 0 8 0 vcpupl 2048 3 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 11 0 4 2 1 1 1 0 8 0 kstatmem 264 64 0 38 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 18156 0 18156 11 10 1 8 0 8 1 plimitpl 152 292 0 276 1 0 1 1 0 8 0 sigapl 424 2285 0 2218 9 1 8 8 0 8 0 futexpl 64 15801 0 15798 1 0 1 1 0 8 0 knotepl 120 286 0 0 7 0 7 7 0 8 0 kqueuepl 224 278 0 267 6 5 1 4 0 8 0 pipepl 336 246 0 218 6 3 3 6 0 8 0 fdescpl 496 2247 0 2220 5 1 4 5 0 8 0 filepl 152 12608 0 12363 24 12 12 15 0 8 2 lockfpl 104 441 0 439 2 1 1 2 0 8 0 lockfspl 48 136 0 134 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 1158 0 1146 1 0 1 1 0 8 0 zombiepl 144 2221 0 2218 1 0 1 1 0 8 0 processpl 1064 2285 0 2218 5 0 5 5 0 8 0 procpl 672 5795 0 5714 11 3 8 9 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 480 4836 0 4807 57 44 13 21 0 8 8 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 16 0 0 2 0 2 2 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 331 0 0 41 0 41 41 0 8 0 mtagpl 96 203 0 0 5 0 5 5 0 8 0 mbufpl 256 578 0 0 33 0 33 33 0 8 0 bufpl 288 5989 0 209 413 0 413 413 0 8 0 anonpl 24 396233 0 377913 125 10 115 116 0 186 2 amapchunkpl 152 36681 0 35924 42 8 34 40 0 158 0 amappl16 200 4468 0 3927 30 1 29 30 0 8 0 amappl15 192 241 0 239 1 0 1 1 0 8 0 amappl14 184 505 0 499 1 0 1 1 0 8 0 amappl13 176 81 0 80 1 0 1 1 0 8 0 amappl12 168 220 0 218 1 0 1 1 0 8 0 amappl11 160 307 0 287 1 0 1 1 0 8 0 amappl10 152 297 0 288 1 0 1 1 0 8 0 amappl9 144 718 0 713 1 0 1 1 0 8 0 amappl8 136 827 0 775 2 0 2 2 0 8 0 amappl7 128 337 0 325 1 0 1 1 0 8 0 amappl6 120 430 0 412 2 1 1 2 0 8 0 amappl5 112 2192 0 2174 1 0 1 1 0 8 0 amappl4 104 1058 0 1036 1 0 1 1 0 8 0 amappl3 96 6335 0 6288 2 0 2 2 0 8 0 amappl2 88 2567 0 2509 3 1 2 3 0 8 0 amappl1 80 55380 0 54751 20 4 16 20 0 8 0 amappl 88 12651 0 12485 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 34 0 9 1 0 1 1 0 8 0 uaddrrnd 24 2250 0 2220 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2250 0 2220 1 0 1 1 0 8 0 vmmpekpl 168 19547 0 19503 3 0 3 3 0 8 0 vmmpepl 168 216400 0 213992 143 22 121 136 0 357 4 vmsppl 368 2249 0 2220 5 1 4 4 0 8 0 rwobjpl 56 57619 0 51618 85 0 85 85 0 8 0 pdppl 4096 4507 0 4443 151 79 72 81 0 8 8 pvpl 32 870106 0 848240 255 68 187 243 0 265 2 pmappl 248 2249 0 2220 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 912 0 109 23 0 23 23 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 __mp_lock(ffffffff82b701d0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b701d0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800024744a40) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800024744a40) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffc0cf0, 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 __mp_lock(ffffffff82b701d0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b701d0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800024744a40) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800024744a40) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 intr_user_exit() at intr_user_exit+0x3c end of kernel end trace frame: 0x7f7ffffc0cf0, 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(ffff8000ffff5a48,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff5a48,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff5a48,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(85092d80020,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff5a48,ffff800024bac820,ffff800024bac880) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024bac8f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024bac8f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8501b3773c0, 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(ffff8000ffff5a48,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000ffff5a48,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024bac690,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000ffff5a48,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(85092d80020,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000ffff5a48,ffff800024bac820,ffff800024bac880) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024bac8f0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024bac8f0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8501b3773c0, count: -12