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 *110474 99539 0 0x1800 0x4080080 1 syz-executor.3 370074 58005 0 0 0 0 syz-executor.5 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(ffff8000fffed7a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed7a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed7a0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(318b9e18940,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed7a0,ffff80002ca40860,ffff80002ca408c0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca40930) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca40930) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x318638493e0, 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(ffff8000fffed7a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed7a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed7a0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(318b9e18940,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed7a0,ffff80002ca40860,ffff80002ca408c0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca40930) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca40930) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x318638493e0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002ca40490 rbx 0xffff800020dd9bb7 rdx 0xffff800000be6940 rcx 0 rax 0xffff8000fffed7a0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa6a404bee659fdbc r11 0xf12f01f6c01cc75f r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff816ef6f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002ca40480 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=110474 stat=onproc flags process=1800 proc=4080080 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffeda40,0xffff8000fffefcf8 process=0xffff8000fffe9d30 user=0xffff80002ca3b000, vmspace=0xfffffd800874e730 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99539 337152 11115 0 2 0x3800 syz-executor.3 *99539 110474 11115 0 7 0x4081880 syz-executor.3 1609 161821 27847 0 2 0 syz-executor.1 58005 370074 666 0 7 0 syz-executor.5 58005 87182 666 0 3 0x4000080 fsleep syz-executor.5 58005 176011 666 0 2 0x4000000 syz-executor.5 47573 63217 69047 0 3 0x80 nanoslp syz-executor.0 47573 254054 69047 0 2 0x4000000 syz-executor.0 47573 261908 69047 0 3 0x4000080 fsleep syz-executor.0 55736 209626 99989 0 2 0 syz-executor.6 55736 114474 99989 0 3 0x4000080 fsleep syz-executor.6 55736 7742 99989 0 3 0x4000080 fsleep syz-executor.6 55736 351988 99989 0 2 0x4000000 syz-executor.6 2288 365000 8911 0 2 0 syz-executor.2 2288 45998 8911 0 2 0x4000000 syz-executor.2 99989 128247 85274 0 3 0x82 nanoslp syz-executor.6 27847 378991 85274 0 3 0x82 nanoslp syz-executor.1 89760 109384 0 0 3 0x14200 bored sosplice 18079 337088 85274 0 2 0x2 syz-executor.7 666 440074 85274 0 3 0x82 nanoslp syz-executor.5 8911 308870 85274 0 3 0x82 nanoslp syz-executor.2 79056 512393 85274 0 3 0x2 biowait syz-executor.4 11115 521562 85274 0 3 0x82 nanoslp syz-executor.3 69047 396661 85274 0 3 0x82 nanoslp syz-executor.0 85274 28403 49341 0 3 0x82 kqread syz-fuzzer 85274 474402 49341 0 3 0x4000082 nanoslp syz-fuzzer 85274 110287 49341 0 3 0x4000082 thrsleep syz-fuzzer 85274 315574 49341 0 3 0x4000082 thrsleep syz-fuzzer 85274 215428 49341 0 3 0x4000082 nanoslp syz-fuzzer 85274 88083 49341 0 3 0x4000082 thrsleep syz-fuzzer 85274 197326 49341 0 3 0x4000082 thrsleep syz-fuzzer 85274 519200 49341 0 3 0x4000082 thrsleep syz-fuzzer 85274 429032 49341 0 3 0x4000082 thrsleep syz-fuzzer 49341 7298 78483 0 3 0x10008a sigsusp ksh 78483 246370 19543 0 3 0x9a kqread sshd 86478 295557 1 0 3 0x100083 ttyin getty 19543 336581 1 0 3 0x88 kqread sshd 65452 272862 94033 74 3 0x1100092 bpf pflogd 94033 171774 1 0 3 0x80 netio pflogd 11948 309754 14226 73 3 0x1100010 ffs_fsync syslogd 14226 448957 1 0 3 0x100082 netio syslogd 31998 177108 1 0 3 0x100080 kqread resolvd 51353 363983 73092 77 3 0x100092 kqread dhcpleased 36709 334933 73092 77 3 0x100092 kqread dhcpleased 73092 197479 1 0 3 0x80 kqread dhcpleased 8268 285805 0 0 3 0x14200 bored smr 5935 378808 0 0 2 0x14200 zerothread 81807 436453 0 0 3 0x14200 aiodoned aiodoned 88322 319123 0 0 3 0x14200 syncer update 45276 500540 0 0 3 0x14200 cleaner cleaner 77995 328585 0 0 3 0x14200 reaper reaper 33624 392425 0 0 3 0x14200 pgdaemon pagedaemon 48499 267173 0 0 3 0x14200 bored viomb 65615 447466 0 0 3 0x40014200 acpi0 acpi0 14798 521612 0 0 3 0x40014200 idle1 11906 504220 0 0 3 0x14200 bored softnet 31942 101177 0 0 3 0x14200 bored softnet 89516 50961 0 0 3 0x14200 bored softnet 51777 361263 0 0 3 0x14200 bored softnet 63041 59181 0 0 3 0x14200 bored systqmp 72006 359629 0 0 3 0x14200 bored systq 96316 292699 0 0 3 0x40014200 bored softclock 48560 385028 0 0 3 0x40014200 idle0 1 17183 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 79056 (syz-executor.4) thread 0xffff8000fffeefc8 (512393) exclusive rrwlock inode r = 0 (0xfffffd8065f72f78) #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 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #11 namei+0x36a sys/kern/vfs_lookup.c:245 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1852 #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 (0xfffffd80667811b0) #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 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1852 #8 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 11948 (syslogd) thread 0xffff8000ffff7cf0 (309754) exclusive rrwlock inode r = 0 (0xfffffd806e7c92c0) #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 sys_fsync+0xf5 sys/kern/vfs_syscalls.c:2939 #6 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10189 6604K 6870K 78643K 11924 0 pcb 13 8K 8K 78643K 34 0 rtable 233 7K 7K 78643K 595 0 ifaddr 87 18K 18K 78643K 125 0 counters 56 35K 35K 78643K 68 0 ioctlops 0 0K 4K 78643K 1514 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1336 83K 84K 78643K 1488 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 8 0K 0K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 89K 78643K 446 0 proc 69 91K 128K 78643K 580 0 subproc 104 6K 6K 78643K 130 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 6 0 in_multi 99 6K 6K 78643K 131 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 743 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 227 79K 79K 78643K 4187 0 UVM aobj 8 2K 4K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 10 0 NDP 13 0K 2K 78643K 39 0 temp 94 4711K 4837K 78643K 5920 0 kqueue 12 18K 22K 78643K 43 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 319 0 316 4 3 1 4 0 8 0 rtentry 112 144 0 36 4 0 4 4 0 8 0 unpcb 136 115 0 100 1 0 1 1 0 8 0 syncache 296 7 0 7 2 2 0 1 0 8 0 tcpqe 32 216 0 216 2 2 0 1 0 8 0 tcpcb 736 48 0 39 2 0 2 2 0 8 1 arp 120 25 0 7 1 0 1 1 0 8 0 inpcb 320 194 0 185 2 1 1 2 0 8 0 nd6 48 32 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1256 4 0 4 1 1 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 3 0 1 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 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfstitem 24 38 0 17 1 0 1 1 0 8 0 pfstkey 120 38 0 17 1 0 1 1 0 8 0 pfstate 336 38 0 17 3 0 3 3 0 8 0 pfrule 1360 26 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 572 0 131 30 1 29 29 0 8 0 art_table 32 573 0 131 4 0 4 4 0 8 0 art_node 16 143 0 44 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 8 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1819 0 381 91 0 91 91 0 8 0 ffsino 272 1819 0 381 97 0 97 97 0 8 0 nchpl 144 2475 0 831 63 0 63 63 0 8 0 uvmvnodes 80 2128 0 0 44 0 44 44 0 8 0 vnodes 224 2128 0 0 126 0 126 126 0 8 0 namei 1024 8709 0 8709 3 2 1 2 0 8 1 percpumem 16 46 0 6 1 0 1 1 0 8 0 kstatmem 264 36 0 12 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 7855 0 7853 9 8 1 8 0 8 0 plimitpl 152 38 0 21 1 0 1 1 0 8 0 sigapl 424 749 0 702 8 2 6 7 0 8 0 futexpl 64 2833 0 2828 1 0 1 1 0 8 0 knotepl 120 238 0 0 7 0 7 7 0 8 0 kqueuepl 224 49 0 41 1 0 1 1 0 8 0 pipepl 336 174 0 146 3 0 3 3 0 8 0 fdescpl 496 731 0 702 6 1 5 5 0 8 0 filepl 152 3406 0 3164 17 7 10 17 0 8 0 lockfpl 104 66 0 64 1 0 1 1 0 8 0 lockfspl 48 33 0 31 1 0 1 1 0 8 0 sessionpl 144 26 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 9 1 0 1 1 0 8 0 ucredpl 104 140 0 128 1 0 1 1 0 8 0 zombiepl 144 702 0 702 1 0 1 1 0 8 1 processpl 1064 749 0 702 4 0 4 4 0 8 0 procpl 672 1342 0 1278 8 2 6 7 0 8 0 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 8 0 8 1 1 0 1 0 8 0 sockpl 480 632 0 605 17 12 5 16 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 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 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 169 0 0 22 0 22 22 0 8 0 mtagpl 96 103 0 0 3 0 3 3 0 8 0 mbufpl 256 1942 0 0 121 0 121 121 0 8 0 bufpl 288 4606 0 145 319 0 319 319 0 8 0 anonpl 24 133469 0 113904 121 3 118 118 0 186 0 amapchunkpl 152 11058 0 10097 43 3 40 40 0 158 1 amappl16 200 1352 0 833 28 0 28 28 0 8 0 amappl15 192 22 0 20 1 0 1 1 0 8 0 amappl14 184 31 0 28 1 0 1 1 0 8 0 amappl13 176 95 0 92 1 0 1 1 0 8 0 amappl12 168 40 0 36 1 0 1 1 0 8 0 amappl11 160 137 0 113 2 0 2 2 0 8 0 amappl10 152 145 0 135 1 0 1 1 0 8 0 amappl9 144 585 0 579 1 0 1 1 0 8 0 amappl8 136 611 0 574 2 0 2 2 0 8 0 amappl7 128 158 0 145 1 0 1 1 0 8 0 amappl6 120 309 0 289 2 1 1 2 0 8 0 amappl5 112 475 0 456 1 0 1 1 0 8 0 amappl4 104 964 0 933 2 1 1 2 0 8 0 amappl3 96 1441 0 1386 2 0 2 2 0 8 0 amappl2 88 986 0 929 3 1 2 3 0 8 0 amappl1 80 19141 0 18471 21 6 15 20 0 8 0 amappl 88 3721 0 3555 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 10 0 3 1 0 1 1 0 8 0 uaddrrnd 24 731 0 702 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 731 0 702 1 0 1 1 0 8 0 vmmpekpl 168 10341 0 10301 2 0 2 2 0 8 0 vmmpepl 168 73908 0 71414 134 14 120 127 0 357 6 vmsppl 368 730 0 702 4 1 3 4 0 8 0 rwobjpl 56 20955 0 17273 53 1 52 52 0 8 0 pdppl 4096 1469 0 1404 128 59 69 81 0 8 4 pvpl 32 399038 0 371959 255 28 227 245 0 265 7 pmappl 248 730 0 702 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 837 0 67 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 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800029606ad0) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800029606ad0) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffebad0, count: 8 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 preempt() at preempt+0x36 sys/kern/sched_bsd.c:307 ast(ffff800029606ad0) at ast+0x108 mi_ast sys/sys/syscall_mi.h:184 [inline] ast(ffff800029606ad0) at ast+0x108 sys/arch/amd64/amd64/trap.c:508 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffebad0, 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(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(ffff8000fffed7a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed7a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed7a0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(318b9e18940,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed7a0,ffff80002ca40860,ffff80002ca408c0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca40930) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca40930) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x318638493e0, 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(ffff8000fffed7a0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000fffed7a0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ca406d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000fffed7a0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(318b9e18940,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000fffed7a0,ffff80002ca40860,ffff80002ca408c0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ca40930) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ca40930) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x318638493e0, count: -12