panic: pmap_remove_ptes: unmanaged page marked PG_PVLIST: va 0x1b2c216000, opte 0xffffffffffffffff Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 128444 73869 0 0x2 0 0 syz-executor *276166 4444 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83074795) at panic+0x1e5 sys/kern/subr_prf.c:198 pmap_remove_pte(fffffd806d1401f8,fffffd800898a600,7f800d961000,1b2c200000,1b2c220000,0) at pmap_remove_pte pmap_do_remove(fffffd806d1401f8,1b2be60000,1b2c220000,0) at pmap_do_remove+0x533 sys/arch/amd64/amd64/pmap.c:1911 uvm_unmap_kill_entry_withlock(fffffd80685dba60,fffffd806b1ebe28,0) at uvm_unmap_kill_entry_withlock+0x274 sys/uvm/uvm_map.c:1865 uvm_map_teardown(fffffd80685dba60) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd80685dba60) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd91c0) at reaper+0x246 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: 7 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: pmap_remove_ptes: unmanaged page marked PG_PVLIST: va 0x1b2c216000, opte 0xffffffffffffffff ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83074795) at panic+0x1e5 sys/kern/subr_prf.c:198 pmap_remove_pte(fffffd806d1401f8,fffffd800898a600,7f800d961000,1b2c200000,1b2c220000,0) at pmap_remove_pte pmap_do_remove(fffffd806d1401f8,1b2be60000,1b2c220000,0) at pmap_do_remove+0x533 sys/arch/amd64/amd64/pmap.c:1911 uvm_unmap_kill_entry_withlock(fffffd80685dba60,fffffd806b1ebe28,0) at uvm_unmap_kill_entry_withlock+0x274 sys/uvm/uvm_map.c:1865 uvm_map_teardown(fffffd80685dba60) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd80685dba60) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd91c0) at reaper+0x246 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800029fe4cf0 rbx 0xffff800029b7cd87 rdx 0 rcx 0xffff800029fd91c0 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2e01ef6fef00bcc1 r11 0x467e9bde44ddebb9 r12 0xffff800029b7cb88 r13 0 r14 0 r15 0x1 rip 0xffffffff817459e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800029fe4ce0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) tid=276166 pid=4444 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=4, usrpri=75, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800029fd96d0,0xffff800029fd8f48 process=0xffff800029febaf0 user=0xffff800029fe0000, vmspace=0xffffffff83577c58 estcpu=25, cpticks=17, pctcpu=13.11, user=0, sys=15247, intr=280 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 58535 331704 6836 0 2 0 syz-executor 58535 287348 6836 0 2 0x4000000 syz-executor 74297 456464 59432 0 2 0 syz-executor 74297 367007 59432 0 3 0x4000080 rest syz-executor 96427 150650 31707 0 3 0x80 nanoslp syz-executor 96427 491197 31707 0 3 0x4000080 ttyopn syz-executor 96427 466010 31707 0 3 0x4000080 fsleep syz-executor 96427 219409 31707 0 3 0x4000080 fsleep syz-executor 81607 373486 79055 0 3 0x80 nanoslp syz-executor 81607 199232 79055 0 3 0x4000080 fsleep syz-executor 81607 20093 79055 0 3 0x4000080 pipewr syz-executor 81607 276463 79055 0 3 0x4000080 fsleep syz-executor 71995 499913 52675 0 3 0x80 nanoslp syz-executor 71995 38293 52675 0 3 0x4000080 sbwait syz-executor 71995 357839 52675 0 3 0x4000080 fsleep syz-executor 71995 229586 52675 0 3 0x4000080 fsleep syz-executor 19515 43777 0 0 3 0x14200 acct acct 1410 317021 9461 0 3 0x82 nanoslp syz-executor 52675 184521 9461 0 3 0x82 nanoslp syz-executor 6836 487280 9461 0 3 0x82 nanoslp syz-executor 59432 330485 9461 0 3 0x82 nanoslp syz-executor 79055 493036 9461 0 3 0x82 nanoslp syz-executor 98073 111041 9461 0 2 0x2 syz-executor 31707 263923 9461 0 3 0x82 nanoslp syz-executor 73869 128444 9461 0 7 0x2 syz-executor 49111 100817 1 0 3 0x100083 ttyin getty 56015 122183 0 0 3 0x14200 bored sosplice 36979 365927 1 0 3 0x3800 suspend syz-executor 36979 477516 1 0 4 0x4081800 syz-executor 9461 72354 46339 0 3 0x82 kqread syz-executor 46339 185500 62375 0 3 0x10008a sigsusp ksh 62375 202254 37870 0 3 0x98 kqread sshd-session 37870 333085 64502 0 3 0x92 kqread sshd-session 64502 59879 1 0 3 0x88 kqread sshd 65556 257123 17753 74 3 0x1100092 bpf pflogd 17753 352459 1 0 3 0x80 sbwait pflogd 87584 522723 22665 73 3 0x1100090 kqread syslogd 22665 50145 1 0 3 0x100082 sbwait syslogd 22679 69882 1 0 3 0x100080 kqread resolvd 47634 154455 40649 77 3 0x100092 kqread dhcpleased 65595 420829 40649 77 3 0x100092 kqread dhcpleased 40649 75629 1 0 3 0x80 kqread dhcpleased 3673 204666 0 0 3 0x14200 bored smr 28019 391480 0 0 2 0x14200 zerothread 74594 469792 0 0 3 0x14200 aiodoned aiodoned 90205 56443 0 0 3 0x14200 syncer update 82215 321431 0 0 3 0x14200 cleaner cleaner * 4444 276166 0 0 7 0x14200 reaper 57144 119352 0 0 3 0x14200 pgdaemon pagedaemon 60281 351177 0 0 3 0x14200 bored viomb 34694 437707 0 0 3 0x40014200 acpi0 acpi0 27079 322107 0 0 3 0x40014200 idle1 7740 488617 0 0 3 0x14200 bored softnet3 6519 177269 0 0 3 0x14200 bored softnet2 3538 7918 0 0 3 0x14200 bored softnet1 53462 343708 0 0 3 0x14200 bored softnet0 19396 366902 0 0 3 0x14200 bored systqmp 75673 140264 0 0 3 0x14200 bored systq 72258 396805 0 0 3 0x14200 tmoslp softclockmp 28625 504098 0 0 3 0x40014200 tmoslp softclock 80826 421945 0 0 3 0x40014200 idle0 1 386351 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd806d140208) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 pmap_do_remove+0xa9 rcr3 machine/cpufunc.h:139 [inline] #3 pmap_do_remove+0xa9 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:430 [inline] #3 pmap_do_remove+0xa9 sys/arch/amd64/amd64/pmap.c:1815 #4 uvm_unmap_kill_entry_withlock+0x274 sys/uvm/uvm_map.c:1865 #5 uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 #6 uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 #7 reaper+0x246 sys/kern/kern_exit.c:481 #8 proc_trampoline+0x10 Process 73869 (syz-executor) thread 0xffff800032586f60 (128444) exclusive rrwlock inode r = 0 (0xfffffd806a0c3e78) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #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 vget+0x2bd sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x171 sys/ufs/ufs/ufs_ihash.c:95 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806a0c33d8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #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 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #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 4444 (reaper) thread 0xffff800029fd91c0 (276166) exclusive rwlock vmmaplk r = 0 (0xfffffd80685dbb50) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0x143 sys/uvm/uvm_map.c:5252 #3 uvm_map_teardown+0x5e sys/uvm/uvm_map.c:2466 #4 uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 #5 reaper+0x246 sys/kern/kern_exit.c:481 #6 proc_trampoline+0x10 exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd806d140208) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 pmap_do_remove+0xa9 rcr3 machine/cpufunc.h:139 [inline] #3 pmap_do_remove+0xa9 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:430 [inline] #3 pmap_do_remove+0xa9 sys/arch/amd64/amd64/pmap.c:1815 #4 uvm_unmap_kill_entry_withlock+0x274 sys/uvm/uvm_map.c:1865 #5 uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 #6 uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 #7 reaper+0x246 sys/kern/kern_exit.c:481 #8 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10221 10238K 10562K 166960K 13682 0 pcb 18 16K 18K 166960K 419 0 rtable 217 9K 10K 166960K 2907 0 pf 43 19K 22K 166960K 426 0 ifaddr 43 8K 8K 166960K 401 0 ifgroup 62 2K 2K 166960K 464 0 sysctl 3 0K 2K 166960K 40 0 counters 68 36K 37K 166960K 276 0 ioctlops 0 0K 4K 166960K 2036 0 iov 0 0K 16K 166960K 129 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1522 96K 96K 166960K 4000 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 19 11K 11K 166960K 42 0 dirhash 15 2K 3K 166960K 51 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 89K 166960K 2887 0 sigio 0 0K 0K 166960K 30 0 proc 71 91K 140K 166960K 2891 0 subproc 117 7K 7K 166960K 1223 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 392 0 in_multi 94 6K 7K 166960K 1015 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 169 758K 758K 166960K 169 0 exec 0 0K 1K 166960K 1655 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 274 122K 140K 166960K 23841 0 UVM aobj 55 2K 3K 166960K 59 0 pinsyscall 41 82K 102K 166960K 6040 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 131 0 NDP 15 0K 2K 166960K 296 0 temp 81 6824K 6892K 166960K 159959 0 kqueue 13 20K 28K 166960K 285 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 364 0 360 3 1 2 2 0 8 1 rtentry 112 1017 0 924 4 1 3 4 0 8 0 unpcb 144 1620 0 1537 14 10 4 4 0 8 0 syncache 336 4 0 4 3 2 1 1 0 8 1 tcpcb 808 669 0 665 18 16 2 8 0 8 1 arp 120 182 0 164 1 0 1 1 0 8 0 inpcb 336 2537 0 2527 41 34 7 12 0 8 5 nd6 136 270 0 248 1 0 1 1 0 8 0 pkpcb 40 16 0 16 7 6 1 1 0 8 1 kcovpl 48 94 0 85 1 0 1 1 0 8 0 ppxss 1168 12 0 11 3 2 1 1 0 8 0 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pffrag 232 54 0 51 2 1 1 1 0 482 0 pffrnode 88 54 0 51 2 1 1 1 0 8 0 pffrent 40 383 0 380 2 1 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 18 0 14 1 0 1 1 0 8 0 pfanchor 1288 5 0 3 1 0 1 1 0 8 0 pftag 88 11 0 6 1 0 1 1 0 8 0 pfqueue 264 1 0 0 1 0 1 1 0 8 0 pfstitem 24 188 0 145 1 0 1 1 0 8 0 pfstkey 128 191 0 148 2 0 2 2 0 8 0 pfstate 376 189 0 147 6 1 5 5 0 8 0 pfrule 1344 125 0 35 9 1 8 8 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 4105 0 3676 41 13 28 29 0 8 0 art_table 32 4107 0 3676 4 0 4 4 0 8 0 art_node 16 1012 0 929 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 38 0 21 1 0 1 1 0 8 0 shmpl 112 56 0 4 2 0 2 2 0 8 0 dirhash 1024 43 0 24 3 0 3 3 0 8 0 dino2pl 256 4701 0 3023 106 0 106 106 0 8 0 ffsino 272 4701 0 3023 113 0 113 113 0 8 0 nchpl 144 7300 0 6632 66 38 28 66 0 8 0 uvmvnodes 80 6834 0 0 140 0 140 140 0 8 0 vnodes 216 6834 0 0 380 0 380 380 0 8 0 namei 1024 32754 0 32754 8 7 1 1 0 8 1 percpumem 16 152 0 104 1 0 1 1 0 8 0 vcpupl 3904 10 0 1 2 0 2 2 0 8 0 vmpool 696 14 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 11 0 7 3 2 1 1 0 8 0 kstatmem 264 236 0 208 4 1 3 3 0 8 1 scsiplug 72 7 0 7 5 5 0 1 0 8 0 scxspl 216 56816 0 56816 20 17 3 8 1 8 3 plimitpl 152 447 0 428 2 1 1 2 0 8 0 sigapl 424 3036 0 2985 12 3 9 9 0 8 2 futexpl 64 26244 0 26238 8 7 1 1 0 8 0 knotepl 120 585 0 0 16 0 16 16 0 8 0 kqueuepl 216 499 0 490 5 4 1 3 0 8 0 pipepl 320 533 0 504 7 4 3 6 0 8 0 fdescpl 496 2996 0 2966 7 2 5 5 0 8 0 filepl 152 17091 0 16716 55 37 18 18 0 8 3 lockfpl 104 527 0 525 1 0 1 1 0 8 0 lockfspl 48 230 0 228 1 0 1 1 0 8 0 sessionpl 144 103 0 94 1 0 1 1 0 8 0 pgrppl 48 252 0 234 1 0 1 1 0 8 0 ucredpl 104 2530 0 2516 1 0 1 1 0 8 0 zombiepl 144 2987 0 2985 1 0 1 1 0 8 0 processpl 1160 3036 0 2985 7 1 6 6 0 8 1 procpl 648 5698 0 5635 12 4 8 9 0 8 1 srpgc 96 14 0 14 5 4 1 1 0 8 1 sosppl 168 10 0 10 6 5 1 1 0 8 1 sockpl 664 4555 0 4458 55 45 10 15 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 273 0 0 29 0 29 29 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 735 0 0 35 0 35 35 0 8 0 bufpl 280 13203 0 5492 551 0 551 551 0 8 0 anonpl 24 456028 0 451943 123 72 51 72 0 185 12 amapchunkpl 152 76005 0 75412 64 32 32 41 0 158 4 amappl16 200 9142 0 9105 79 64 15 16 0 8 10 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 279 0 267 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 4920 0 4889 3 1 2 2 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 170 0 169 1 0 1 1 0 8 0 amappl8 136 17 0 14 1 0 1 1 0 8 0 amappl7 128 267 0 255 1 0 1 1 0 8 0 amappl6 120 975 0 973 1 0 1 1 0 8 0 amappl5 112 453 0 441 1 0 1 1 0 8 0 amappl4 104 567 0 548 1 0 1 1 0 8 0 amappl3 96 14987 0 14854 4 0 4 4 0 8 0 amappl2 88 1741 0 1676 2 0 2 2 0 8 0 amappl1 80 20768 0 20178 17 3 14 14 0 8 0 amappl 88 22769 0 22566 7 1 6 6 0 92 0 dma8192 8192 1 0 1 1 1 0 1 0 8 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 dma512 512 1 0 1 1 1 0 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 58 0 4 1 0 1 1 0 8 0 uaddrrnd 24 3010 0 2971 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3010 0 2971 1 0 1 1 0 8 0 vmmpekpl 168 25729 0 25666 4 0 4 4 0 8 0 vmmpepl 168 188001 0 186042 135 35 100 101 0 357 9 vmsppl 440 3009 0 2970 7 2 5 5 0 8 0 rwobjpl 56 59979 0 52069 118 3 115 115 0 8 2 pdppl 4096 6027 0 5949 206 124 82 86 0 8 4 pvpl 32 32069 0 0 260 2 258 258 0 265 0 pmappl 248 3009 0 2970 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 617 0 202 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834d4ff0) 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(ffffffff83627bb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83627bb8) 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 __mp_lock(ffffffff83627bb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83627bb8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff83627bb8,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x219 sys/kern/kern_synch.c:416 biowait(fffffd8057026140) at biowait+0xc1 sys/kern/vfs_bio.c:1254 bwrite(fffffd8057026140) at bwrite+0x2e2 sys/kern/vfs_bio.c:766 ffs_update(fffffd806a0c3de0,1) at ffs_update+0x34c sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd806a0c3de0,0,4,fffffd807f7d3410) at ffs_truncate+0xcb6 end trace frame: 0xffff80002ffd79e0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff834d4ff0) 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(ffffffff83627bb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83627bb8) 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 __mp_lock(ffffffff83627bb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83627bb8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff83627bb8,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x219 sys/kern/kern_synch.c:416 biowait(fffffd8057026140) at biowait+0xc1 sys/kern/vfs_bio.c:1254 bwrite(fffffd8057026140) at bwrite+0x2e2 sys/kern/vfs_bio.c:766 ffs_update(fffffd806a0c3de0,1) at ffs_update+0x34c sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd806a0c3de0,0,4,fffffd807f7d3410) at ffs_truncate+0xcb6 ufs_rmdir(ffff80002ffd79f8) at ufs_rmdir+0x374 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd80550407a0,fffffd8073283d88,ffff80002ffd7ad8) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff800032586f60,ffffff9c,7293897773c0,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1885 syscall(ffff80002ffd7c50) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002ffd7c50) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7293897773b0, count: -19 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(ffffffff83074795) at panic+0x1e5 sys/kern/subr_prf.c:198 pmap_remove_pte(fffffd806d1401f8,fffffd800898a600,7f800d961000,1b2c200000,1b2c220000,0) at pmap_remove_pte pmap_do_remove(fffffd806d1401f8,1b2be60000,1b2c220000,0) at pmap_do_remove+0x533 sys/arch/amd64/amd64/pmap.c:1911 uvm_unmap_kill_entry_withlock(fffffd80685dba60,fffffd806b1ebe28,0) at uvm_unmap_kill_entry_withlock+0x274 sys/uvm/uvm_map.c:1865 uvm_map_teardown(fffffd80685dba60) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd80685dba60) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd91c0) at reaper+0x246 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83074795) at panic+0x1e5 sys/kern/subr_prf.c:198 pmap_remove_pte(fffffd806d1401f8,fffffd800898a600,7f800d961000,1b2c200000,1b2c220000,0) at pmap_remove_pte pmap_do_remove(fffffd806d1401f8,1b2be60000,1b2c220000,0) at pmap_do_remove+0x533 sys/arch/amd64/amd64/pmap.c:1911 uvm_unmap_kill_entry_withlock(fffffd80685dba60,fffffd806b1ebe28,0) at uvm_unmap_kill_entry_withlock+0x274 sys/uvm/uvm_map.c:1865 uvm_map_teardown(fffffd80685dba60) at uvm_map_teardown+0x1c7 sys/uvm/uvm_map.c:2498 uvmspace_free(fffffd80685dba60) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd91c0) at reaper+0x246 sys/kern/kern_exit.c:481 end trace frame: 0x0, count: -8