panic: mutex 0xfffffd8055c28688 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 70584 80094 32767 0x10 0x4000000 0 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(fffffd8055c28688) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8055c285a0,fffffd8055c28688,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8055c28570,fffffd806d091cd8,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8055c28570,ffff80002a0a6740,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8055c28570,ffff80002a0a6740,21000,3,7,5002,76820455d1aa35ac,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000371e16f8,ffff80002a0a68b0,ffff80002a0a6800) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0a68b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a68b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7800edb72730, 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 0xfffffd8055c28688 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(fffffd8055c28688) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8055c285a0,fffffd8055c28688,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8055c28570,fffffd806d091cd8,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8055c28570,ffff80002a0a6740,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8055c28570,ffff80002a0a6740,21000,3,7,5002,76820455d1aa35ac,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000371e16f8,ffff80002a0a68b0,ffff80002a0a6800) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0a68b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a68b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7800edb72730, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0a6320 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000371e16f8 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf2b8b897cfcc726a r11 0xe7eab8b49981b44c r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0a6310 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=456078 pid=80094 tcnt=4 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=0xffff8000371e1980,0xffff8000371e0040 process=0xffff800042079b40 user=0xffff80002a0a1000, vmspace=0xfffffd8055c28570 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *80094 456078 76317 32767 3 0x30 syz-executor 80094 70584 76317 32767 7 0x4000010 syz-executor 80094 396983 76317 32767 3 0x4000090 fsleep syz-executor 80094 141386 76317 32767 2 0x4000010 syz-executor 70328 336649 13351 0 3 0x2 clonelk ifconfig 99116 175952 61735 0 3 0x2 clonelk ifconfig 95705 385638 89028 0 3 0x2 clonelk ifconfig 32014 425508 2215 0 3 0x2 clonelk ifconfig 61735 203946 30529 0 3 0x10008a sigsusp sh 13351 379302 27519 0 3 0x10008a sigsusp sh 30529 480471 24043 0 3 0x80 wait syz-executor 89028 189478 8278 0 3 0x10008a sigsusp sh 8278 237797 20581 0 3 0x80 wait syz-executor 27519 163549 7933 0 3 0x80 wait syz-executor 2215 260177 53167 0 3 0x10008a sigsusp sh 53167 20370 13856 0 3 0x80 wait syz-executor 79473 56545 81928 0 3 0x2 clonelk ifconfig 95512 512696 9852 0 3 0x2 clonelk ifconfig 9852 268376 26417 0 3 0x10008a sigsusp sh 26417 126459 79691 0 3 0x80 wait syz-executor 24043 114385 94768 0 3 0x82 wait syz-executor 79691 194571 94768 0 3 0x82 wait syz-executor 7933 479844 94768 0 3 0x82 wait syz-executor 81928 327670 46197 0 3 0x10008a sigsusp sh 13856 128904 94768 0 3 0x82 wait syz-executor 46197 449272 69682 0 3 0x80 wait syz-executor 20581 425403 94768 0 3 0x82 wait syz-executor 83250 51220 93751 0 3 0 clonelk syz-executor 93751 57862 94768 0 3 0x82 wait syz-executor 69682 194115 94768 0 3 0x82 wait syz-executor 76317 367886 86738 32767 3 0x90 nanoslp syz-executor 86738 184877 94768 0 3 0x82 wait syz-executor 24682 262721 0 0 3 0x14200 bored sosplice 94768 412062 96184 0 3 0x82 kqread syz-executor 96184 458737 68537 0 3 0x10008a sigsusp ksh 68537 450696 20329 0 3 0x98 kqread sshd-session 20329 119482 37609 0 3 0x92 kqread sshd-session 7651 103547 1 0 3 0x100083 ttyin getty 37609 245384 1 0 3 0x88 kqread sshd 27921 520510 23892 73 3 0x1100010 ffs_fsync syslogd 23892 164759 1 0 3 0x100082 sbwait syslogd 47649 383251 1 0 3 0x100080 kqread resolvd 86450 287093 47656 77 3 0x100092 kqread dhcpleased 82537 339602 47656 77 3 0x100092 kqread dhcpleased 47656 86585 1 0 3 0x80 kqread dhcpleased 49980 292868 0 0 3 0x14200 bored smr 8151 251612 0 0 3 0x14200 pgzero zerothread 39401 332418 0 0 3 0x14200 aiodoned aiodoned 6052 512883 0 0 3 0x14200 syncer update 18502 313883 0 0 3 0x14200 cleaner cleaner 7510 443557 0 0 3 0x14200 reaper reaper 58412 123414 0 0 3 0x14200 pgdaemon pagedaemon 71845 171111 0 0 3 0x14200 bored viomb 7213 279301 0 0 3 0x40014200 acpi0 acpi0 60636 499497 0 0 3 0x40014200 idle1 63456 237756 0 0 3 0x14200 bored softnet3 56235 467307 0 0 3 0x14200 bored softnet2 65596 45439 0 0 3 0x14200 bored softnet1 53044 60978 0 0 3 0x14200 bored softnet0 45906 460761 0 0 3 0x14200 bored systqmp 43351 215614 0 0 3 0x14200 bored systq 37110 9407 0 0 3 0x14200 tmoslp softclockmp 3438 473082 0 0 3 0x40014200 tmoslp softclock 35578 517373 0 0 3 0x40014200 idle0 1 175789 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 (0xfffffd8055c286c8) #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 80094 (syz-executor) thread 0xffff8000371e0a50 (396983) shared rwlock vmmaplk r = 0 (0xfffffd8055c28668) #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 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 27921 (syslogd) thread 0xffff8000ffffd1c8 (520510) exclusive rrwlock inode r = 0 (0xfffffd806e2b3b40) #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 10183 11041K 11059K 166960K 11465 0 pcb 17 12K 12K 166960K 17 0 rtable 170 4K 7K 166960K 2319 0 pf 25 16K 16K 166960K 163 0 ifaddr 30 6K 8K 166960K 307 0 ifgroup 38 1K 2K 166960K 312 0 sysctl 4 1K 2K 166960K 5 0 counters 58 35K 36K 166960K 194 0 ioctlops 0 0K 2K 166960K 108 0 iov 0 0K 18K 166960K 102 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1456 92K 92K 166960K 2730 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 41 0 dirhash 15 2K 3K 166960K 51 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 35 133K 161K 166960K 2194 0 sigio 0 0K 0K 166960K 22 0 proc 100 152K 176K 166960K 2437 0 subproc 156 9K 12K 166960K 1274 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 223 0 in_multi 66 4K 7K 166960K 857 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 1456 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 245 106K 131K 166960K 17117 0 UVM aobj 60 2K 4K 166960K 66 0 pinsyscall 56 112K 132K 166960K 4929 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 81 0 NDP 10 0K 2K 166960K 219 0 temp 91 6825K 6890K 166960K 17344 0 kqueue 13 20K 32K 166960K 189 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 248 0 245 1 0 1 1 0 8 0 rtentry 112 827 0 749 4 0 4 4 0 8 0 unpcb 144 1177 0 1160 19 15 4 6 0 8 3 syncache 336 19 0 19 7 7 0 1 0 8 0 tcpqe 32 10 0 10 4 4 0 1 0 8 0 tcpcb 808 726 0 718 23 18 5 9 0 8 3 arp 120 146 0 134 1 0 1 1 0 8 0 ipq 40 4 0 3 1 0 1 1 0 8 0 ipqe 40 49 0 48 1 0 1 1 0 8 0 inpcb 336 2070 0 2052 33 28 5 8 0 8 3 nd6 136 228 0 212 1 0 1 1 0 8 0 kcovpl 48 98 0 86 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3363 0 3025 60 32 28 30 0 8 5 art_table 32 3364 0 3025 4 0 4 4 0 8 0 art_node 16 826 0 755 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 37 0 27 1 0 1 1 0 8 0 shmpl 112 63 0 6 2 0 2 2 0 8 0 dirhash 1024 43 0 24 3 0 3 3 0 8 0 dino2pl 256 3202 0 1517 106 0 106 106 0 8 0 ffsino 272 3202 0 1517 113 0 113 113 0 8 0 nchpl 144 4764 0 2952 68 0 68 68 0 8 0 uvmvnodes 80 4485 0 0 92 0 92 92 0 8 0 vnodes 216 4485 0 0 250 0 250 250 0 8 0 namei 1024 22907 0 22907 11 9 2 2 0 8 2 percpumem 16 111 0 68 1 0 1 1 0 8 0 kstatmem 264 152 0 136 2 0 2 2 0 8 0 scxspl 216 43077 0 43076 17 16 1 8 1 8 0 plimitpl 152 518 0 490 2 0 2 2 0 8 0 sigapl 424 2297 0 2231 12 4 8 9 0 8 0 futexpl 64 14019 0 14018 7 6 1 1 0 8 0 knotepl 120 648 0 0 17 0 17 17 0 8 0 kqueuepl 216 473 0 463 9 8 1 5 0 8 0 pipepl 320 488 0 453 6 1 5 5 0 8 0 fdescpl 496 2278 0 2231 9 2 7 7 0 8 0 filepl 152 11733 0 11431 34 15 19 19 0 8 5 lockfpl 104 311 0 309 1 0 1 1 0 8 0 lockfspl 48 102 0 100 1 0 1 1 0 8 0 sessionpl 144 104 0 84 1 0 1 1 0 8 0 pgrppl 48 216 0 188 1 0 1 1 0 8 0 ucredpl 104 1767 0 1751 1 0 1 1 0 8 0 zombiepl 144 2235 0 2231 1 0 1 1 0 8 0 processpl 1160 2297 0 2231 9 3 6 6 0 8 1 procpl 648 3894 0 3825 7 0 7 7 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 11 0 11 3 3 0 1 0 8 0 sockpl 664 3508 0 3470 50 38 12 15 0 8 8 mcl64k 65536 5 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 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 151 0 0 18 0 18 18 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 75 0 0 6 1 5 5 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 386 0 0 20 0 20 20 0 8 0 bufpl 280 8271 0 1910 455 0 455 455 0 8 0 anonpl 24 358159 0 354272 56 3 53 54 0 185 16 amapchunkpl 152 61470 0 60989 44 12 32 39 0 158 8 amappl16 200 6766 0 6757 43 39 4 14 0 8 2 amappl15 192 8 0 8 2 2 0 1 0 8 0 amappl14 184 259 0 249 1 0 1 1 0 8 0 amappl13 176 7 0 7 2 2 0 1 0 8 0 amappl12 168 3942 0 3902 4 1 3 3 0 8 1 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 134 0 133 2 1 1 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 243 0 232 1 0 1 1 0 8 0 amappl6 120 812 0 798 1 0 1 1 0 8 0 amappl5 112 398 0 383 1 0 1 1 0 8 0 amappl4 104 512 0 498 1 0 1 1 0 8 0 amappl3 96 10516 0 10416 5 1 4 5 0 8 0 amappl2 88 1692 0 1616 2 0 2 2 0 8 0 amappl1 80 20156 0 19573 18 3 15 17 0 8 0 amappl 88 16168 0 15982 6 1 5 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 65 0 6 2 0 2 2 0 8 0 uaddrrnd 24 2278 0 2231 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2278 0 2231 1 0 1 1 0 8 0 vmmpekpl 168 20469 0 20398 4 0 4 4 0 8 0 vmmpepl 168 147158 0 145107 135 36 99 115 0 357 7 vmsppl 448 2277 0 2231 8 2 6 7 0 8 0 rwobjpl 56 48025 0 42495 81 2 79 79 0 8 0 pdppl 4096 4563 0 4462 337 228 109 117 0 8 8 pvpl 32 30268 0 0 246 2 244 245 0 265 0 pmappl 248 2277 0 2231 5 1 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 752 0 327 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 intr_handler(ffff80002a0bc150,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c kd_curproc sys/dev/kcov.c:588 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c sys/dev/kcov.c:158 __mp_lock(ffffffff835a1ff8) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a1ff8) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 syscall(ffff80002a0bc330) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0bc330) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb08e82409c0, count: 5 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 intr_handler(ffff80002a0bc150,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c kd_curproc sys/dev/kcov.c:588 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1c sys/dev/kcov.c:158 __mp_lock(ffffffff835a1ff8) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a1ff8) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 syscall(ffff80002a0bc330) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0bc330) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb08e82409c0, count: -10 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(fffffd8055c28688) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8055c285a0,fffffd8055c28688,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8055c28570,fffffd806d091cd8,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8055c28570,ffff80002a0a6740,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8055c28570,ffff80002a0a6740,21000,3,7,5002,76820455d1aa35ac,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000371e16f8,ffff80002a0a68b0,ffff80002a0a6800) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0a68b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a68b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7800edb72730, 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(fffffd8055c28688) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8055c285a0,fffffd8055c28688,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8055c28570,fffffd806d091cd8,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd8055c28570,ffff80002a0a6740,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd8055c28570,ffff80002a0a6740,21000,3,7,5002,76820455d1aa35ac,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000371e16f8,ffff80002a0a68b0,ffff80002a0a6800) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a0a68b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a68b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7800edb72730, count: -10