panic: mutex 0xfffffd806c57a2e8 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 29820 69760 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(fffffd806c57a2e8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c57a200,fffffd806c57a2e8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c57a1d0,fffffd806be997f0,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c57a1d0,ffff80002a0ac910,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c57a1d0,ffff80002a0ac910,21000,3,7,5002,de85f820ca21d9c0,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800030e12f68,ffff80002a0aca80,ffff80002a0ac9d0) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aca80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aca80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1e9dd9bb10, 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 0xfffffd806c57a2e8 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(fffffd806c57a2e8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c57a200,fffffd806c57a2e8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c57a1d0,fffffd806be997f0,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c57a1d0,ffff80002a0ac910,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c57a1d0,ffff80002a0ac910,21000,3,7,5002,de85f820ca21d9c0,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800030e12f68,ffff80002a0aca80,ffff80002a0ac9d0) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aca80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aca80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1e9dd9bb10, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0ac4f0 rbx 0xffffffff834aedbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff800030e12f68 rax 0xffffffff834adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x63ea548a15a1ecec r11 0xd7d9510b7ebec055 r12 0xffffffff834aebc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0ac4e0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=283259 pid=69760 tcnt=3 stat=sleep flags process=10 proc=20 runpri=50, usrpri=50, slppri=4, nice=20 wchan=0xfffffd806c57a200, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff8000fffea538,0xffff800030e13998 process=0xffff8000ffff28e0 user=0xffff80002a0a7000, vmspace=0xfffffd806c57a1d0 estcpu=36, cpticks=1, pctcpu=0.0, user=1, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *69760 283259 25809 32767 3 0x30 vmmapbsy syz-executor 69760 29820 25809 32767 7 0x4000010 syz-executor 69760 122695 25809 32767 2 0x4000010 syz-executor 11762 516798 77981 32767 2 0x10 syz-executor 11762 219338 77981 32767 3 0x4000090 fsleep syz-executor 11762 182707 77981 32767 3 0x4000090 kqsel syz-executor 11762 5391 77981 32767 3 0x4000090 fsleep syz-executor 45125 176428 29946 32767 3 0x90 nanoslp syz-executor 45125 466208 29946 32767 3 0x4000090 kqread syz-executor 45125 171690 29946 32767 3 0x4000090 fsleep syz-executor 70734 10653 96774 32767 3 0x90 nanoslp syz-executor 70734 29236 96774 32767 3 0x4000090 sbwait syz-executor 70734 496598 96774 32767 3 0x4000090 fsleep syz-executor 75195 243563 31680 32767 3 0x400090 nanoslp syz-executor 75195 2121 31680 32767 3 0x4400090 sbwait syz-executor 75195 484392 31680 32767 3 0x4400090 sbwait syz-executor 75195 133861 31680 32767 3 0x4400090 fsleep syz-executor 92746 356987 35949 32767 3 0x90 nanoslp syz-executor 92746 10501 35949 32767 3 0x4000090 kqread syz-executor 92746 441549 35949 32767 3 0x4000090 fsleep syz-executor 77981 422812 64597 32767 3 0x90 nanoslp syz-executor 15554 326312 32179 32767 3 0x90 nanoslp syz-executor 15554 443025 32179 32767 3 0x4000090 sbwait syz-executor 15554 266975 32179 32767 3 0x4000090 fsleep syz-executor 64597 170665 61786 0 3 0x82 wait syz-executor 25809 66557 32372 32767 3 0x90 nanoslp syz-executor 32372 388402 61786 0 3 0x82 wait syz-executor 36999 267981 5826 32767 3 0x10 biowait syz-executor 31680 27780 42490 32767 3 0x90 nanoslp syz-executor 32179 52076 23598 32767 3 0x90 nanoslp syz-executor 35949 10048 50735 32767 3 0x90 nanoslp syz-executor 29946 391867 45190 32767 3 0x90 nanoslp syz-executor 5826 250422 61786 0 3 0x82 wait syz-executor 45190 171930 61786 0 3 0x82 wait syz-executor 96774 444789 92493 32767 3 0x90 nanoslp syz-executor 42490 100899 61786 0 3 0x82 wait syz-executor 50735 57659 61786 0 3 0x82 wait syz-executor 23598 506970 61786 0 3 0x82 wait syz-executor 92493 89282 61786 0 3 0x82 wait syz-executor 68289 47270 0 0 3 0x14200 bored sosplice 61786 92671 23168 0 3 0x82 kqread syz-executor 23168 64660 95606 0 3 0x10008a sigsusp ksh 95606 123807 5782 0 3 0x98 kqread sshd-session 5782 312947 67574 0 3 0x92 kqread sshd-session 26291 206832 1 0 3 0x100083 ttyin getty 67574 391265 1 0 3 0x88 kqread sshd 68371 119220 37365 73 3 0x1100090 kqread syslogd 37365 314765 1 0 3 0x100082 sbwait syslogd 64637 376152 1 0 3 0x100080 kqread resolvd 84442 66776 4827 77 3 0x100092 kqread dhcpleased 78330 278553 4827 77 3 0x100092 kqread dhcpleased 4827 425496 1 0 3 0x80 kqread dhcpleased 31749 27937 0 0 3 0x14200 bored smr 45522 148210 0 0 2 0x14200 zerothread 33767 68450 0 0 3 0x14200 aiodoned aiodoned 62359 443194 0 0 3 0x14200 syncer update 64373 169209 0 0 3 0x14200 cleaner cleaner 34440 28944 0 0 3 0x14200 reaper reaper 1671 138340 0 0 3 0x14200 pgdaemon pagedaemon 31834 320060 0 0 3 0x14200 bored viomb 89053 172888 0 0 3 0x40014200 acpi0 acpi0 53778 365939 0 0 3 0x40014200 idle1 34272 60573 0 0 3 0x14200 bored softnet3 4719 510537 0 0 3 0x14200 bored softnet2 773 211042 0 0 3 0x14200 bored softnet1 3016 242057 0 0 3 0x14200 bored softnet0 19814 271731 0 0 3 0x14200 bored systqmp 12071 338404 0 0 3 0x14200 bored systq 59041 63837 0 0 3 0x14200 tmoslp softclockmp 57966 320035 0 0 3 0x40014200 tmoslp softclock 94458 410357 0 0 3 0x40014200 idle0 1 53614 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 (0xfffffd806c57a328) #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 69760 (syz-executor) thread 0xffff800030e13988 (29820) exclusive rwlock vmmaplk r = 0 (0xfffffd806c57a2c8) #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_mlock+0x23d sys/uvm/uvm_mmap.c:837 #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_mlock+0x23d sys/uvm/uvm_mmap.c:837 #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 36999 (syz-executor) thread 0xffff80002df68a68 (267981) exclusive rrwlock inode r = 0 (0xfffffd807c5634e8) #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 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806214bc50) #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 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10208 11050K 11059K 166960K 11608 0 pcb 17 16K 18K 166960K 21 0 rtable 240 6K 7K 166960K 3659 0 pf 31 16K 16K 166960K 248 0 ifaddr 42 8K 8K 166960K 475 0 ifgroup 50 2K 2K 166960K 481 0 sysctl 4 1K 2K 166960K 6 0 counters 64 36K 36K 166960K 278 0 ioctlops 0 0K 2K 166960K 200 0 iov 0 0K 12K 166960K 115 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1464 92K 92K 166960K 4132 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 30 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 57 0 dirhash 18 3K 3K 166960K 84 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 25 93K 157K 166960K 3742 0 sigio 0 0K 0K 166960K 49 0 proc 58 79K 176K 166960K 3657 0 subproc 104 6K 12K 166960K 2184 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 380 0 in_multi 99 7K 7K 166960K 1379 0 ether_multi 1 0K 0K 166960K 17 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 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 2130 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 267 74K 131K 166960K 28563 0 UVM aobj 118 7K 7K 166960K 129 0 pinsyscall 46 92K 130K 166960K 7616 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 256 0 NDP 13 0K 2K 166960K 345 0 temp 75 6824K 6952K 166960K 27321 0 kqueue 15 24K 32K 166960K 389 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 466 0 462 3 1 2 2 0 8 1 rtentry 112 1303 0 1190 8 4 4 4 0 8 0 unpcb 144 2301 0 2272 33 29 4 10 0 8 2 syncache 336 54 0 54 15 14 1 1 0 8 1 tcpqe 32 27 0 27 11 10 1 1 0 8 1 tcpcb 808 1471 0 1453 40 37 3 15 0 8 1 arp 120 232 0 213 1 0 1 1 0 8 0 ipq 40 7 0 6 3 2 1 1 0 8 0 ipqe 40 10 0 9 3 2 1 1 0 8 0 inpcb 336 3624 0 3595 56 45 11 19 0 8 8 nd6 136 366 0 340 1 0 1 1 0 8 0 kcovpl 48 168 0 160 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5287 0 4810 87 56 31 31 0 8 0 art_table 32 5288 0 4810 4 0 4 4 0 8 0 art_node 16 1302 0 1199 1 0 1 1 0 8 0 sysvmsgpl 40 144 0 140 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 55 0 45 1 0 1 1 0 8 0 shmpl 112 126 0 11 4 0 4 4 0 8 0 dirhash 1024 66 0 44 3 0 3 3 0 8 0 dino2pl 256 4944 0 3122 115 1 114 114 0 8 0 ffsino 272 4944 0 3122 123 1 122 122 0 8 0 nchpl 144 7658 0 5752 71 0 71 71 0 8 0 uvmvnodes 80 7131 0 0 146 0 146 146 0 8 0 vnodes 216 7131 0 0 397 0 397 397 0 8 0 namei 1024 38587 0 38586 14 13 1 2 0 8 0 percpumem 16 153 0 107 1 0 1 1 0 8 0 kstatmem 264 236 0 214 2 0 2 2 0 8 0 scxspl 216 59610 0 59609 28 24 4 8 1 8 3 plimitpl 152 825 0 800 2 0 2 2 0 8 0 sigapl 424 3720 0 3664 14 6 8 9 0 8 0 futexpl 64 27036 0 27029 7 6 1 1 0 8 0 knotepl 120 578 0 0 17 0 17 17 0 8 0 kqueuepl 216 630 0 615 5 3 2 3 0 8 1 pipepl 320 888 0 860 8 3 5 5 0 8 1 fdescpl 496 3701 0 3664 11 4 7 7 0 8 0 filepl 152 22463 0 22184 40 20 20 20 0 8 6 lockfpl 104 733 0 730 1 0 1 1 0 8 0 lockfspl 48 215 0 212 1 0 1 1 0 8 0 sessionpl 144 154 0 138 1 0 1 1 0 8 0 pgrppl 48 344 0 320 1 0 1 1 0 8 0 ucredpl 104 4260 0 4241 1 0 1 1 0 8 0 zombiepl 144 3664 0 3664 1 0 1 1 0 8 1 processpl 1160 3720 0 3664 8 2 6 6 0 8 0 procpl 648 6735 0 6663 11 4 7 7 0 8 0 srpgc 96 10 0 10 4 4 0 1 0 8 0 sosppl 168 30 0 29 4 3 1 1 0 8 0 sockpl 664 6490 0 6429 88 76 12 23 0 8 6 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 171 0 0 18 1 17 18 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 52 0 0 5 0 5 5 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 855 0 0 44 0 44 44 0 8 0 bufpl 280 10739 0 3594 511 0 511 511 0 8 0 anonpl 24 570038 0 566256 110 50 60 76 0 185 19 amapchunkpl 152 91111 0 90504 70 36 34 42 0 158 8 amappl16 200 11953 0 11934 114 111 3 24 0 8 1 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 385 0 375 1 0 1 1 0 8 0 amappl13 176 16 0 16 5 5 0 1 0 8 0 amappl12 168 6086 0 6049 6 4 2 3 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 14 0 14 2 2 0 1 0 8 0 amappl9 144 166 0 166 1 1 0 1 0 8 0 amappl8 136 36 0 34 1 0 1 1 0 8 0 amappl7 128 336 0 325 1 0 1 1 0 8 0 amappl6 120 1228 0 1226 1 0 1 1 0 8 0 amappl5 112 576 0 567 1 0 1 1 0 8 0 amappl4 104 708 0 692 1 0 1 1 0 8 0 amappl3 96 17700 0 17562 4 0 4 4 0 8 0 amappl2 88 2486 0 2424 2 0 2 2 0 8 0 amappl1 80 30985 0 30443 17 4 13 16 0 8 0 amappl 88 27156 0 26945 7 1 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 128 0 11 3 0 3 3 0 8 0 uaddrrnd 24 3701 0 3664 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3701 0 3664 1 0 1 1 0 8 0 vmmpekpl 168 34960 0 34897 4 0 4 4 0 8 0 vmmpepl 168 238930 0 236898 161 65 96 112 0 357 4 vmsppl 448 3700 0 3664 7 1 6 6 0 8 0 rwobjpl 56 77116 0 69002 129 14 115 115 0 8 0 pdppl 4096 7409 0 7328 458 373 85 115 0 8 4 pvpl 32 32984 0 0 267 1 266 266 0 265 0 pmappl 248 3700 0 3664 7 3 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 992 0 544 14 0 14 14 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(fffffd806c57a2e8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c57a200,fffffd806c57a2e8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c57a1d0,fffffd806be997f0,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c57a1d0,ffff80002a0ac910,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c57a1d0,ffff80002a0ac910,21000,3,7,5002,de85f820ca21d9c0,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800030e12f68,ffff80002a0aca80,ffff80002a0ac9d0) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aca80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aca80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1e9dd9bb10, 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(fffffd806c57a318) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_lock_ln(fffffd806c57a1d0,0,0) at vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 uvm_map_pageable_wire(fffffd806c57a1d0,fffffd806d098998,fffffd806d098998,ffff800030e13988,0,0) at uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 sys_mlock(ffff800030e13988,ffff80002a0fe050,ffff80002a0fdfa0) at sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 syscall(ffff80002a0fe050) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0fe050) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc5bf4fb9180, 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(fffffd806c57a318) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_lock_ln(fffffd806c57a1d0,0,0) at vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 uvm_map_pageable_wire(fffffd806c57a1d0,fffffd806d098998,fffffd806d098998,ffff800030e13988,0,0) at uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 sys_mlock(ffff800030e13988,ffff80002a0fe050,ffff80002a0fdfa0) at sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 syscall(ffff80002a0fe050) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0fe050) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc5bf4fb9180, count: -9