panic: mutex 0xfffffd807cbfa680 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 3072 39946 0 0 0x8 0 sshd 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(fffffd807cbfa680) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd807cbfa598,fffffd807cbfa680,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd807cbfa568,2aa572fc000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd807cbfa568,2aa570fd000,2aa572fc000,1,0,0,e81bc2aa190b9163) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff800035396f68,ffff80002a0a6190,ffff80002a0a60e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a0a6190) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6190) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b0f4f38f270, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: mutex 0xfffffd807cbfa680 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(fffffd807cbfa680) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd807cbfa598,fffffd807cbfa680,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd807cbfa568,2aa572fc000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd807cbfa568,2aa570fd000,2aa572fc000,1,0,0,e81bc2aa190b9163) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff800035396f68,ffff80002a0a6190,ffff80002a0a60e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a0a6190) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6190) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b0f4f38f270, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0a5d90 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff800035396f68 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6184d749d576987f r11 0x63b68e1c561fb2ec r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0a5d80 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=363483 pid=99915 tcnt=3 stat=sleep flags process=10 proc=20 runpri=32, usrpri=86, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035397c10,0xffff8000353967e0 process=0xffff80002df70928 user=0xffff80002a0a1000, vmspace=0xfffffd807cbfa568 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *99915 363483 39386 32767 3 0x30 syz-executor 99915 263313 39386 32767 3 0x4000090 fsleep syz-executor 99915 35773 39386 32767 3 0x4000090 fsleep syz-executor 45474 64707 39946 0 2 0x2 sshd-session 99595 359061 6740 32767 2 0x10 syz-executor 99595 375637 6740 32767 3 0x4000090 fsleep syz-executor 23631 427385 8175 32767 3 0x90 nanoslp syz-executor 23631 217517 8175 32767 3 0x4000090 pipewr syz-executor 23631 276482 8175 32767 3 0x4000090 fsleep syz-executor 91301 165454 64172 32767 3 0x90 nanoslp syz-executor 91301 34284 64172 32767 3 0x4000090 ttyout syz-executor 91301 384752 64172 32767 3 0x4000090 fsleep syz-executor 91301 496797 64172 32767 3 0x4000090 fsleep syz-executor 16611 68732 48118 32767 3 0x90 piperd syz-executor 48118 440522 12911 0 3 0x82 wait syz-executor 92327 83861 17189 32767 3 0x90 piperd syz-executor 17189 498733 12911 0 3 0x82 wait syz-executor 8175 333031 3562 32767 3 0x90 nanoslp syz-executor 46098 112809 37713 32767 3 0x90 piperd syz-executor 39386 419213 97531 32767 3 0x90 nanoslp syz-executor 6740 360779 45236 32767 3 0x90 nanoslp syz-executor 64172 39524 60989 32767 3 0x90 nanoslp syz-executor 6090 454549 78540 32767 3 0x90 piperd syz-executor 3562 326148 12911 0 3 0x82 wait syz-executor 97531 251998 12911 0 3 0x82 wait syz-executor 37713 126369 12911 0 3 0x82 wait syz-executor 60989 99361 12911 0 3 0x82 wait syz-executor 45236 426768 12911 0 3 0x82 wait syz-executor 78540 335361 12911 0 3 0x82 wait syz-executor 72342 512923 80390 0 3 0x100082 sbwait arp 80390 514964 74152 0 3 0x10008a sigsusp sh 74152 280384 1 0 3 0x80 wait syz-executor 6670 100355 0 0 3 0x14200 bored sosplice 12911 159078 34809 0 2 0x2 syz-executor 34809 50277 19022 0 3 0x10008a sigsusp ksh 19022 80879 57090 0 3 0x98 kqread sshd-session 57090 375489 39946 0 3 0x92 kqread sshd-session 37155 139149 1 0 3 0x100083 ttyin getty 39946 3072 1 0 7 0x8 sshd 1588 349572 17400 73 3 0x1100090 kqread syslogd 17400 322282 1 0 3 0x100082 sbwait syslogd 49602 140708 1 0 3 0x100080 kqread resolvd 72214 174760 25099 77 3 0x100092 kqread dhcpleased 97890 73605 25099 77 3 0x100092 kqread dhcpleased 25099 465549 1 0 3 0x80 kqread dhcpleased 24784 425787 0 0 3 0x14200 bored smr 38475 89101 0 0 2 0x14200 zerothread 10730 272006 0 0 3 0x14200 aiodoned aiodoned 23055 59186 0 0 3 0x14200 syncer update 26108 215479 0 0 3 0x14200 cleaner cleaner 92299 260511 0 0 3 0x14200 reaper reaper 96547 358269 0 0 3 0x14200 pgdaemon pagedaemon 6669 173132 0 0 3 0x14200 bored viomb 22996 467853 0 0 3 0x40014200 acpi0 acpi0 60886 370557 0 0 3 0x40014200 idle1 15286 377350 0 0 3 0x14200 bored softnet3 47877 42651 0 0 3 0x14200 bored softnet2 71363 375997 0 0 3 0x14200 bored softnet1 68035 264226 0 0 3 0x14200 bored softnet0 4904 60219 0 0 3 0x14200 bored systqmp 89754 465378 0 0 3 0x14200 bored systq 63150 295121 0 0 3 0x14200 tmoslp softclockmp 35700 394918 0 0 3 0x40014200 tmoslp softclock 39305 96013 0 0 3 0x40014200 idle0 1 170185 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &map->flags_lock r = 0 (0xfffffd807cbfa6c0) #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+0x153 sys/uvm/uvm_map.c:5258 #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 99915 (syz-executor) thread 0xffff8000353967d0 (263313) shared rwlock vmmaplk r = 0 (0xfffffd807cbfa660) #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_mlock+0x23d sys/uvm/uvm_mmap.c:837 #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 __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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10209 11051K 11059K 166960K 11553 0 pcb 17 12K 12K 166960K 17 0 rtable 234 6K 7K 166960K 2980 0 pf 31 16K 16K 166960K 210 0 ifaddr 42 8K 8K 166960K 397 0 ifgroup 50 2K 2K 166960K 405 0 sysctl 3 1K 3K 166960K 4 0 counters 64 36K 36K 166960K 240 0 ioctlops 0 0K 2K 166960K 130 0 iov 0 0K 16K 166960K 112 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1467 92K 92K 166960K 3316 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 35 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 111 0 dirhash 18 3K 3K 166960K 54 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 25 93K 157K 166960K 2761 0 sigio 0 0K 0K 166960K 23 0 proc 58 79K 176K 166960K 3054 0 subproc 117 7K 12K 166960K 1690 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 250 0 in_multi 99 7K 7K 166960K 1102 0 ether_multi 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 1890 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 255 82K 131K 166960K 21000 0 UVM aobj 55 5K 5K 166960K 63 0 pinsyscall 48 96K 126K 166960K 6154 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 98 0 NDP 13 0K 2K 166960K 286 0 temp 78 6824K 6889K 166960K 22248 0 kqueue 14 22K 32K 166960K 282 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 406 0 401 2 1 1 2 0 8 0 rtentry 112 1067 0 957 5 1 4 4 0 8 0 unpcb 144 1670 0 1651 23 19 4 12 0 8 3 syncache 336 36 0 36 10 9 1 1 0 8 1 tcpqe 32 10 0 10 7 6 1 1 0 8 1 tcpcb 808 742 0 735 20 18 2 8 0 8 1 arp 120 187 0 169 1 0 1 1 0 8 0 ipq 40 8 0 7 3 2 1 1 0 8 0 ipqe 40 145 0 144 3 2 1 1 0 8 0 inpcb 336 2129 0 2118 40 36 4 14 0 8 3 nd6 136 293 0 269 1 0 1 1 0 8 0 kcovpl 48 130 0 121 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4302 0 3843 80 51 29 30 0 8 0 art_table 32 4303 0 3843 5 1 4 4 0 8 0 art_node 16 1066 0 966 1 0 1 1 0 8 0 sysvmsgpl 40 73 0 70 1 0 1 1 0 8 0 semapl 112 109 0 99 1 0 1 1 0 8 0 shmpl 112 60 0 8 2 0 2 2 0 8 0 dirhash 1024 45 0 24 3 0 3 3 0 8 0 dino2pl 256 3745 0 1999 112 2 110 110 0 8 0 ffsino 272 3745 0 1999 118 1 117 117 0 8 0 nchpl 144 5635 0 3787 69 0 69 69 0 8 0 uvmvnodes 80 5444 0 0 112 0 112 112 0 8 0 vnodes 216 5444 0 0 303 0 303 303 0 8 0 namei 1024 27897 0 27897 12 10 2 2 0 8 2 percpumem 16 134 0 88 1 0 1 1 0 8 0 kstatmem 264 198 0 176 2 0 2 2 0 8 0 scxspl 216 51722 0 51722 24 23 1 8 1 8 1 plimitpl 152 729 0 703 2 0 2 2 0 8 0 sigapl 424 2820 0 2763 12 4 8 9 0 8 0 futexpl 64 17595 0 17589 11 10 1 1 0 8 0 knotepl 120 622 0 0 16 0 16 16 0 8 0 kqueuepl 216 492 0 482 9 8 1 5 0 8 0 pipepl 320 732 0 699 10 5 5 5 0 8 0 fdescpl 496 2801 0 2763 10 3 7 7 0 8 0 filepl 152 14506 0 14236 38 23 15 21 0 8 1 lockfpl 104 403 0 401 1 0 1 1 0 8 0 lockfspl 48 122 0 120 1 0 1 1 0 8 0 sessionpl 144 139 0 121 1 0 1 1 0 8 0 pgrppl 48 284 0 258 1 0 1 1 0 8 0 ucredpl 104 2661 0 2642 1 0 1 1 0 8 0 zombiepl 144 2763 0 2763 1 0 1 1 0 8 1 processpl 1160 2820 0 2763 6 0 6 6 0 8 0 procpl 648 4749 0 4684 8 1 7 7 0 8 0 srpgc 96 8 0 8 2 2 0 1 0 8 0 sosppl 168 25 0 25 7 6 1 1 0 8 1 sockpl 664 4257 0 4222 67 58 9 28 0 8 5 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 177 0 0 19 1 18 19 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 74 0 0 6 2 4 6 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 601 0 0 31 0 31 31 0 8 0 bufpl 280 9487 0 2444 504 0 504 504 0 8 0 anonpl 24 430996 0 427058 157 76 81 99 0 185 33 amapchunkpl 152 66553 0 65984 72 33 39 45 0 158 14 amappl16 200 8052 0 8037 95 85 10 27 0 8 8 amappl15 192 46 0 46 1 1 0 1 0 8 0 amappl14 184 339 0 328 1 0 1 1 0 8 0 amappl13 176 25 0 25 6 6 0 1 0 8 0 amappl12 168 4843 0 4805 9 6 3 3 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 45 0 44 1 0 1 1 0 8 0 amappl9 144 148 0 148 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 305 0 293 1 0 1 1 0 8 0 amappl6 120 1043 0 1040 1 0 1 1 0 8 0 amappl5 112 505 0 494 1 0 1 1 0 8 0 amappl4 104 663 0 645 1 0 1 1 0 8 0 amappl3 96 12699 0 12576 4 0 4 4 0 8 0 amappl2 88 2274 0 2206 2 0 2 2 0 8 0 amappl1 80 27793 0 27227 17 3 14 15 0 8 0 amappl 88 19764 0 19568 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 62 0 8 1 0 1 1 0 8 0 uaddrrnd 24 2801 0 2763 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2801 0 2763 1 0 1 1 0 8 0 vmmpekpl 168 27770 0 27713 4 0 4 4 0 8 0 vmmpepl 168 185823 0 183837 159 47 112 112 0 357 16 vmsppl 448 2800 0 2763 6 0 6 6 0 8 0 rwobjpl 56 61302 0 54898 96 5 91 91 0 8 0 pdppl 4096 5609 0 5526 430 341 89 113 0 8 6 pvpl 32 45963 0 0 371 1 370 370 0 265 0 pmappl 248 2800 0 2763 8 4 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 896 0 473 13 0 13 13 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 __mp_lock(ffffffff835a1ff8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a1ff8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __sanitizer_cov_trace_const_cmp4(0,200) at __sanitizer_cov_trace_const_cmp4+0x14 sys/dev/kcov.c:234 mtx_enter_try(fffffd8071600510) at mtx_enter_try+0x52 sys/kern/kern_lock.c:262 mtx_enter(fffffd8071600510) at mtx_enter+0x60 sys/kern/kern_lock.c:239 kqueue_scan(ffff80002a070bc0,3,ffff80002a070ac0,0,ffff8000ffffc520,ffff80002a070d4c) at kqueue_scan+0x26d sys/kern/kern_event.c:1491 doppoll(ffff8000ffffc520,f3f1645d660,3,0,ffff80002a070dcc,ffff80002a070e70) at doppoll+0x36a sys/kern/sys_generic.c:991 sys_ppoll(ffff8000ffffc520,ffff80002a070f20,ffff80002a070e70) at sys_ppoll+0x26f sys/kern/sys_generic.c:918 syscall(ffff80002a070f20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a070f20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74e8d325ddb0, count: 1 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 __mp_lock(ffffffff835a1ff8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a1ff8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __sanitizer_cov_trace_const_cmp4(0,200) at __sanitizer_cov_trace_const_cmp4+0x14 sys/dev/kcov.c:234 mtx_enter_try(fffffd8071600510) at mtx_enter_try+0x52 sys/kern/kern_lock.c:262 mtx_enter(fffffd8071600510) at mtx_enter+0x60 sys/kern/kern_lock.c:239 kqueue_scan(ffff80002a070bc0,3,ffff80002a070ac0,0,ffff8000ffffc520,ffff80002a070d4c) at kqueue_scan+0x26d sys/kern/kern_event.c:1491 doppoll(ffff8000ffffc520,f3f1645d660,3,0,ffff80002a070dcc,ffff80002a070e70) at doppoll+0x36a sys/kern/sys_generic.c:991 sys_ppoll(ffff8000ffffc520,ffff80002a070f20,ffff80002a070e70) at sys_ppoll+0x26f sys/kern/sys_generic.c:918 syscall(ffff80002a070f20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a070f20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74e8d325ddb0, count: -14 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(fffffd807cbfa680) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd807cbfa598,fffffd807cbfa680,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd807cbfa568,2aa572fc000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd807cbfa568,2aa570fd000,2aa572fc000,1,0,0,e81bc2aa190b9163) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff800035396f68,ffff80002a0a6190,ffff80002a0a60e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a0a6190) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6190) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b0f4f38f270, count: 6 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(fffffd807cbfa680) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd807cbfa598,fffffd807cbfa680,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd807cbfa568,2aa572fc000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd807cbfa568,2aa570fd000,2aa572fc000,1,0,0,e81bc2aa190b9163) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff800035396f68,ffff80002a0a6190,ffff80002a0a60e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a0a6190) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6190) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b0f4f38f270, count: -9