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 *259281 54362 0 0x1800 0x4080080 0 syz-executor.1 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(ffff80002ca3c2b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002ca3c2b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ae26650,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ae26650,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002ca3c2b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(daaeb03610,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002ca3c2b0,ffff80002ae267e0,ffff80002ae26840) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ae268b0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ae268b0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb0a9944b0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 ddb{0}> 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(ffff80002ca3c2b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002ca3c2b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ae26650,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ae26650,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002ca3c2b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(daaeb03610,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002ca3c2b0,ffff80002ae267e0,ffff80002ae26840) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ae268b0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ae268b0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb0a9944b0, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002ae26410 rbx 0xffffffff8297fbb7 cpu_info_full_primary+0x2bb7 rdx 0 rcx 0 rax 0xffff80002ca3c2b0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x615dd7ead6c7588a r11 0xc8180847b9e43667 r12 0xffffffff8297f9b8 cpu_info_full_primary+0x29b8 r13 0 r14 0 r15 0x1 rip 0xffffffff816ef6f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002ae26400 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=259281 stat=onproc flags process=1800 proc=4080080 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002ca3cd30,0xffffffff82a88160 process=0xffff800027bb50b8 user=0xffff80002ae21000, vmspace=0xfffffd80665a4748 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54362 251483 44863 0 2 0x3800 syz-executor.1 *54362 259281 44863 0 7 0x4081880 syz-executor.1 44863 184977 56996 0 3 0x82 nanoslp syz-executor.1 76189 359258 56996 0 3 0x82 piperd syz-executor.5 2220 167822 56996 0 3 0x82 piperd syz-executor.4 98197 130408 0 0 3 0x14200 bored sosplice 70706 193398 56996 0 3 0x82 piperd syz-executor.7 98277 499512 56996 0 3 0x82 piperd syz-executor.6 91261 186784 0 0 3 0x14280 nfsidl nfsio 68025 76944 0 0 3 0x14280 nfsidl nfsio 34812 36449 0 0 3 0x14280 nfsidl nfsio 49662 50100 0 0 3 0x14280 nfsidl nfsio 33777 226188 0 0 3 0x14280 nfsidl nfsio 43281 354100 0 0 3 0x14280 nfsidl nfsio 67180 16372 0 0 3 0x14280 nfsidl nfsio 37741 455202 0 0 3 0x14280 nfsidl nfsio 53031 277910 0 0 3 0x14280 nfsidl nfsio 42482 191385 0 0 3 0x14280 nfsidl nfsio 42243 376771 0 0 3 0x14280 nfsidl nfsio 51065 396492 0 0 3 0x14280 nfsidl nfsio 76847 372745 0 0 3 0x14280 nfsidl nfsio 31715 368614 0 0 3 0x14280 nfsidl nfsio 23339 163436 0 0 3 0x14280 nfsidl nfsio 98758 42405 0 0 3 0x14280 nfsidl nfsio 62155 443034 0 0 3 0x14280 nfsidl nfsio 63754 140789 0 0 3 0x14280 nfsidl nfsio 89119 192344 0 0 3 0x14280 nfsidl nfsio 9972 494038 0 0 3 0x14280 nfsidl nfsio 53076 439095 56996 0 3 0x82 piperd syz-executor.3 25579 34645 56996 0 3 0x82 piperd syz-executor.2 13541 465741 56996 0 3 0x82 piperd syz-executor.0 56996 486435 13237 0 3 0x82 thrsleep syz-fuzzer 56996 141088 13237 0 3 0x4000082 thrsleep syz-fuzzer 56996 55549 13237 0 3 0x4000082 kqread syz-fuzzer 56996 223326 13237 0 3 0x4000082 thrsleep syz-fuzzer 56996 383313 13237 0 3 0x4000082 thrsleep syz-fuzzer 56996 231765 13237 0 3 0x4000082 thrsleep syz-fuzzer 56996 49627 13237 0 3 0x4000082 thrsleep syz-fuzzer 56996 515901 13237 0 3 0x4000082 thrsleep syz-fuzzer 13237 38427 21852 0 3 0x10008a sigsusp ksh 21852 489784 75638 0 3 0x9a kqread sshd 13939 347668 1 0 3 0x100083 ttyin getty 75638 241686 1 0 3 0x88 kqread sshd 8906 223317 69450 74 3 0x1100092 bpf pflogd 69450 246524 1 0 3 0x80 netio pflogd 73411 40575 33377 73 3 0x1100090 kqread syslogd 33377 267114 1 0 3 0x100082 netio syslogd 35353 439939 1 0 3 0x100080 kqread resolvd 2779 238485 9454 77 3 0x100092 kqread dhcpleased 36231 422270 9454 77 3 0x100092 kqread dhcpleased 9454 284045 1 0 3 0x80 kqread dhcpleased 37819 28368 0 0 3 0x14200 bored smr 53520 139537 0 0 3 0x14200 pgzero zerothread 24084 145688 0 0 3 0x14200 aiodoned aiodoned 98012 409817 0 0 3 0x14200 syncer update 80563 473346 0 0 3 0x14200 cleaner cleaner 75276 498486 0 0 3 0x14200 reaper reaper 14082 64806 0 0 3 0x14200 pgdaemon pagedaemon 76114 39698 0 0 3 0x14200 bored viomb 49030 383999 0 0 3 0x40014200 acpi0 acpi0 44481 187513 0 0 7 0x40014200 idle1 92254 456761 0 0 3 0x14200 bored softnet 98638 399863 0 0 3 0x14200 bored softnet 70100 73186 0 0 3 0x14200 bored softnet 57569 234981 0 0 3 0x14200 bored softnet 78426 361690 0 0 3 0x14200 bored systqmp 53982 496255 0 0 3 0x14200 bored systq 94067 292335 0 0 3 0x40014200 bored softclock 79764 117318 0 0 3 0x40014200 idle0 1 511835 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: 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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10181 6480K 6997K 78643K 12315 0 pcb 17 15K 17K 78643K 168 0 rtable 191 6K 9K 78643K 964 0 ifaddr 80 16K 19K 78643K 332 0 sysctl 2 0K 0K 78643K 2 0 counters 54 35K 35K 78643K 82 0 ioctlops 0 0K 4K 78643K 1643 0 iov 0 0K 12K 78643K 106 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1302 81K 82K 78643K 1726 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 15 2K 3K 78643K 34 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 77K 78643K 1029 0 sigio 0 0K 0K 78643K 10 0 proc 69 91K 115K 78643K 752 0 subproc 104 6K 6K 78643K 195 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 15 0 in_multi 84 5K 6K 78643K 221 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 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 882 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 219 83K 97K 78643K 7681 0 UVM aobj 18 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 11 0 NDP 11 0K 1K 78643K 62 0 temp 125 4722K 5746K 78643K 12167 0 kqueue 12 18K 24K 78643K 88 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 130 0 127 3 0 3 3 0 8 2 rtentry 112 323 0 236 4 0 4 4 0 8 1 unpcb 136 2337 0 2322 15 6 9 10 0 8 8 syncache 296 12 0 12 4 3 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 94 0 90 4 2 2 2 0 8 1 arp 120 68 0 52 1 0 1 1 0 8 0 inpcb 320 1232 0 1221 25 18 7 24 0 8 6 nd6 48 53 0 34 1 0 1 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1256 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 10 0 7 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 64 0 63 1 0 1 1 0 8 0 pfstitem 24 46 0 21 1 0 1 1 0 8 0 pfstkey 120 46 0 21 1 0 1 1 0 8 0 pfstate 336 46 0 21 4 1 3 3 0 8 0 pfrule 1360 77 0 66 3 1 2 2 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1112 0 728 32 3 29 29 0 8 2 art_table 32 1113 0 728 4 0 4 4 0 8 0 art_node 16 322 0 246 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 27 0 14 1 0 1 1 0 8 0 shmpl 112 15 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2611 0 1164 91 0 91 91 0 8 0 ffsino 272 2611 0 1164 97 0 97 97 0 8 0 nchpl 144 4087 0 2452 63 0 63 63 0 8 0 uvmvnodes 80 2992 0 0 62 0 62 62 0 8 0 vnodes 224 2992 0 0 176 0 176 176 0 8 0 namei 1024 14716 0 14716 2 1 1 2 0 8 1 percpumem 16 53 0 14 1 0 1 1 0 8 0 pfiaddrpl 120 18 0 18 1 1 0 1 0 8 0 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scxspl 216 12382 0 12382 10 9 1 8 0 8 1 plimitpl 152 87 0 71 1 0 1 1 0 8 0 sigapl 424 1339 0 1277 10 2 8 8 0 8 0 futexpl 64 7528 0 7527 1 0 1 1 0 8 0 knotepl 120 243 0 0 8 1 7 7 0 8 0 kqueuepl 224 183 0 175 5 0 5 5 0 8 4 pipepl 336 426 0 398 11 5 6 8 0 8 3 fdescpl 496 1301 0 1277 7 3 4 5 0 8 0 filepl 152 9505 0 9261 29 9 20 24 0 8 8 lockfpl 104 441 0 439 2 0 2 2 0 8 1 lockfspl 48 91 0 89 1 0 1 1 0 8 0 sessionpl 144 31 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 14 1 0 1 1 0 8 0 ucredpl 104 1171 0 1159 1 0 1 1 0 8 0 zombiepl 144 1278 0 1277 1 0 1 1 0 8 0 processpl 1064 1339 0 1277 5 0 5 5 0 8 0 procpl 672 2981 0 2911 10 1 9 9 0 8 1 srpgc 96 16 0 16 2 1 1 1 0 8 1 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 480 3699 0 3670 99 87 12 37 0 8 8 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 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 155 0 0 19 0 19 19 0 8 0 mtagpl 96 124 0 0 4 0 4 4 0 8 0 mbufpl 256 465 0 0 28 0 28 28 0 8 0 bufpl 288 5601 0 142 390 0 390 390 0 8 0 anonpl 24 265166 0 251390 130 12 118 127 0 186 10 amapchunkpl 152 21634 0 21034 41 8 33 40 0 158 0 amappl16 200 4408 0 3908 40 4 36 40 0 8 6 amappl15 192 228 0 226 1 0 1 1 0 8 0 amappl14 184 257 0 250 1 0 1 1 0 8 0 amappl13 176 305 0 301 1 0 1 1 0 8 0 amappl12 168 196 0 192 2 1 1 1 0 8 0 amappl11 160 281 0 258 2 0 2 2 0 8 0 amappl10 152 45 0 38 1 0 1 1 0 8 0 amappl9 144 547 0 542 1 0 1 1 0 8 0 amappl8 136 713 0 657 2 0 2 2 0 8 0 amappl7 128 149 0 139 1 0 1 1 0 8 0 amappl6 120 301 0 280 2 1 1 2 0 8 0 amappl5 112 343 0 331 1 0 1 1 0 8 0 amappl4 104 1473 0 1446 2 1 1 2 0 8 0 amappl3 96 3468 0 3430 2 0 2 2 0 8 0 amappl2 88 1871 0 1814 3 1 2 3 0 8 0 amappl1 80 32634 0 32074 21 5 16 20 0 8 1 amappl 88 7087 0 6942 5 0 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 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1301 0 1277 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1301 0 1277 1 0 1 1 0 8 0 vmmpekpl 168 15209 0 15146 4 0 4 4 0 8 0 vmmpepl 168 132535 0 130446 147 25 122 136 0 357 14 vmsppl 368 1300 0 1277 5 2 3 4 0 8 0 rwobjpl 56 37042 0 32586 67 3 64 64 0 8 0 pdppl 4096 2609 0 2554 152 87 65 75 0 8 10 pvpl 32 618037 0 600249 242 43 199 242 0 265 16 pmappl 248 1300 0 1277 3 1 2 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 851 0 105 22 0 22 22 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> 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(ffff80002ca3c2b0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002ca3c2b0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002ae26650,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002ae26650,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002ca3c2b0,ffffffff829990c0,120,ffffffff82599d73,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(daaeb03610,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002ca3c2b0,ffff80002ae267e0,ffff80002ae26840) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002ae268b0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002ae268b0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb0a9944b0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) 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 __mp_acquire_count(ffffffff82a870c0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d4 sys/kern/sched_bsd.c:419 sched_idle(ffff800020dd8ff0) at sched_idle+0x1a6 sys/kern/kern_sched.c:164 end trace frame: 0x0, count: 8 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) 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 __mp_acquire_count(ffffffff82a870c0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d4 sys/kern/sched_bsd.c:419 sched_idle(ffff800020dd8ff0) at sched_idle+0x1a6 sys/kern/kern_sched.c:164 end trace frame: 0x0, count: -7