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 *307865 3237 0 0x1800 0x4080080 1 syz-executor.4 341432 17280 0 0 0x4000000 0K syz-executor.7 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(ffff800021233ce8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021233ce8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021233ce8,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(88a41332140,14,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021233ce8,ffff80002e45e530,ffff80002e45e590) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e45e600) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e45e600) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x88a53223d10, 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(ffff800021233ce8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021233ce8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021233ce8,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(88a41332140,14,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021233ce8,ffff80002e45e530,ffff80002e45e590) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e45e600) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e45e600) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x88a53223d10, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e45e160 rbx 0xffff800020dd9bb7 rdx 0xffff800000bee340 rcx 0 rax 0xffff800021233ce8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6ac64e4d747019f r11 0x24d29d8b30e9a890 r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff816ef6f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e45e150 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.4) pid=307865 stat=onproc flags process=1800 proc=4080080 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff6a90,0xffff800021233a58 process=0xffff8000fffee9a8 user=0xffff80002e459000, vmspace=0xfffffd806aa4e8b0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62462 35448 67295 0 2 0 syz-executor.5 3237 403387 13842 0 2 0x3800 syz-executor.4 * 3237 307865 13842 0 7 0x4081880 syz-executor.4 67778 364688 7063 0 2 0 syz-executor.0 67778 117771 7063 0 2 0x4000000 syz-executor.0 55753 59798 19055 0 2 0 syz-executor.6 55753 394137 19055 0 3 0x4000080 fsleep syz-executor.6 17280 384830 94108 0 2 0 syz-executor.7 17280 341432 94108 0 7 0x4000000 syz-executor.7 35498 302698 56312 0 2 0 syz-executor.3 35498 60780 56312 0 3 0x4000080 fsleep syz-executor.3 22303 289590 21821 0 2 0 syz-executor.1 22303 365162 21821 0 2 0x4000000 syz-executor.1 67605 439355 40696 0 2 0 syz-executor.2 67605 300867 40696 0 3 0x4000080 fsleep syz-executor.2 94108 216501 44977 0 3 0x82 nanoslp syz-executor.7 19055 275758 44977 0 3 0x82 nanoslp syz-executor.6 67295 67207 44977 0 3 0x82 nanoslp syz-executor.5 13842 153382 44977 0 3 0x82 nanoslp syz-executor.4 56312 347536 44977 0 3 0x82 nanoslp syz-executor.3 40696 520681 44977 0 2 0x482 syz-executor.2 21821 1750 44977 0 2 0x482 syz-executor.1 7063 341293 44977 0 3 0x82 nanoslp syz-executor.0 44977 128331 17832 0 3 0x82 thrsleep syz-fuzzer 44977 133698 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 328463 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 72409 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 324054 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 500307 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 162735 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 361676 17832 0 3 0x4000082 kqread syz-fuzzer 44977 342470 17832 0 3 0x4000082 thrsleep syz-fuzzer 44977 199189 17832 0 3 0x4000082 thrsleep syz-fuzzer 17832 263219 61660 0 3 0x10008a sigsusp ksh 61660 46680 14406 0 3 0x9a kqread sshd 15234 402819 1 0 3 0x100083 ttyin getty 14406 46124 1 0 3 0x88 kqread sshd 23881 492233 86841 74 3 0x1100092 bpf pflogd 86841 345842 1 0 3 0x80 netio pflogd 99824 162079 44144 73 3 0x1100090 kqread syslogd 44144 356953 1 0 3 0x100082 netio syslogd 55396 320162 1 0 3 0x100080 kqread resolvd 52663 139237 51396 77 3 0x100092 kqread dhcpleased 63179 95496 51396 77 3 0x100092 kqread dhcpleased 51396 457881 1 0 3 0x80 kqread dhcpleased 22297 130180 0 0 3 0x14200 bored smr 81278 9120 0 0 2 0x14200 zerothread 2641 475773 0 0 3 0x14200 aiodoned aiodoned 27070 210516 0 0 3 0x14200 syncer update 74922 502934 0 0 3 0x14200 cleaner cleaner 79193 11622 0 0 3 0x14200 reaper reaper 78578 261944 0 0 3 0x14200 pgdaemon pagedaemon 33821 496850 0 0 3 0x14200 bored viomb 47968 436876 0 0 3 0x40014200 acpi0 acpi0 45090 501913 0 0 3 0x40014200 idle1 59340 231640 0 0 3 0x14200 bored softnet 32794 421710 0 0 3 0x14200 bored softnet 90516 382480 0 0 3 0x14200 bored softnet 67522 383924 0 0 3 0x14200 bored softnet 78684 329750 0 0 3 0x14200 bored systqmp 10486 219278 0 0 3 0x14200 bored systq 15244 41246 0 0 3 0x40014200 bored softclock 55849 163466 0 0 3 0x40014200 idle0 1 432431 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: shared mutex timeout r = 0 (0xffffffff8292c450) #0 witness_lock+0x44d #1 timeout_run+0xb7 sys/kern/kern_timeout.c:674 #2 softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:725 #3 softclock+0x11a sys/kern/kern_timeout.c:756 #4 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 #5 Xsoftclock+0x1f #6 Xspllower+0x19 #7 mtx_enter_try+0x100 #8 mtx_enter+0x4b sys/kern/kern_lock.c:266 #9 pool_put+0x80 sys/kern/subr_pool.c:799 #10 namei+0xa93 sys/kern/vfs_lookup.c:266 #11 vn_open+0x188 sys/kern/vfs_vnops.c:110 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1131 #13 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive mutex namei r = 0 (0xffffffff82b9fc40) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_put+0x80 sys/kern/subr_pool.c:799 #4 namei+0xa93 sys/kern/vfs_lookup.c:266 #5 vn_open+0x188 sys/kern/vfs_vnops.c:110 #6 doopenat+0x26a sys/kern/vfs_syscalls.c:1131 #7 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 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 17280 (syz-executor.7) thread 0xffff8000ffff6a90 (341432) exclusive rrwlock inode r = 0 (0xfffffd806ec516f8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vget+0x1d3 sys/kern/vfs_subr.c:678 #6 cache_lookup+0x2b4 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1ac sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x188 sys/kern/vfs_vnops.c:110 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1131 #13 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807eb15d58) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vget+0x1d3 sys/kern/vfs_subr.c:678 #6 cache_lookup+0x2b4 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1ac sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x188 sys/kern/vfs_vnops.c:110 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1131 #13 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82b2ed50) #0 witness_lock+0x44d #1 syscall+0x3e8 mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3e8 sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10195 6741K 6998K 78643K 12538 0 pcb 13 8K 8K 78643K 13 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 1487 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1274 80K 80K 78643K 1870 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 992 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 81K 78643K 2284 0 proc 67 91K 128K 78643K 506 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 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 917 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 189 73K 73K 78643K 12293 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 12 0K 1K 78643K 28 0 temp 88 4708K 4772K 78643K 8362 0 kqueue 12 18K 18K 78643K 22 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 33 0 30 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 692 0 677 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 64 0 57 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 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 26 0 14 1 0 1 1 0 8 0 pfstkey 120 26 0 14 1 0 1 1 0 8 0 pfstate 336 26 0 14 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 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 semapl 112 990 0 980 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3790 0 2353 90 0 90 90 0 8 0 ffsino 272 3790 0 2353 96 0 96 96 0 8 0 nchpl 144 8070 0 6384 63 0 63 63 0 8 0 uvmvnodes 80 4330 0 0 89 0 89 89 0 8 0 vnodes 224 4330 0 0 255 0 255 255 0 8 0 namei 1024 22063 0 22062 2 1 1 2 0 8 0 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 18475 0 18475 9 8 1 8 0 8 1 plimitpl 152 33 0 17 1 0 1 1 0 8 0 sigapl 424 2588 0 2540 6 0 6 6 0 8 0 futexpl 64 20334 0 20330 1 0 1 1 0 8 0 knotepl 120 106 0 0 4 0 4 4 0 8 0 kqueuepl 224 110 0 102 1 0 1 1 0 8 0 pipepl 336 129 0 101 3 0 3 3 0 8 0 fdescpl 496 2571 0 2540 5 1 4 5 0 8 0 filepl 152 11125 0 10879 11 1 10 11 0 8 0 lockfpl 104 1272 0 1270 1 0 1 1 0 8 0 lockfspl 48 534 0 532 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 1425 0 1413 1 0 1 1 0 8 0 zombiepl 144 2540 0 2540 1 0 1 1 0 8 1 processpl 1064 2588 0 2540 4 0 4 4 0 8 0 procpl 672 4842 0 4778 7 1 6 7 0 8 0 sockpl 480 789 0 764 4 0 4 4 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 85 0 0 10 0 10 10 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 307 0 0 19 0 19 19 0 8 0 bufpl 288 5804 0 145 405 0 405 405 0 8 0 anonpl 24 387699 0 380760 47 3 44 44 0 186 0 amapchunkpl 152 33844 0 33398 21 2 19 19 0 158 1 amappl16 200 4545 0 4404 8 0 8 8 0 8 0 amappl15 192 277 0 274 1 0 1 1 0 8 0 amappl14 184 585 0 577 1 0 1 1 0 8 0 amappl13 176 352 0 348 1 0 1 1 0 8 0 amappl12 168 16 0 14 1 0 1 1 0 8 0 amappl11 160 86 0 67 1 0 1 1 0 8 0 amappl10 152 566 0 556 1 0 1 1 0 8 0 amappl9 144 497 0 495 1 0 1 1 0 8 0 amappl8 136 1109 0 1069 2 0 2 2 0 8 0 amappl7 128 663 0 648 1 0 1 1 0 8 0 amappl6 120 225 0 209 2 1 1 2 0 8 0 amappl5 112 2511 0 2488 1 0 1 1 0 8 0 amappl4 104 834 0 810 2 1 1 2 0 8 0 amappl3 96 6375 0 6324 2 0 2 2 0 8 0 amappl2 88 3136 0 3073 3 1 2 3 0 8 0 amappl1 80 60475 0 59795 20 5 15 20 0 8 0 amappl 88 11857 0 11722 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2571 0 2540 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2571 0 2540 1 0 1 1 0 8 0 vmmpekpl 168 16251 0 16204 3 0 3 3 0 8 0 vmmpepl 168 235259 0 233024 100 0 100 100 0 357 2 vmsppl 368 2570 0 2540 4 1 3 4 0 8 0 rwobjpl 56 58821 0 53366 78 1 77 77 0 8 0 pdppl 4096 5149 0 5080 114 45 69 77 0 8 0 pvpl 32 899781 0 888291 243 25 218 242 0 265 124 pmappl 248 2570 0 2540 3 1 2 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 791 0 50 22 0 22 22 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 endtsleep(ffff800021265268) at endtsleep+0x2f wakeup_proc sys/kern/kern_synch.c:480 [inline] endtsleep(ffff800021265268) at endtsleep+0x2f sys/kern/kern_synch.c:508 timeout_run(ffff800021265328) at timeout_run+0xcc sys/kern/kern_timeout.c:678 softclock_process_tick_timeout(ffff800021265328,0) at softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:725 softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:756 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f Xspllower() at Xspllower+0x19 mtx_enter_try(ffffffff82b9fc30) at mtx_enter_try+0x100 mtx_enter(ffffffff82b9fc30) at mtx_enter+0x4b sys/kern/kern_lock.c:266 pool_put(ffffffff82b9fc30,ffff800021259000) at pool_put+0x80 sys/kern/subr_pool.c:799 end trace frame: 0xffff80002e457f50, count: 0 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 endtsleep(ffff800021265268) at endtsleep+0x2f wakeup_proc sys/kern/kern_synch.c:480 [inline] endtsleep(ffff800021265268) at endtsleep+0x2f sys/kern/kern_synch.c:508 timeout_run(ffff800021265328) at timeout_run+0xcc sys/kern/kern_timeout.c:678 softclock_process_tick_timeout(ffff800021265328,0) at softclock_process_tick_timeout+0x1ac sys/kern/kern_timeout.c:725 softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:756 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f Xspllower() at Xspllower+0x19 mtx_enter_try(ffffffff82b9fc30) at mtx_enter_try+0x100 mtx_enter(ffffffff82b9fc30) at mtx_enter+0x4b sys/kern/kern_lock.c:266 pool_put(ffffffff82b9fc30,ffff800021259000) at pool_put+0x80 sys/kern/subr_pool.c:799 namei(ffff80002e458138) at namei+0xa93 sys/kern/vfs_lookup.c:266 vn_open(ffff80002e458138,201,0) at vn_open+0x188 sys/kern/vfs_vnops.c:110 doopenat(ffff8000ffff6a90,ffffff9c,20000380,200,0,ffff80002e458320) at doopenat+0x26a sys/kern/vfs_syscalls.c:1131 syscall(ffff80002e458390) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e458390) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xed34920caa0, count: -19 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(ffff800021233ce8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021233ce8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021233ce8,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(88a41332140,14,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021233ce8,ffff80002e45e530,ffff80002e45e590) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e45e600) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e45e600) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x88a53223d10, 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(ffff800021233ce8,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff800021233ce8,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002e45e3a0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff800021233ce8,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(88a41332140,14,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800021233ce8,ffff80002e45e530,ffff80002e45e590) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002e45e600) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e45e600) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x88a53223d10, count: -12