panic: mutex 0xfffffd806c1eebb0 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 268324 36662 32767 0x10 0x4000000 0K 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(fffffd806c1eebb0) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c1eeac8,fffffd806c1eebb0,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c1eea98,fffffd806d0acb80,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c1eea98,ffff80002a0aa250,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c1eea98,ffff80002a0aa250,21000,3,7,5002,a4536767c3a46692,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000ffff5970,ffff80002a0aa3c0,ffff80002a0aa310) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aa3c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aa3c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79324f4e7880, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: mutex 0xfffffd806c1eebb0 not held in mtx_leave ddb{1}> 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(fffffd806c1eebb0) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c1eeac8,fffffd806c1eebb0,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c1eea98,fffffd806d0acb80,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c1eea98,ffff80002a0aa250,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c1eea98,ffff80002a0aa250,21000,3,7,5002,a4536767c3a46692,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000ffff5970,ffff80002a0aa3c0,ffff80002a0aa310) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aa3c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aa3c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79324f4e7880, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0a9e30 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000ffff5970 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x3cecd052e91af146 r11 0x1d0d099760ee5ac5 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0a9e20 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=372084 pid=36662 tcnt=2 stat=sleep flags process=10 proc=20 runpri=86, usrpri=86, slppri=4, nice=20 wchan=0xfffffd806c1eeac8, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff8000ffff4f50,0xffff8000ffff42b8 process=0xffff80002c7ce8d8 user=0xffff80002a0a5000, vmspace=0xfffffd806c1eea98 estcpu=36, cpticks=6, pctcpu=0.0, user=5, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *36662 372084 93618 32767 3 0x30 vmmapbsy syz-executor 36662 268324 93618 32767 7 0x4000010 syz-executor 37168 62598 42630 0 3 0x2 clonelk ifconfig 40139 85021 12154 0 3 0x2 clonelk ifconfig 12154 153376 2981 0 3 0x10008a sigsusp sh 42630 138745 38422 0 3 0x10008a sigsusp sh 38422 351683 27705 0 3 0x80 wait syz-executor 2981 270805 98453 0 3 0x80 wait syz-executor 33035 442289 61591 0 3 0x2 clonelk ifconfig 64967 453383 53842 0 3 0x2 clonelk ifconfig 60545 437906 51704 0 3 0x2 clonelk ifconfig 93618 495370 74955 32767 2 0x490 syz-executor 61591 240624 55634 0 3 0x10008a sigsusp sh 53842 234104 23779 0 3 0x10008a sigsusp sh 22220 220665 71855 0 3 0x2 clonelk ifconfig 55634 462730 45488 0 3 0x80 wait syz-executor 23779 265573 96838 0 3 0x80 wait syz-executor 70937 197642 61829 0 3 0 clonelk syz-executor 71855 253489 14290 0 3 0x10008a sigsusp sh 14290 386287 25504 0 3 0x80 wait syz-executor 51704 339850 50338 0 3 0x10008a sigsusp sh 50338 414678 95232 0 3 0x80 wait syz-executor 61829 21256 21644 0 3 0x82 wait syz-executor 27705 483141 21644 0 3 0x82 wait syz-executor 98453 90952 21644 0 3 0x82 wait syz-executor 96838 794 21644 0 3 0x82 wait syz-executor 25504 53902 21644 0 3 0x82 wait syz-executor 45488 467334 21644 0 3 0x82 wait syz-executor 95232 358440 21644 0 3 0x82 wait syz-executor 74955 42008 21644 0 3 0x82 wait syz-executor 36653 286019 0 0 3 0x14200 bored sosplice 21644 490082 18823 0 3 0x82 kqread syz-executor 18823 18910 12489 0 3 0x10008a sigsusp ksh 12489 270700 3150 0 3 0x98 kqread sshd-session 3150 190595 68687 0 3 0x92 kqread sshd-session 58084 108369 1 0 3 0x100083 ttyin getty 68687 393563 1 0 3 0x88 kqread sshd 73623 67693 54900 73 2 0x1100010 syslogd 54900 152557 1 0 3 0x100082 sbwait syslogd 29850 387768 1 0 3 0x100080 kqread resolvd 12040 311196 31924 77 3 0x100092 kqread dhcpleased 20496 146535 31924 77 3 0x100092 kqread dhcpleased 31924 483300 1 0 3 0x80 kqread dhcpleased 15285 41154 0 0 2 0x40014200 smr 68047 191304 0 0 3 0x14200 pgzero zerothread 37650 310243 0 0 3 0x14200 aiodoned aiodoned 53041 283378 0 0 3 0x14200 syncer update 1429 285406 0 0 3 0x14200 cleaner cleaner 31445 423359 0 0 3 0x14200 reaper reaper 26397 33267 0 0 3 0x14200 pgdaemon pagedaemon 36690 59347 0 0 3 0x14200 bored viomb 13819 413731 0 0 3 0x40014200 acpi0 acpi0 97147 312369 0 0 3 0x40014200 idle1 10827 154475 0 0 3 0x14200 bored softnet3 73585 491781 0 0 3 0x14200 bored softnet2 27137 71204 0 0 3 0x14200 bored softnet1 3014 122904 0 0 3 0x14200 bored softnet0 98830 146824 0 0 3 0x14200 bored systqmp 29609 220398 0 0 3 0x14200 bored systq 51647 487765 0 0 3 0x14200 tmoslp softclockmp 59736 160723 0 0 3 0x40014200 tmoslp softclock 53758 497533 0 0 3 0x40014200 idle0 1 492139 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.pageqlock r = 0 (0xffffffff83512f78) #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 uvm_fault_lower+0xab4 sys/uvm/uvm_fault.c:1543 #4 uvm_fault+0x301 sys/uvm/uvm_fault.c:637 #5 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #6 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #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 CPU 1: exclusive mutex &map->flags_lock r = 0 (0xfffffd806c1eebf0) #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 36662 (syz-executor) thread 0xffff8000ffff42a8 (268324) exclusive rwlock amaplk r = 0 (0xfffffd806a200408) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_fault_check+0x521 sys/uvm/uvm_fault.c:782 #2 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #3 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #4 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #5 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 shared rwlock vmmaplk r = 0 (0xfffffd806c1eeb90) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 #2 uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #4 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #5 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #6 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #7 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #8 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 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 Process 73623 (syslogd) thread 0xffff8000ffffd1c8 (67693) exclusive rrwlock inode r = 0 (0xfffffd806e2875f0) #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 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 11036K 11059K 166960K 11467 0 pcb 17 12K 12K 166960K 17 0 rtable 102 3K 7K 166960K 2134 0 pf 19 15K 16K 166960K 154 0 ifaddr 18 3K 8K 166960K 287 0 ifgroup 26 1K 2K 166960K 293 0 sysctl 3 0K 0K 166960K 3 0 counters 52 34K 36K 166960K 184 0 ioctlops 0 0K 2K 166960K 104 0 iov 0 0K 14K 166960K 57 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1456 92K 92K 166960K 2578 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 26 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 90 0 dirhash 15 2K 3K 166960K 33 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 32 121K 157K 166960K 1746 0 sigio 0 0K 0K 166960K 15 0 proc 100 152K 176K 166960K 2232 0 subproc 117 7K 12K 166960K 1118 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 144 0 in_multi 33 2K 7K 166960K 784 0 ether_multi 1 0K 0K 166960K 3 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 1292 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 220 83K 130K 166960K 13541 0 UVM aobj 35 3K 3K 166960K 37 0 pinsyscall 53 106K 126K 166960K 4386 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 44 0 NDP 7 0K 2K 166960K 204 0 temp 55 6818K 6882K 166960K 15838 0 kqueue 13 20K 30K 166960K 163 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 274 0 271 3 2 1 3 0 8 0 rtentry 112 765 0 721 7 3 4 4 0 8 2 unpcb 144 715 0 700 11 10 1 5 0 8 0 syncache 336 26 0 26 7 7 0 1 0 8 0 tcpqe 32 11 0 11 4 4 0 1 0 8 0 tcpcb 808 642 0 636 20 18 2 8 0 8 0 arp 120 135 0 129 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 2 1 0 1 1 0 8 0 inpcb 336 1456 0 1441 24 22 2 10 0 8 0 nd6 136 207 0 201 1 0 1 1 0 8 0 kcovpl 48 86 0 77 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3103 0 2912 66 38 28 30 0 8 13 art_table 32 3104 0 2912 7 3 4 4 0 8 1 art_node 16 764 0 724 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 6 2 1 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 85 0 75 1 0 1 1 0 8 0 shmpl 112 34 0 2 1 0 1 1 0 8 0 dirhash 1024 31 0 12 3 0 3 3 0 8 0 dino2pl 256 2684 0 1019 105 0 105 105 0 8 0 ffsino 272 2684 0 1019 112 0 112 112 0 8 0 nchpl 144 3703 0 1920 67 0 67 67 0 8 0 uvmvnodes 80 3811 0 0 78 0 78 78 0 8 0 vnodes 216 3811 0 0 212 0 212 212 0 8 0 namei 1024 18648 0 18648 16 14 2 2 0 8 2 percpumem 16 106 0 66 1 0 1 1 0 8 0 kstatmem 264 142 0 132 2 0 2 2 0 8 0 scxspl 216 37010 0 37010 17 15 2 8 1 8 2 plimitpl 152 389 0 363 2 0 2 2 0 8 0 sigapl 424 1880 0 1817 10 1 9 9 0 8 1 futexpl 64 8765 0 8765 9 8 1 1 0 8 1 knotepl 120 625 0 0 18 0 18 18 0 8 0 kqueuepl 216 386 0 377 10 9 1 5 0 8 0 pipepl 320 445 0 416 9 4 5 5 0 8 0 fdescpl 496 1861 0 1817 14 7 7 7 0 8 0 filepl 152 9273 0 9023 32 18 14 25 0 8 0 lockfpl 104 175 0 173 1 0 1 1 0 8 0 lockfspl 48 66 0 64 1 0 1 1 0 8 0 sessionpl 144 106 0 89 1 0 1 1 0 8 0 pgrppl 48 262 0 237 1 0 1 1 0 8 0 ucredpl 104 1566 0 1553 1 0 1 1 0 8 0 zombiepl 144 1818 0 1817 1 0 1 1 0 8 0 processpl 1160 1880 0 1817 8 2 6 6 0 8 0 procpl 648 2943 0 2879 9 2 7 7 0 8 0 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 12 0 12 4 4 0 1 0 8 0 sockpl 664 2452 0 2419 31 27 4 13 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 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 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 161 0 0 18 0 18 18 0 8 0 mcl2k 2048 64 0 0 6 2 4 6 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 2226 0 0 137 0 137 137 0 8 0 bufpl 280 8093 0 1198 493 0 493 493 0 8 0 anonpl 24 338667 0 331195 88 21 67 79 0 185 21 amapchunkpl 152 43705 0 43002 57 22 35 40 0 158 7 amappl16 200 6347 0 6342 37 34 3 14 0 8 1 amappl15 192 13 0 13 2 2 0 1 0 8 0 amappl14 184 255 0 245 1 0 1 1 0 8 0 amappl13 176 14 0 14 1 1 0 1 0 8 0 amappl12 168 3448 0 3410 7 4 3 3 0 8 0 amappl11 160 61 0 51 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 129 0 129 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 231 0 220 1 0 1 1 0 8 0 amappl6 120 764 0 750 1 0 1 1 0 8 0 amappl5 112 389 0 373 1 0 1 1 0 8 0 amappl4 104 539 0 525 1 0 1 1 0 8 0 amappl3 96 8003 0 7911 4 0 4 4 0 8 0 amappl2 88 1689 0 1614 2 0 2 2 0 8 0 amappl1 80 20273 0 19703 18 4 14 15 0 8 0 amappl 88 12618 0 12452 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 36 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1861 0 1817 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1861 0 1817 1 0 1 1 0 8 0 vmmpekpl 168 18912 0 18840 5 1 4 4 0 8 0 vmmpepl 168 126417 0 124490 127 32 95 107 0 357 0 vmsppl 448 1860 0 1817 7 1 6 6 0 8 0 rwobjpl 56 43939 0 39171 73 4 69 69 0 8 0 pdppl 4096 3729 0 3634 313 202 111 113 0 8 16 pvpl 32 34031 0 0 274 0 274 274 0 265 0 pmappl 248 1860 0 1817 9 5 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 841 0 306 16 0 16 16 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834adff0) 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 __sanitizer_cov_trace_const_cmp8(0,19) at __sanitizer_cov_trace_const_cmp8+0x54 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_const_cmp8(0,19) at __sanitizer_cov_trace_const_cmp8+0x54 sys/dev/kcov.c:241 uvm_pmr_get1page(8,0,ffff80002a0ce840,0,0,0) at uvm_pmr_get1page+0x93d sys/uvm/uvm_pmemrange.c:1989 uvm_pmr_getpages(8,0,0,1,0,8,704f08d8c9a5706c,0) at uvm_pmr_getpages+0x802 sys/uvm/uvm_pmemrange.c:989 uvm_pmr_cache_alloc(ffffffff834ae9a0) at uvm_pmr_cache_alloc+0xd0 sys/uvm/uvm_pmemrange.c:2230 uvm_pmr_cache_get(6) at uvm_pmr_cache_get+0x19f sys/uvm/uvm_pmemrange.c:2260 uvm_pagealloc(0,0,fffffd8069b28000,2) at uvm_pagealloc+0x21c sys/uvm/uvm_page.c:908 uvm_fault_lower(ffff80002a0ceb00,ffff80002a0ceb38,ffff80002a0cea80,2) at uvm_fault_lower+0x242 uvm_fault(fffffd806c1eea98,20ea5000,2,3) at uvm_fault+0x301 sys/uvm/uvm_fault.c:637 uvm_fault_wire(fffffd806c1eea98,20800000,21000000,3) at uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 uvm_map_pageable_wire(fffffd806c1eea98,fffffd807a56b360,0,259,ffffffff822a59e0,0) at uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 sys_mlockall(ffff8000ffff42a8,ffff80002a0cee10,ffff80002a0ced60) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 end trace frame: 0xffff80002a0cee00, count: 0 ddb{0}> trace x86_ipi_db(ffffffff834adff0) 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 __sanitizer_cov_trace_const_cmp8(0,19) at __sanitizer_cov_trace_const_cmp8+0x54 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_const_cmp8(0,19) at __sanitizer_cov_trace_const_cmp8+0x54 sys/dev/kcov.c:241 uvm_pmr_get1page(8,0,ffff80002a0ce840,0,0,0) at uvm_pmr_get1page+0x93d sys/uvm/uvm_pmemrange.c:1989 uvm_pmr_getpages(8,0,0,1,0,8,704f08d8c9a5706c,0) at uvm_pmr_getpages+0x802 sys/uvm/uvm_pmemrange.c:989 uvm_pmr_cache_alloc(ffffffff834ae9a0) at uvm_pmr_cache_alloc+0xd0 sys/uvm/uvm_pmemrange.c:2230 uvm_pmr_cache_get(6) at uvm_pmr_cache_get+0x19f sys/uvm/uvm_pmemrange.c:2260 uvm_pagealloc(0,0,fffffd8069b28000,2) at uvm_pagealloc+0x21c sys/uvm/uvm_page.c:908 uvm_fault_lower(ffff80002a0ceb00,ffff80002a0ceb38,ffff80002a0cea80,2) at uvm_fault_lower+0x242 uvm_fault(fffffd806c1eea98,20ea5000,2,3) at uvm_fault+0x301 sys/uvm/uvm_fault.c:637 uvm_fault_wire(fffffd806c1eea98,20800000,21000000,3) at uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 uvm_map_pageable_wire(fffffd806c1eea98,fffffd807a56b360,0,259,ffffffff822a59e0,0) at uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 sys_mlockall(ffff8000ffff42a8,ffff80002a0cee10,ffff80002a0ced60) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff80002a0cee10) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0cee10) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9473c5b71b0, count: -16 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp 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(fffffd806c1eebb0) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c1eeac8,fffffd806c1eebb0,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c1eea98,fffffd806d0acb80,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c1eea98,ffff80002a0aa250,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c1eea98,ffff80002a0aa250,21000,3,7,5002,a4536767c3a46692,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000ffff5970,ffff80002a0aa3c0,ffff80002a0aa310) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aa3c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aa3c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79324f4e7880, count: 5 ddb{1}> 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(fffffd806c1eebb0) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c1eeac8,fffffd806c1eebb0,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c1eea98,fffffd806d0acb80,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c1eea98,ffff80002a0aa250,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c1eea98,ffff80002a0aa250,21000,3,7,5002,a4536767c3a46692,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000ffff5970,ffff80002a0aa3c0,ffff80002a0aa310) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0aa3c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0aa3c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79324f4e7880, count: -10