panic: mutex 0xfffffd806c070678 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 361678 63903 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(fffffd806c070678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c070590,fffffd806c070678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c070560,fffffd8073748268,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c070560,ffff800036f9a080,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c070560,ffff800036f9a080,21000,3,7,5002,f7bbd9f2fc1697d6,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800037202038,ffff800036f9a1f0,ffff800036f9a140) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff800036f9a1f0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036f9a1f0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x767b0c834110, 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 0xfffffd806c070678 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(fffffd806c070678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c070590,fffffd806c070678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c070560,fffffd8073748268,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c070560,ffff800036f9a080,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c070560,ffff800036f9a080,21000,3,7,5002,f7bbd9f2fc1697d6,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800037202038,ffff800036f9a1f0,ffff800036f9a140) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff800036f9a1f0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036f9a1f0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x767b0c834110, count: -10 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800036f99c60 rbx 0xffffffff834aedbf cpu_info_full_primary+0x2dbf rdx 0 rcx 0xffff800037202038 rax 0xffffffff834adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe9ecc0aebb040165 r11 0xed6e1ca72682aced r12 0xffffffff834aebc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800036f99c50 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=510311 pid=63903 tcnt=3 stat=sleep flags process=10 proc=20 runpri=36, usrpri=50, slppri=4, nice=20 wchan=0xfffffd806c070590, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff800037202ce0,0xffff800037203200 process=0xffff8000fffefb08 user=0xffff800036f95000, vmspace=0xfffffd806c070560 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *63903 510311 50315 32767 3 0x30 vmmapbsy syz-executor 63903 51016 50315 32767 3 0x4000090 fsleep syz-executor 63903 361678 50315 32767 7 0x4000010 syz-executor 86213 462644 38904 32767 2 0x10 syz-executor 86213 448383 38904 32767 3 0x4000090 fsleep syz-executor 22351 223784 5611 32767 2 0x10 syz-executor 22351 475863 5611 32767 3 0x4000090 kqsel syz-executor 53914 345394 41447 32767 3 0x90 nanoslp syz-executor 53914 256341 41447 32767 3 0x4000090 nanoslp syz-executor 53914 320179 41447 32767 3 0x4000090 fsleep syz-executor 38904 428829 84634 32767 3 0x90 nanoslp syz-executor 84634 189609 92565 0 3 0x82 wait syz-executor 14803 300126 28784 32767 3 0x90 nanoslp syz-executor 14803 314974 28784 32767 3 0x4000090 kqsel syz-executor 14803 389601 28784 32767 3 0x4000090 fsleep syz-executor 98213 401835 53902 32767 3 0x90 nanoslp syz-executor 98213 15749 53902 32767 3 0x4000090 sbwait syz-executor 98213 202742 53902 32767 3 0x4000090 nanoslp syz-executor 98213 272246 53902 32767 3 0x4000090 fsleep syz-executor 5611 239539 23264 32767 3 0x90 nanoslp syz-executor 23264 293120 92565 0 3 0x82 wait syz-executor 53902 287991 36816 32767 3 0x90 nanoslp syz-executor 36816 166339 92565 0 3 0x82 wait syz-executor 50315 442717 1846 32767 3 0x90 nanoslp syz-executor 1846 7425 92565 0 3 0x82 wait syz-executor 55225 152883 29734 32767 3 0x90 wait syz-executor 29734 299239 92565 0 3 0x82 wait syz-executor 28784 434002 27124 32767 3 0x90 nanoslp syz-executor 24471 368117 99562 32767 3 0x90 wait syz-executor 99562 349008 92565 0 3 0x82 wait syz-executor 27124 441005 92565 0 3 0x82 wait syz-executor 41447 214083 89021 32767 3 0x90 nanoslp syz-executor 89021 482276 92565 0 3 0x82 wait syz-executor 28830 325839 0 0 3 0x14200 bored sosplice 92565 297040 87317 0 3 0x82 kqread syz-executor 87317 288757 70394 0 3 0x10008a sigsusp ksh 70394 66347 89108 0 3 0x98 kqread sshd-session 89108 308046 92360 0 3 0x92 kqread sshd-session 23097 215562 1 0 3 0x100083 ttyin getty 92360 356085 1 0 3 0x88 kqread sshd 27001 486753 93551 73 3 0x1100090 kqread syslogd 93551 56113 1 0 3 0x100082 sbwait syslogd 34463 135230 1 0 3 0x100080 kqread resolvd 75904 180553 28560 77 3 0x100092 kqread dhcpleased 64604 125389 28560 77 3 0x100092 kqread dhcpleased 28560 468209 1 0 3 0x80 kqread dhcpleased 95115 166487 0 0 3 0x14200 bored smr 24978 211941 0 0 2 0x14200 zerothread 676 403221 0 0 3 0x14200 aiodoned aiodoned 66595 233354 0 0 3 0x14200 syncer update 81217 141340 0 0 3 0x14200 cleaner cleaner 56369 182852 0 0 3 0x14200 reaper reaper 36196 373059 0 0 3 0x14200 pgdaemon pagedaemon 69255 378519 0 0 3 0x14200 bored viomb 45241 217328 0 0 3 0x40014200 acpi0 acpi0 98641 396854 0 0 3 0x40014200 idle1 61395 215490 0 0 3 0x14200 bored softnet3 26623 173101 0 0 3 0x14200 bored softnet2 94151 298817 0 0 3 0x14200 bored softnet1 20560 95431 0 0 3 0x14200 bored softnet0 23862 396889 0 0 3 0x14200 bored systqmp 35686 147095 0 0 3 0x14200 bored systq 33775 364423 0 0 3 0x14200 tmoslp softclockmp 41176 416847 0 0 3 0x40014200 tmoslp softclock 84568 233865 0 0 3 0x40014200 idle0 1 293247 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 (0xfffffd806c0706b8) #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 CPU 1: exclusive mutex &(curpg)->mdpage.pv_mtx r = 0 (0xfffffd80083a2178) #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 pmap_enter+0x50e pmap_enter_pv sys/arch/amd64/amd64/pmap.c:1094 [inline] #3 pmap_enter+0x50e sys/arch/amd64/amd64/pmap.c:2902 #4 uvm_fault_lower+0xa2d sys/uvm/uvm_fault.c:1518 #5 uvm_fault+0x301 sys/uvm/uvm_fault.c:637 #6 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #7 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #8 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd8063f653f8) #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 pmap_enter+0x246 rcr3 machine/cpufunc.h:139 [inline] #3 pmap_enter+0x246 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:437 [inline] #3 pmap_enter+0x246 sys/arch/amd64/amd64/pmap.c:2791 #4 uvm_fault_lower+0xa2d sys/uvm/uvm_fault.c:1518 #5 uvm_fault+0x301 sys/uvm/uvm_fault.c:637 #6 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #7 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #8 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 Process 63903 (syz-executor) thread 0xffff800037202a58 (361678) exclusive rwlock amaplk r = 0 (0xfffffd806a7ad208) #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 (0xfffffd806c070658) #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 __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_all+0x69 sys/uvm/uvm_map.c:2329 #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10212 11051K 11059K 166960K 11685 0 pcb 17 12K 12K 166960K 17 0 rtable 238 6K 7K 166960K 4541 0 pf 31 16K 16K 166960K 296 0 ifaddr 42 9K 9K 166960K 573 0 ifgroup 50 2K 2K 166960K 577 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 326 0 ioctlops 0 0K 2K 166960K 214 0 iov 0 0K 32K 166960K 99 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1469 92K 92K 166960K 3886 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 37 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 105 0 dirhash 18 3K 3K 166960K 87 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 26 97K 157K 166960K 3901 0 sigio 0 0K 0K 166960K 39 0 proc 61 91K 176K 166960K 4286 0 subproc 104 6K 13K 166960K 2431 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 706 0 in_multi 99 7K 7K 166960K 1634 0 ether_multi 1 0K 0K 166960K 18 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 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 2381 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 273 76K 131K 166960K 28616 0 UVM aobj 131 8K 8K 166960K 143 0 pinsyscall 47 94K 134K 166960K 8439 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 127 0 NDP 17 0K 2K 166960K 418 0 temp 76 6824K 6942K 166960K 29213 0 kqueue 14 22K 32K 166960K 321 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 413 0 410 1 0 1 1 0 8 0 rtentry 112 1567 0 1455 9 5 4 4 0 8 0 unpcb 144 1554 0 1534 15 11 4 4 0 8 3 syncache 336 61 0 61 14 13 1 1 0 8 1 tcpqe 32 28 0 28 13 12 1 1 0 8 1 tcpcb 808 1120 0 1098 25 22 3 9 0 8 0 arp 120 279 0 261 1 0 1 1 0 8 0 ipq 40 13 0 10 1 0 1 1 0 8 0 ipqe 40 66 0 62 1 0 1 1 0 8 0 inpcb 336 3438 0 3410 46 38 8 10 0 8 5 nd6 136 439 0 413 2 1 1 2 0 8 0 kcovpl 48 187 0 179 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 6308 0 5848 86 56 30 30 0 8 1 art_table 32 6309 0 5848 4 0 4 4 0 8 0 art_node 16 1566 0 1464 1 0 1 1 0 8 0 sysvmsgpl 40 32 0 9 3 2 1 1 0 8 0 semapl 112 101 0 91 1 0 1 1 0 8 0 shmpl 112 140 0 12 5 1 4 4 0 8 0 dirhash 1024 68 0 46 4 0 4 4 0 8 1 dino2pl 256 4253 0 2368 119 0 119 119 0 8 0 ffsino 272 4253 0 2368 127 1 126 126 0 8 0 nchpl 144 6654 0 4695 73 0 73 73 0 8 0 uvmvnodes 80 6693 0 0 137 0 137 137 0 8 0 vnodes 216 6693 0 0 372 0 372 372 0 8 0 namei 1024 36471 0 36471 22 21 1 2 0 8 1 percpumem 16 177 0 131 1 0 1 1 0 8 0 kstatmem 264 284 0 262 2 0 2 2 0 8 0 scxspl 216 72166 0 72166 22 20 2 8 1 8 2 plimitpl 152 1162 0 1137 2 0 2 2 0 8 0 sigapl 424 3849 0 3792 13 5 8 9 0 8 0 futexpl 64 22933 0 22928 10 9 1 1 0 8 0 knotepl 120 723 0 0 17 0 17 17 0 8 0 kqueuepl 216 784 0 772 16 14 2 5 0 8 1 pipepl 320 839 0 812 8 3 5 5 0 8 2 fdescpl 496 3830 0 3792 11 4 7 7 0 8 0 filepl 152 19498 0 19247 28 13 15 15 0 8 2 lockfpl 104 453 0 449 1 0 1 1 0 8 0 lockfspl 48 178 0 174 1 0 1 1 0 8 0 sessionpl 144 186 0 170 1 0 1 1 0 8 0 pgrppl 48 397 0 373 1 0 1 1 0 8 0 ucredpl 104 3132 0 3113 1 0 1 1 0 8 0 zombiepl 144 3794 0 3792 1 0 1 1 0 8 0 processpl 1160 3849 0 3792 10 4 6 6 0 8 0 procpl 648 6559 0 6491 9 2 7 8 0 8 0 srpgc 96 12 0 12 5 5 0 1 0 8 0 sosppl 168 15 0 15 9 8 1 1 0 8 1 sockpl 664 5562 0 5511 56 42 14 15 0 8 8 mcl64k 65536 24 0 0 3 0 3 3 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 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 155 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 82 0 0 6 1 5 5 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 536 0 0 23 0 23 23 0 8 0 bufpl 280 10296 0 2585 551 0 551 551 0 8 0 anonpl 24 523712 0 519140 134 64 70 83 0 185 29 amapchunkpl 152 89106 0 88224 58 22 36 43 0 158 2 amappl16 200 8271 0 8252 105 95 10 27 0 8 8 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 454 0 444 1 0 1 1 0 8 0 amappl13 176 52 0 52 2 2 0 1 0 8 0 amappl12 168 6578 0 6540 6 3 3 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 31 0 30 2 1 1 1 0 8 0 amappl9 144 178 0 177 2 1 1 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 408 0 396 1 0 1 1 0 8 0 amappl6 120 1460 0 1458 1 0 1 1 0 8 0 amappl5 112 691 0 682 1 0 1 1 0 8 0 amappl4 104 870 0 854 1 0 1 1 0 8 0 amappl3 96 17104 0 16957 4 0 4 4 0 8 0 amappl2 88 2842 0 2779 3 0 3 3 0 8 0 amappl1 80 34935 0 34398 22 4 18 20 0 8 0 amappl 88 27033 0 26816 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 142 0 12 3 0 3 3 0 8 0 uaddrrnd 24 3830 0 3792 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3830 0 3792 1 0 1 1 0 8 0 vmmpekpl 168 36312 0 36256 5 1 4 4 0 8 0 vmmpepl 168 246385 0 244327 156 56 100 119 0 357 7 vmsppl 448 3829 0 3792 7 1 6 7 0 8 0 rwobjpl 56 77730 0 70036 123 13 110 110 0 8 1 pdppl 4096 7667 0 7584 494 409 85 117 0 8 2 pvpl 32 45760 0 0 368 2 366 366 0 265 0 pmappl 248 3829 0 3792 7 3 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 998 0 564 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(fffffd806c070678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806c070590,fffffd806c070678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806c070560,fffffd8073748268,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806c070560,ffff800036f9a080,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806c070560,ffff800036f9a080,21000,3,7,5002,f7bbd9f2fc1697d6,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800037202038,ffff800036f9a1f0,ffff800036f9a140) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff800036f9a1f0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036f9a1f0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x767b0c834110, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:158 rw_status(fffffd807bb070b0) at rw_status+0x7f sys/kern/kern_rwlock.c:363 uvm_pagealloc_pg(fffffd8008ac2c00,0,0,fffffd8055fa7c30) at uvm_pagealloc_pg+0x25f sys/uvm/uvm_page.c:704 uvm_pagealloc(0,0,fffffd8055fa7c30,2) at uvm_pagealloc+0x23e sys/uvm/uvm_page.c:912 uvm_fault_lower(ffff800036facb40,ffff800036facb78,ffff800036facac0,2) at uvm_fault_lower+0x242 uvm_fault(fffffd806c070560,203e7000,2,3) at uvm_fault+0x301 sys/uvm/uvm_fault.c:637 uvm_fault_wire(fffffd806c070560,20010000,21000000,3) at uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 uvm_map_pageable_wire(fffffd806c070560,fffffd806c229808,0,ffff800037202a58,21,0) at uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 sys_mlockall(ffff800037202a58,ffff800036face50,ffff800036facda0) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff800036face50) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036face50) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd43fbe1c930, count: 1 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:158 rw_status(fffffd807bb070b0) at rw_status+0x7f sys/kern/kern_rwlock.c:363 uvm_pagealloc_pg(fffffd8008ac2c00,0,0,fffffd8055fa7c30) at uvm_pagealloc_pg+0x25f sys/uvm/uvm_page.c:704 uvm_pagealloc(0,0,fffffd8055fa7c30,2) at uvm_pagealloc+0x23e sys/uvm/uvm_page.c:912 uvm_fault_lower(ffff800036facb40,ffff800036facb78,ffff800036facac0,2) at uvm_fault_lower+0x242 uvm_fault(fffffd806c070560,203e7000,2,3) at uvm_fault+0x301 sys/uvm/uvm_fault.c:637 uvm_fault_wire(fffffd806c070560,20010000,21000000,3) at uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 uvm_map_pageable_wire(fffffd806c070560,fffffd806c229808,0,ffff800037202a58,21,0) at uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 sys_mlockall(ffff800037202a58,ffff800036face50,ffff800036facda0) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff800036face50) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800036face50) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd43fbe1c930, count: -14