panic: mutex 0xfffffd806bdf8bb8 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 410770 87629 32767 0x10 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd806bdf8bb8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806bdf8ad0,fffffd806bdf8bb8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806bdf8aa0,fffffd806c20b200,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806bdf8aa0,ffff8000347944a0,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806bdf8aa0,ffff8000347944a0,21000,3,7,5002,d94e9650b05e230,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800035db76f8,ffff800034794610,ffff800034794560) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff800034794610) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800034794610) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7624813d74c0, count: 5 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: mutex 0xfffffd806bdf8bb8 not held in mtx_leave ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd806bdf8bb8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806bdf8ad0,fffffd806bdf8bb8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806bdf8aa0,fffffd806c20b200,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806bdf8aa0,ffff8000347944a0,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806bdf8aa0,ffff8000347944a0,21000,3,7,5002,d94e9650b05e230,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800035db76f8,ffff800034794610,ffff800034794560) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff800034794610) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800034794610) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7624813d74c0, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800034794080 rbx 0xffffffff834aedbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff800035db76f8 rax 0xffffffff834adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xeb143aa704ab943 r11 0x1f379a532d0a1773 r12 0xffffffff834aebc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800034794070 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=320138 pid=87629 tcnt=3 stat=sleep flags process=10 proc=20 runpri=50, usrpri=50, slppri=4, nice=20 wchan=0xfffffd806bdf8ad0, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff8000ffff42a8,0xffff800035db71f8 process=0xffff8000ffff9230 user=0xffff80003478f000, vmspace=0xfffffd806bdf8aa0 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=0, intr=1 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64797 483443 91479 32767 2 0x10 syz-executor 23253 394758 35861 32767 2 0x10 syz-executor *87629 320138 98836 32767 3 0x30 vmmapbsy syz-executor 87629 410770 98836 32767 7 0x4000010 syz-executor 87629 91308 98836 32767 2 0x4000010 syz-executor 49940 360385 98813 0 3 0x82 netio sshd-session 35676 34900 62883 32767 3 0x90 nanoslp syz-executor 35676 501047 62883 32767 3 0x4000090 ttyout syz-executor 35676 289537 62883 32767 3 0x4000090 fsleep syz-executor 35861 112269 63941 32767 3 0x90 nanoslp syz-executor 63941 284586 86598 0 3 0x82 wait syz-executor 88031 253153 84347 32767 3 0x90 wait syz-executor 84347 414219 86598 0 3 0x82 wait syz-executor 17204 351712 0 0 3 0x14200 bored sosplice 98836 221436 22294 32767 3 0x90 nanoslp syz-executor 62883 506113 31410 32767 3 0x90 nanoslp syz-executor 20365 368169 35241 32767 3 0x90 nanoslp syz-executor 91479 290535 78214 32767 3 0x90 nanoslp syz-executor 67789 264406 96167 32767 3 0x10 biowait syz-executor 75950 161734 6569 32767 2 0x10 syz-executor 78214 398813 86598 0 3 0x82 wait syz-executor 35241 442192 86598 0 3 0x82 wait syz-executor 96167 362843 86598 0 3 0x82 wait syz-executor 22294 108324 86598 0 3 0x82 wait syz-executor 6569 286125 86598 0 3 0x82 wait syz-executor 31410 360833 86598 0 3 0x82 wait syz-executor 86598 245575 19751 0 2 0x2 syz-executor 19751 346782 64882 0 3 0x10008a sigsusp ksh 64882 413877 60784 0 3 0x98 kqread sshd-session 60784 214332 98813 0 3 0x92 kqread sshd-session 32405 521186 1 0 3 0x100083 ttyin getty 98813 310686 1 0 3 0x88 kqread sshd 35423 468200 14798 73 3 0x1100090 kqread syslogd 14798 375826 1 0 3 0x100082 sbwait syslogd 34954 211924 1 0 3 0x100080 kqread resolvd 35654 24977 12933 77 3 0x100092 kqread dhcpleased 61427 472637 12933 77 3 0x100092 kqread dhcpleased 12933 478044 1 0 3 0x80 kqread dhcpleased 91323 213327 0 0 3 0x14200 bored smr 25824 131908 0 0 2 0x14200 zerothread 12019 319725 0 0 3 0x14200 aiodoned aiodoned 57440 81008 0 0 3 0x14200 syncer update 81002 292140 0 0 3 0x14200 cleaner cleaner 19321 448242 0 0 3 0x14200 reaper reaper 53292 409929 0 0 3 0x14200 pgdaemon pagedaemon 21652 60556 0 0 3 0x14200 bored viomb 11244 496532 0 0 3 0x40014200 acpi0 acpi0 3636 453626 0 0 3 0x40014200 idle1 93580 111491 0 0 3 0x14200 bored softnet3 82823 177685 0 0 3 0x14200 bored softnet2 61372 258947 0 0 3 0x14200 bored softnet1 71311 208602 0 0 3 0x14200 bored softnet0 75772 51721 0 0 3 0x14200 bored systqmp 76289 264701 0 0 3 0x14200 bored systq 86144 248013 0 0 3 0x14200 tmoslp softclockmp 98750 146308 0 0 3 0x40014200 tmoslp softclock 3946 71215 0 0 3 0x40014200 idle0 1 41673 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &map->flags_lock r = 0 (0xfffffd806bdf8bf8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 vm_map_lock_ln+0x6b sys/uvm/uvm_map.c:5244 #4 uvm_mapanon+0x292 #5 uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 #6 sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 #7 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 Process 87629 (syz-executor) thread 0xffff800035db7980 (410770) exclusive rwlock vmmaplk r = 0 (0xfffffd806bdf8b98) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0x142 sys/uvm/uvm_map.c:5257 #3 uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 #4 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #5 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #5 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835a2200) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 __mp_acquire_count+0x58 #2 mi_switch+0x4b7 sys/kern/sched_bsd.c:441 #3 sleep_finish+0x21e sys/kern/kern_synch.c:416 #4 rw_enter+0x348 sys/kern/kern_rwlock.c:285 #5 vm_map_lock_ln+0x142 sys/uvm/uvm_map.c:5257 #6 uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 #7 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 67789 (syz-executor) thread 0xffff8000ffff6cc0 (264406) exclusive rrwlock inode r = 0 (0xfffffd807522ec50) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:673 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8069cbdf80) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:673 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10186 11047K 11059K 166960K 11270 0 pcb 17 12K 12K 166960K 17 0 rtable 240 6K 7K 166960K 441 0 pf 31 16K 16K 166960K 35 0 ifaddr 42 7K 7K 166960K 52 0 ifgroup 50 2K 2K 166960K 58 0 sysctl 0 0K 1K 166960K 1 0 counters 64 36K 36K 166960K 68 0 ioctlops 0 0K 2K 166960K 34 0 iov 0 0K 14K 166960K 95 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 1465 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 24 89K 125K 166960K 492 0 sigio 0 0K 0K 166960K 5 0 proc 58 79K 127K 166960K 557 0 subproc 104 6K 6K 166960K 130 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 77 0 in_multi 99 7K 7K 166960K 141 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 405 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 258 76K 79K 166960K 5999 0 UVM aobj 76 5K 5K 166960K 78 0 pinsyscall 47 94K 112K 166960K 1567 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 21 0 NDP 11 0K 2K 166960K 33 0 temp 55 6819K 6883K 166960K 9244 0 kqueue 13 20K 26K 166960K 96 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 78 0 75 1 0 1 1 0 8 0 rtentry 112 140 0 27 4 0 4 4 0 8 0 unpcb 144 447 0 430 4 0 4 4 0 8 3 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 245 0 238 5 0 5 5 0 8 3 arp 120 23 0 4 1 0 1 1 0 8 0 ipq 40 3 0 2 1 0 1 1 0 8 0 ipqe 40 90 0 89 1 0 1 1 0 8 0 inpcb 336 666 0 653 7 0 7 7 0 8 5 nd6 136 36 0 10 2 0 2 2 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 572 0 103 31 0 31 31 0 8 1 art_table 32 573 0 103 4 0 4 4 0 8 0 art_node 16 139 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 5 1 0 1 1 0 8 0 semapl 112 10 0 1 1 0 1 1 0 8 0 shmpl 112 75 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2018 0 505 95 0 95 95 0 8 0 ffsino 272 2018 0 505 102 0 102 102 0 8 1 nchpl 144 2659 0 978 63 0 63 63 0 8 0 uvmvnodes 80 2157 0 0 45 0 45 45 0 8 0 vnodes 216 2157 0 0 120 0 120 120 0 8 0 namei 1024 8781 0 8781 2 0 2 2 0 8 2 percpumem 16 48 0 2 1 0 1 1 0 8 0 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scxspl 216 7756 0 7755 4 1 3 3 1 8 2 plimitpl 152 87 0 62 2 0 2 2 0 8 0 sigapl 424 768 0 712 8 0 8 8 0 8 0 futexpl 64 4709 0 4708 1 0 1 1 0 8 0 knotepl 120 314 0 0 10 0 10 10 0 8 0 kqueuepl 216 116 0 107 1 0 1 1 0 8 0 pipepl 320 140 0 112 3 0 3 3 0 8 0 fdescpl 496 749 0 712 7 1 6 6 0 8 0 filepl 152 4160 0 3907 17 0 17 17 0 8 4 lockfpl 104 108 0 105 1 0 1 1 0 8 0 lockfspl 48 35 0 32 1 0 1 1 0 8 0 sessionpl 144 29 0 12 1 0 1 1 0 8 0 pgrppl 48 48 0 23 1 0 1 1 0 8 0 ucredpl 104 651 0 632 1 0 1 1 0 8 0 zombiepl 144 714 0 712 1 0 1 1 0 8 0 processpl 1160 768 0 712 5 0 5 5 0 8 0 procpl 648 1315 0 1255 7 0 7 7 0 8 0 sosppl 168 8 0 8 1 0 1 1 0 8 1 sockpl 664 1194 0 1163 15 4 11 15 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 148 0 0 19 0 19 19 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 33 0 0 5 0 5 5 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 350 0 0 22 0 22 22 0 8 0 bufpl 280 2920 0 95 202 0 202 202 0 8 0 anonpl 24 185311 0 179942 58 0 58 58 0 185 15 amapchunkpl 152 19850 0 18981 38 0 38 38 0 158 4 amappl16 200 4960 0 4905 16 0 16 16 0 8 7 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 124 0 113 1 0 1 1 0 8 0 amappl13 176 16 0 15 1 0 1 1 0 8 0 amappl12 168 1386 0 1351 2 0 2 2 0 8 0 amappl11 160 63 0 53 1 0 1 1 0 8 0 amappl10 152 60 0 60 1 1 0 1 0 8 0 amappl9 144 159 0 159 1 1 0 1 0 8 0 amappl8 136 31 0 29 1 0 1 1 0 8 0 amappl7 128 125 0 114 1 0 1 1 0 8 0 amappl6 120 178 0 177 1 0 1 1 0 8 0 amappl5 112 144 0 134 1 0 1 1 0 8 0 amappl4 104 301 0 285 1 0 1 1 0 8 0 amappl3 96 3949 0 3827 4 0 4 4 0 8 0 amappl2 88 742 0 675 2 0 2 2 0 8 0 amappl1 80 9863 0 9242 14 1 13 13 0 8 0 amappl 88 5591 0 5394 6 0 6 6 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 77 0 2 2 0 2 2 0 8 0 uaddrrnd 24 749 0 712 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 749 0 712 1 0 1 1 0 8 0 vmmpekpl 168 7531 0 7481 3 0 3 3 0 8 0 vmmpepl 168 56086 0 53980 103 0 103 103 0 357 4 vmsppl 448 748 0 712 5 0 5 5 0 8 0 rwobjpl 56 22441 0 19230 46 0 46 46 0 8 0 pdppl 4096 1505 0 1424 113 28 85 97 0 8 4 pvpl 32 17485 0 0 142 0 142 142 0 265 0 pmappl 248 748 0 712 4 1 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 416 0 30 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd806bdf8bb8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806bdf8ad0,fffffd806bdf8bb8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806bdf8aa0,fffffd806c20b200,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806bdf8aa0,ffff8000347944a0,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806bdf8aa0,ffff8000347944a0,21000,3,7,5002,d94e9650b05e230,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800035db76f8,ffff800034794610,ffff800034794560) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff800034794610) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800034794610) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7624813d74c0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 mtx_enter(fffffd806bdf8be8) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_lock_ln(fffffd806bdf8aa0,5,0) at vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 uvm_map_pageable_wire(fffffd806bdf8aa0,fffffd806bdd8840,0,ffff800035db7980,ffffffff822a59e0,0) at uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 sys_mlockall(ffff800035db7980,ffff80002dd70cc0,ffff80002dd70c10) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff80002dd70cc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002dd70cc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcab2c184310, count: 6 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 mtx_enter(fffffd806bdf8be8) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_lock_ln(fffffd806bdf8aa0,5,0) at vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 uvm_map_pageable_wire(fffffd806bdf8aa0,fffffd806bdd8840,0,ffff800035db7980,ffffffff822a59e0,0) at uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 sys_mlockall(ffff800035db7980,ffff80002dd70cc0,ffff80002dd70c10) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff80002dd70cc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002dd70cc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcab2c184310, count: -9