panic: mutex 0xfffffd806d0749e8 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 320197 54586 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(fffffd806d0749e8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806d074900,fffffd806d0749e8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806d0748d0,8ca3fb86000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806d0748d0,8ca3f986000,8ca3fb86000,3,0,0,c6579a253a3f0402) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000ffff7968,ffff800035dbbba0,ffff800035dbbaf0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff800035dbbba0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800035dbbba0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74cda3c5bc20, count: 6 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 0xfffffd806d0749e8 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(fffffd806d0749e8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806d074900,fffffd806d0749e8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806d0748d0,8ca3fb86000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806d0748d0,8ca3f986000,8ca3fb86000,3,0,0,c6579a253a3f0402) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000ffff7968,ffff800035dbbba0,ffff800035dbbaf0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff800035dbbba0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800035dbbba0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74cda3c5bc20, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800035dbb7a0 rbx 0xffffffff834aedbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff8000ffff7968 rax 0xffffffff834adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x37499508c8acedd r11 0xc984d010fc06a73e r12 0xffffffff834aebc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800035dbb790 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=386134 pid=54586 tcnt=4 stat=sleep flags process=10 proc=20 runpri=53, usrpri=53, slppri=4, nice=20 wchan=0xfffffd806d074900, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff8000ffff7bf0,0xffff8000ffff6a48 process=0xffff8000325a28c8 user=0xffff800035db6000, vmspace=0xfffffd806d0748d0 estcpu=36, cpticks=1, pctcpu=0.0, user=1, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 21562 469871 88250 0 2 0x40 syz-executor *54586 386134 95023 32767 3 0x30 vmmapbsy syz-executor 54586 279735 95023 32767 2 0x4000090 syz-executor 54586 320197 95023 32767 7 0x4000010 syz-executor 54586 156001 95023 32767 3 0x4000090 fsleep syz-executor 25877 158983 44296 0 2 0x100002 sh 3529 306380 53160 0 2 0x100000 sh 41356 141134 43734 0 2 0x100002 arp 53160 107017 19418 0 3 0x10008a sigsusp sh 43734 125771 98246 0 3 0x10008a sigsusp sh 68031 506145 62396 32767 2 0x10 syz-executor 68031 444831 62396 32767 3 0x4000090 pipewr syz-executor 13602 319578 18843 32767 2 0x10 syz-executor 13602 237776 18843 32767 3 0x4000090 kqsel syz-executor 13602 204598 18843 32767 3 0x4000090 fsleep syz-executor 50309 438950 69601 32767 2 0x10 syz-executor 50309 448113 69601 32767 3 0x4000090 kqread syz-executor 44296 205838 29387 0 3 0x80 wait syz-executor 88250 468976 80087 0 3 0x80 ppwait syz-executor 29387 250928 30193 0 3 0x82 wait syz-executor 80087 233536 30193 0 3 0x82 wait syz-executor 18843 319632 95050 32767 3 0x90 nanoslp syz-executor 19418 157257 30754 0 3 0x80 wait syz-executor 95023 301476 66829 32767 3 0x90 nanoslp syz-executor 69601 436366 41229 32767 3 0x90 nanoslp syz-executor 98246 162742 11904 0 3 0x80 wait syz-executor 62396 22442 38176 32767 3 0x90 nanoslp syz-executor 30754 424133 30193 0 3 0x82 wait syz-executor 66829 467853 30193 0 3 0x82 wait syz-executor 11904 434639 30193 0 3 0x82 wait syz-executor 41229 447503 30193 0 3 0x82 wait syz-executor 95050 239608 30193 0 3 0x82 wait syz-executor 38176 337938 30193 0 3 0x82 wait syz-executor 90668 340986 0 0 3 0x14200 bored sosplice 30193 112571 82890 0 3 0x82 kqread syz-executor 82890 473401 58652 0 3 0x10008a sigsusp ksh 58652 331048 23278 0 3 0x98 kqread sshd-session 23278 330146 41007 0 3 0x92 kqread sshd-session 90665 101703 1 0 3 0x100083 ttyin getty 41007 95048 1 0 3 0x88 kqread sshd 26493 444167 1262 73 3 0x1100010 ffs_fsync syslogd 1262 148624 1 0 3 0x100082 sbwait syslogd 61851 241812 1 0 3 0x100080 kqread resolvd 91735 380433 26565 77 3 0x100092 kqread dhcpleased 60142 321955 26565 77 3 0x100092 kqread dhcpleased 26565 168317 1 0 3 0x80 kqread dhcpleased 53409 491966 0 0 3 0x14200 bored smr 13562 152957 0 0 2 0x14200 zerothread 19370 119566 0 0 3 0x14200 aiodoned aiodoned 8685 200855 0 0 3 0x14200 syncer update 56993 307967 0 0 3 0x14200 cleaner cleaner 54876 146136 0 0 3 0x14200 reaper reaper 26340 244614 0 0 3 0x14200 pgdaemon pagedaemon 72481 235186 0 0 3 0x14200 bored viomb 64038 162666 0 0 3 0x40014200 acpi0 acpi0 35568 418705 0 0 3 0x40014200 idle1 12013 266064 0 0 3 0x14200 bored softnet3 84409 284625 0 0 3 0x14200 bored softnet2 48989 459316 0 0 3 0x14200 bored softnet1 81012 186552 0 0 3 0x14200 bored softnet0 10332 395328 0 0 3 0x14200 bored systqmp 86425 155752 0 0 3 0x14200 bored systq 82953 413613 0 0 3 0x14200 tmoslp softclockmp 21584 135964 0 0 3 0x40014200 tmoslp softclock 93519 483746 0 0 3 0x40014200 idle0 1 19421 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 (0xfffffd806d074a28) #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+0xb5 sys/kern/kern_lock.c:239 #3 vm_map_lock_ln+0x6b sys/uvm/uvm_map.c:5244 #4 uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 #5 sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 54586 (syz-executor) thread 0xffff800035dc3980 (320197) exclusive rwlock vmmaplk r = 0 (0xfffffd806d0749c8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vm_map_lock_ln+0x142 sys/uvm/uvm_map.c:5257 #2 uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 #3 sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 #4 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #4 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #5 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+0x187 sys/uvm/uvm_map.c:2216 #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 26493 (syslogd) thread 0xffff8000ffffdbe8 (444167) exclusive rrwlock inode r = 0 (0xfffffd806e2a7b40) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10184 11047K 11059K 166960K 11292 0 pcb 17 12K 12K 166960K 17 0 rtable 158 4K 7K 166960K 554 0 pf 31 16K 16K 166960K 51 0 ifaddr 32 5K 7K 166960K 76 0 ifgroup 50 2K 2K 166960K 90 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 84 0 ioctlops 0 0K 2K 166960K 39 0 iov 0 0K 12K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1455 91K 91K 166960K 1555 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 28 105K 157K 166960K 472 0 sigio 0 0K 0K 166960K 1 0 proc 58 79K 176K 166960K 713 0 subproc 104 6K 12K 166960K 273 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 3 0K 0K 166960K 40 0 in_multi 57 4K 7K 166960K 174 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 537 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 73K 130K 166960K 5083 0 UVM aobj 8 2K 4K 166960K 10 0 pinsyscall 50 100K 126K 166960K 1701 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 19 1K 2K 166960K 49 0 temp 49 6817K 6881K 166960K 5798 0 kqueue 14 22K 34K 166960K 76 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 61 0 56 1 0 1 1 0 8 0 rtentry 112 185 0 113 4 0 4 4 0 8 1 unpcb 144 226 0 208 3 2 1 3 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 213 0 205 8 3 5 8 0 8 3 arp 120 32 0 20 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 44 0 44 1 1 0 1 0 8 0 inpcb 336 447 0 434 8 4 4 8 0 8 2 nd6 136 44 0 32 1 0 1 1 0 8 0 kcovpl 48 21 0 13 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 738 0 452 30 4 26 30 0 8 8 art_table 32 739 0 452 4 0 4 4 0 8 1 art_node 16 184 0 118 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 7 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1803 0 279 96 0 96 96 0 8 0 ffsino 272 1803 0 279 102 0 102 102 0 8 0 nchpl 144 2251 0 558 63 0 63 63 0 8 0 uvmvnodes 80 2085 0 0 43 0 43 43 0 8 0 vnodes 216 2085 0 0 116 0 116 116 0 8 0 namei 1024 7637 0 7637 4 2 2 2 0 8 2 percpumem 16 56 0 10 1 0 1 1 0 8 0 kstatmem 264 42 0 20 2 0 2 2 0 8 0 scxspl 216 8780 0 8779 9 5 4 8 1 8 3 plimitpl 152 97 0 70 2 0 2 2 0 8 0 sigapl 424 730 0 671 10 1 9 9 0 8 0 futexpl 64 2969 0 2967 2 1 1 1 0 8 0 knotepl 120 349 0 0 11 0 11 11 0 8 0 kqueuepl 216 76 0 65 2 1 1 2 0 8 0 pipepl 320 166 0 138 5 0 5 5 0 8 0 fdescpl 496 711 0 671 9 2 7 7 0 8 0 filepl 152 2891 0 2646 17 3 14 14 0 8 0 lockfpl 104 53 0 51 1 0 1 1 0 8 0 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 57 0 33 1 0 1 1 0 8 0 ucredpl 104 327 0 312 1 0 1 1 0 8 0 zombiepl 144 671 0 671 1 0 1 1 0 8 1 processpl 1160 730 0 671 6 0 6 6 0 8 0 procpl 648 1039 0 973 7 0 7 7 0 8 0 sosppl 168 7 0 7 1 1 0 1 0 8 0 sockpl 664 737 0 701 12 4 8 12 0 8 4 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 141 0 0 18 0 18 18 0 8 0 mcl2k 2048 29 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 365 0 0 23 0 23 23 0 8 0 bufpl 280 4982 0 94 350 0 350 350 0 8 0 anonpl 24 151700 0 148370 50 0 50 50 0 185 24 amapchunkpl 152 16233 0 15742 35 0 35 35 0 158 16 amappl16 200 3360 0 3354 16 7 9 14 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 120 0 109 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 1457 0 1418 3 0 3 3 0 8 1 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 6 0 5 1 0 1 1 0 8 0 amappl9 144 136 0 135 1 0 1 1 0 8 0 amappl8 136 17 0 16 1 0 1 1 0 8 0 amappl7 128 109 0 98 1 0 1 1 0 8 0 amappl6 120 241 0 236 1 0 1 1 0 8 0 amappl5 112 156 0 148 1 0 1 1 0 8 0 amappl4 104 307 0 292 1 0 1 1 0 8 0 amappl3 96 3246 0 3136 4 0 4 4 0 8 0 amappl2 88 767 0 701 2 0 2 2 0 8 0 amappl1 80 9013 0 8433 15 2 13 14 0 8 0 amappl 88 4672 0 4493 6 0 6 6 0 92 1 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 9 0 2 1 0 1 1 0 8 0 uaddrrnd 24 711 0 671 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 711 0 671 1 0 1 1 0 8 0 vmmpekpl 168 6865 0 6805 4 0 4 4 0 8 0 vmmpepl 168 50078 0 48071 101 4 97 101 0 357 9 vmsppl 448 710 0 671 6 0 6 6 0 8 0 rwobjpl 56 19517 0 16542 46 1 45 45 0 8 0 pdppl 4096 1429 0 1342 145 42 103 113 0 8 16 pvpl 32 27043 0 0 219 0 219 219 0 265 0 pmappl 248 710 0 671 5 1 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 455 0 58 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(fffffd806d0749e8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806d074900,fffffd806d0749e8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806d0748d0,8ca3fb86000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806d0748d0,8ca3f986000,8ca3fb86000,3,0,0,c6579a253a3f0402) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000ffff7968,ffff800035dbbba0,ffff800035dbbaf0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff800035dbbba0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800035dbbba0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74cda3c5bc20, count: -9 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(fffffd806d074a18) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_lock_ln(fffffd806d0748d0,0,0) at vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 uvm_map_pageable_wire(fffffd806d0748d0,fffffd806c03e980,fffffd806c03e980,ffff800035dc3980,7f7fffffc000,0) at uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 sys_mlock(ffff800035dc3980,ffff80002a094f40,ffff80002a094e90) at sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 syscall(ffff80002a094f40) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a094f40) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8ca9d18afa0, 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(fffffd806d074a18) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_lock_ln(fffffd806d0748d0,0,0) at vm_map_lock_ln+0x153 sys/uvm/uvm_map.c:5258 uvm_map_pageable_wire(fffffd806d0748d0,fffffd806c03e980,fffffd806c03e980,ffff800035dc3980,7f7fffffc000,0) at uvm_map_pageable_wire+0x4a3 sys/uvm/uvm_map.c:2132 sys_mlock(ffff800035dc3980,ffff80002a094f40,ffff80002a094e90) at sys_mlock+0x23d sys/uvm/uvm_mmap.c:837 syscall(ffff80002a094f40) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a094f40) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8ca9d18afa0, count: -9