panic: mtx 0xffffffff8397f6d8: locking against myself Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *330220 37390 32767 0x10 0 1 syz-executor 155177 37390 32767 0x10 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f5218) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff8397f6d8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff8397f6d8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd800861c020) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd805f201730,0,ffff80003c4890b8,ffff80003c48909c,0,2,408b496edff7c63b,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003c4892d0,ffff80003c489308,ffff80003c489150,ffff80003c489138) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003c4892d0,ffff80003c489308,ffff80003c489250) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b3887b0,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003c489460,2000000001c0) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003c489460) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x76ce6f65c570, count: 2 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: mtx 0xffffffff8397f6d8: locking against myself ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f5218) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff8397f6d8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff8397f6d8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd800861c020) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd805f201730,0,ffff80003c4890b8,ffff80003c48909c,0,2,408b496edff7c63b,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003c4892d0,ffff80003c489308,ffff80003c489150,ffff80003c489138) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003c4892d0,ffff80003c489308,ffff80003c489250) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b3887b0,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003c489460,2000000001c0) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003c489460) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x76ce6f65c570, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c488df0 rbx 0xffff8000299dedd7 rdx 0 rcx 0xffff80003c449218 rax 0xffff8000299ddff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x561a8c0da3818553 r11 0x1a0f95c31f4e881f r12 0xffff8000299debd8 r13 0 r14 0 r15 0x1 rip 0xffffffff81f45565 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c488de0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=330220 pid=37390 tcnt=4 stat=onproc flags process=10 proc=0 runpri=4, usrpri=50, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c448548,0xffff80003c448038 process=0xffff80003c468eb8 user=0xffff80003c484000, vmspace=0xfffffd806b3887b0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *37390 330220 79985 32767 7 0x10 syz-executor 37390 321174 79985 32767 3 0x4000090 fsleep syz-executor 37390 155177 79985 32767 7 0x4000010 syz-executor 37390 181150 79985 32767 3 0x4000090 fsleep syz-executor 62671 500226 25812 32767 2 0x10 syz-executor 62671 410977 25812 32767 3 0x4000090 fsleep syz-executor 28709 290948 87032 32767 2 0x10 syz-executor 28709 305128 87032 32767 3 0x4000090 fsleep syz-executor 76915 18431 15801 32767 2 0x10 syz-executor 76915 54716 15801 32767 3 0x4000090 ttyin syz-executor 12787 202448 84558 32767 2 0x10 syz-executor 12787 90669 84558 32767 3 0x4000090 fsleep syz-executor 12787 226880 84558 32767 2 0x4000010 syz-executor 6289 226042 7432 32767 2 0x10 syz-executor 84347 248984 22065 32767 2 0x10 syz-executor 84347 8119 22065 32767 3 0x4000090 fsleep syz-executor 84347 75491 22065 32767 3 0x4000090 fsleep syz-executor 64295 374591 92449 32767 3 0x90 nanoslp syz-executor 64295 153570 92449 32767 3 0x4000090 ttyout syz-executor 64295 386612 92449 32767 3 0x4000090 fsleep syz-executor 64295 473860 92449 32767 3 0x4000090 fsleep syz-executor 44341 41429 0 0 3 0x14200 bored sosplice 84558 166293 52466 32767 3 0x90 nanoslp syz-executor 87032 42119 8708 32767 3 0x90 nanoslp syz-executor 79985 190210 4810 32767 3 0x90 nanoslp syz-executor 25812 346389 42980 32767 3 0x90 nanoslp syz-executor 22065 25588 56743 32767 3 0x90 nanoslp syz-executor 15801 67695 21279 32767 3 0x90 nanoslp syz-executor 92449 449109 30157 32767 3 0x90 nanoslp syz-executor 7432 336330 75641 32767 3 0x90 nanoslp syz-executor 56743 316585 97928 0 3 0x82 wait syz-executor 8708 211536 97928 0 3 0x82 wait syz-executor 42980 86556 97928 0 3 0x82 wait syz-executor 52466 176140 97928 0 3 0x82 wait syz-executor 4810 238069 97928 0 3 0x82 wait syz-executor 30157 485603 97928 0 3 0x82 wait syz-executor 21279 280722 97928 0 3 0x82 wait syz-executor 75641 272165 97928 0 3 0x82 wait syz-executor 97928 225134 85886 0 3 0x82 kqread syz-executor 85886 278172 86005 0 3 0x10008a sigsusp ksh 86005 381847 17965 0 3 0x98 kqread sshd-session 17965 408078 82957 0 3 0x92 kqread sshd-session 45404 288662 1 0 3 0x100083 ttyin getty 82957 306231 1 0 3 0x88 kqread sshd 43472 519992 64690 73 3 0x1100090 kqread syslogd 64690 33277 1 0 3 0x100082 sbwait syslogd 28364 158989 1 0 3 0x100080 kqread resolvd 23273 297676 21113 77 3 0x100092 kqread dhcpleased 57540 443763 21113 77 3 0x100092 kqread dhcpleased 21113 444615 1 0 3 0x80 kqread dhcpleased 26463 85234 0 0 3 0x14200 bored smr 98955 275757 0 0 2 0x14200 zerothread 48889 30983 0 0 3 0x14200 aiodoned aiodoned 51860 265370 0 0 3 0x14200 syncer update 18358 240290 0 0 3 0x14200 cleaner cleaner 27071 473459 0 0 3 0x14200 reaper reaper 86172 413134 0 0 3 0x14200 pgdaemon pagedaemon 21951 422134 0 0 3 0x14200 bored viomb 22789 61556 0 0 3 0x40014200 acpi0 acpi0 25041 477707 0 0 3 0x40014200 idle1 91994 190141 0 0 3 0x14200 bored softnet7 83871 438550 0 0 3 0x14200 bored softnet6 37625 523704 0 0 3 0x14200 bored softnet5 47210 522500 0 0 3 0x14200 bored softnet4 84709 129531 0 0 3 0x14200 bored softnet3 39875 237404 0 0 3 0x14200 bored softnet2 1852 106270 0 0 3 0x14200 bored softnet1 89611 210771 0 0 3 0x14200 bored softnet0 46217 221284 0 0 3 0x14200 bored systqmp 54593 54671 0 0 3 0x14200 bored systq 40033 232043 0 0 3 0x14200 tmoslp softclockmp 69858 19720 0 0 3 0x40014200 tmoslp softclock 82894 98645 0 0 3 0x40014200 idle0 1 359750 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &uvm.pageqlock r = 0 (0xffffffff8397f6e8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 uvn_get+0x679 sys/uvm/uvm_vnode.c:1117 #4 uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 #5 uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 #6 uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 #7 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #8 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #9 recall_trap+0x8 Process 37390 (syz-executor) thread 0xffff80003c449218 (330220) exclusive rwlock uobjlk r = 0 (0xfffffd80691f6d18) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x377 sys/kern/kern_rwlock.c:310 #2 uvn_io+0x667 sys/uvm/uvm_vnode.c:1297 #3 uvn_get+0x31d sys/uvm/uvm_vnode.c:1102 #4 uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 #5 uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 #6 uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 #7 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #8 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #9 recall_trap+0x8 exclusive mutex &uvm.pageqlock r = 0 (0xffffffff8397f6e8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 uvn_get+0x679 sys/uvm/uvm_vnode.c:1117 #4 uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 #5 uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 #6 uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 #7 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #8 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #9 recall_trap+0x8 Process 37390 (syz-executor) thread 0xffff80003c449738 (155177) exclusive rrwlock inode r = 0 (0xfffffd80647e01c0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x377 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:605 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 sys_ftruncate+0x1c4 sys/kern/vfs_syscalls.c:2912 #6 syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10195 10956K 10968K 166960K 11273 0 pcb 17 12K 12K 166960K 17 0 rtable 207 5K 6K 166960K 261 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 6 0 counters 68 36K 36K 166960K 68 0 ioctlops 0 0K 2K 166960K 32 0 iov 0 0K 13K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1334 84K 84K 166960K 1357 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 14 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 26 97K 125K 166960K 261 0 sigio 0 0K 0K 166960K 1 0 proc 58 79K 115K 166960K 483 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 28 0 in_multi 99 7K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 mrt 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 355 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 268 176K 199K 166960K 3889 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 47 94K 114K 166960K 1298 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 11 0 NDP 11 0K 2K 166960K 27 0 temp 40 8675K 8739K 166960K 4232 0 kqueue 14 22K 34K 166960K 54 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 41 0 38 1 0 1 1 0 8 0 rtentry 176 96 0 1 5 0 5 5 0 8 0 unpcb 144 160 0 145 4 0 4 4 0 8 3 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 62 0 54 2 0 2 2 0 8 0 arp 128 10 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 328 169 0 155 2 0 2 2 0 8 0 nd6 144 17 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 439 0 0 28 0 28 28 0 8 0 art_table 40 440 0 0 5 0 5 5 0 8 0 art_node 32 96 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 11 0 1 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1719 0 213 95 0 95 95 0 8 0 ffsino 288 1719 0 213 109 0 109 109 0 8 1 nchpl 144 2066 0 387 63 0 63 63 0 8 0 uvmvnodes 80 1800 0 0 37 0 37 37 0 8 0 vnodes 216 1800 0 0 100 0 100 100 0 8 0 namei 1024 6242 0 6242 2 0 2 2 0 8 2 percpumem 16 49 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 7953 0 7953 10 2 8 8 1 8 8 plimitpl 152 74 0 47 2 0 2 2 0 8 0 sigapl 424 548 0 487 8 0 8 8 0 8 0 knotepl 120 542 0 0 17 0 17 17 0 8 0 kqueuepl 224 53 0 41 1 0 1 1 0 8 0 pipepl 336 112 0 84 3 0 3 3 0 8 0 fdescpl 520 525 0 487 4 0 4 4 0 8 0 filepl 160 2089 0 1857 13 0 13 13 0 8 3 lockfpl 104 30 0 27 1 0 1 1 0 8 0 lockfspl 48 14 0 11 1 0 1 1 0 8 0 sessionpl 144 24 0 8 1 0 1 1 0 8 0 pgrppl 48 34 0 10 1 0 1 1 0 8 0 ucredpl 104 250 0 231 1 0 1 1 0 8 0 zombiepl 144 487 0 487 1 0 1 1 0 8 1 processpl 1240 548 0 487 7 1 6 6 0 8 0 procpl 656 753 0 679 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 728 372 0 340 10 0 10 10 0 8 5 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 132 0 0 17 0 17 17 0 8 0 mcl2k 2048 21 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 260 0 0 17 0 17 17 0 8 0 bufpl 280 3264 0 116 225 0 225 225 0 8 0 anonpl 32 7397 0 0 60 0 60 60 0 246 0 amapchunkpl 152 11771 0 11165 31 1 30 30 0 158 6 amappl16 200 2374 0 2351 14 3 11 14 0 8 8 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 110 0 100 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 1142 0 1104 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 246 0 246 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 172 0 169 1 0 1 1 0 8 0 amappl5 112 117 0 110 1 0 1 1 0 8 0 amappl4 104 274 0 259 1 0 1 1 0 8 0 amappl3 96 1967 0 1825 4 0 4 4 0 8 0 amappl2 88 629 0 575 2 0 2 2 0 8 0 amappl1 80 9121 0 8539 14 0 14 14 0 8 0 amappl 88 3220 0 3019 5 0 5 5 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 525 0 487 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 525 0 487 1 0 1 1 0 8 0 vmmpekpl 168 5945 0 5911 2 0 2 2 0 8 0 vmmpepl 168 40250 0 38082 105 0 105 105 0 357 8 vmsppl 480 524 0 487 7 1 6 6 0 8 0 rwobjpl 72 16071 0 13399 52 0 52 52 0 8 1 pdppl 4096 1058 0 974 112 26 86 98 0 8 2 pvpl 32 14105 0 0 114 0 114 114 0 265 0 pmappl 256 524 0 487 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 403 0 29 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83805ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 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(ffffffff83982b60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83982b60) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83982b60) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83982b60) at __mp_lock+0x19e sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83982b60,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2da sys/kern/kern_synch.c:366 biowait(fffffd806f017010) at biowait+0xc1 sys/kern/vfs_bio.c:1242 bwrite(fffffd806f017010) at bwrite+0x2e5 sys/kern/vfs_bio.c:754 ffs_update(fffffd80647e0120,1) at ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd80647e0120,79c8,0,fffffd80097fb138) at ffs_truncate+0x6c8 sys/ufs/ffs/ffs_inode.c:197 end trace frame: 0xffff80003c49da30, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83805ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 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(ffffffff83982b60) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83982b60) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x12a sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83982b60) at __mp_lock+0x19e __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83982b60) at __mp_lock+0x19e sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83982b60,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2da sys/kern/kern_synch.c:366 biowait(fffffd806f017010) at biowait+0xc1 sys/kern/vfs_bio.c:1242 bwrite(fffffd806f017010) at bwrite+0x2e5 sys/kern/vfs_bio.c:754 ffs_update(fffffd80647e0120,1) at ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd80647e0120,79c8,0,fffffd80097fb138) at ffs_truncate+0x6c8 sys/ufs/ffs/ffs_inode.c:197 ufs_setattr(ffff80003c49da40) at ufs_setattr+0x912 sys/ufs/ufs/ufs_vnops.c:403 VOP_SETATTR(fffffd80647f1c10,ffff80003c49dac8,fffffd80097fb138,ffff80003c449738) at VOP_SETATTR+0x11c sys/kern/vfs_vops.c:210 dotruncate(ffff80003c449738,fffffd80647f1c10,79c8) at dotruncate+0x1d6 sys/kern/vfs_syscalls.c:2860 sys_ftruncate(ffff80003c449738,ffff80003c49dcf0,ffff80003c49dc40) at sys_ftruncate+0x1dd sys/kern/vfs_syscalls.c:2912 syscall(ffff80003c49dcf0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49dcf0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd7894f8e900, count: -20 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:438 panic(ffffffff833f5218) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff8397f6d8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff8397f6d8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd800861c020) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd805f201730,0,ffff80003c4890b8,ffff80003c48909c,0,2,408b496edff7c63b,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003c4892d0,ffff80003c489308,ffff80003c489150,ffff80003c489138) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003c4892d0,ffff80003c489308,ffff80003c489250) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b3887b0,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003c489460,2000000001c0) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003c489460) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x76ce6f65c570, count: 2 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f5218) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff8397f6d8) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff8397f6d8) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd800861c020) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd800861c020) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd805f201730,0,ffff80003c4890b8,ffff80003c48909c,0,2,408b496edff7c63b,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff80003c4892d0,ffff80003c489308,ffff80003c489150,ffff80003c489138) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff80003c4892d0,ffff80003c489308,ffff80003c489250) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b3887b0,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff80003c489460,2000000001c0) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff80003c489460) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x76ce6f65c570, count: -13