panic: mtx 0xffffffff83911c70: locking against myself Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 36575 78039 32767 0x10 0 1 syz-executor 233345 78039 32767 0x10 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f3249) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff83911c70) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff83911c70) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8008379008) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd8063c4c400,0,ffff8000313ff3d8,ffff8000313ff3bc,0,2,6334a59c8c2a5720,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff470,ffff8000313ff458) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff570) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b9a4400,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff8000313ff780,200000000680) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000313ff780) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f61c6659390, 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 0xffffffff83911c70: locking against myself ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f3249) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff83911c70) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff83911c70) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8008379008) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd8063c4c400,0,ffff8000313ff3d8,ffff8000313ff3bc,0,2,6334a59c8c2a5720,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff470,ffff8000313ff458) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff570) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b9a4400,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff8000313ff780,200000000680) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000313ff780) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f61c6659390, count: -13 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000313ff110 rbx 0xffff8000299deddf rdx 0 rcx 0xffff80003a048548 rax 0xffff8000299ddff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x8f2d39e6c775f499 r11 0xc0a064b9d656bcd2 r12 0xffff8000299debe0 r13 0 r14 0 r15 0x1 rip 0xffffffff818b3655 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000313ff100 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=36575 pid=78039 tcnt=4 stat=onproc flags process=10 proc=0 runpri=50, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a2d4020,0xffff80003a0487e8 process=0xffff80003c469d70 user=0xffff8000313fa000, vmspace=0xfffffd806b9a4400 estcpu=36, cpticks=1, pctcpu=0.0, user=1, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *78039 36575 81566 32767 7 0x10 syz-executor 78039 89330 81566 32767 3 0x4000090 fsleep syz-executor 78039 233345 81566 32767 7 0x4000010 syz-executor 78039 306250 81566 32767 3 0x4000090 fsleep syz-executor 18780 517135 41974 32767 3 0x90 nanoslp syz-executor 18780 20278 41974 32767 3 0x4000090 msgwait syz-executor 18780 206946 41974 32767 3 0x4000090 fsleep syz-executor 98501 138675 84624 32767 3 0x90 nanoslp syz-executor 98501 147504 84624 32767 3 0x4000090 ttyin syz-executor 98501 216869 84624 32767 3 0x4000090 fsleep syz-executor 56994 131249 47218 32767 3 0x90 nanoslp syz-executor 56994 56713 47218 32767 3 0x4000090 ttyin syz-executor 56994 236885 47218 32767 3 0x4000090 fsleep syz-executor 37865 410349 36746 32767 3 0x90 nanoslp syz-executor 37865 408325 36746 32767 3 0x4000090 lockf syz-executor 37865 38588 36746 32767 3 0x4000090 lockf syz-executor 37865 392991 36746 32767 3 0x4000090 kqsel syz-executor 37865 480009 36746 32767 3 0x4000090 fsleep syz-executor 58738 484295 0 0 3 0x14200 bored sosplice 36746 139991 82003 32767 3 0x90 nanoslp syz-executor 84624 22607 20302 32767 3 0x90 nanoslp syz-executor 41974 293174 90660 32767 3 0x90 nanoslp syz-executor 63727 34587 55022 32767 3 0x90 nanoslp syz-executor 81566 247124 65456 32767 3 0x90 nanoslp syz-executor 47218 253226 2296 32767 3 0x90 nanoslp syz-executor 82003 171015 81779 0 3 0x82 wait syz-executor 14003 246865 81779 0 3 0x82 wait syz-executor 19111 139041 81779 0 3 0x82 wait syz-executor 20302 26542 81779 0 3 0x82 wait syz-executor 90660 232448 81779 0 3 0x82 wait syz-executor 65456 225680 81779 0 3 0x82 wait syz-executor 55022 322784 81779 0 3 0x82 wait syz-executor 2296 191519 81779 0 3 0x82 wait syz-executor 81779 58549 16146 0 3 0x82 kqread syz-executor 16146 478206 5067 0 3 0x10008a sigsusp ksh 5067 382588 68563 0 3 0x98 kqread sshd-session 68563 517099 9060 0 3 0x92 kqread sshd-session 76201 42859 1 0 3 0x100083 ttyin getty 9060 316744 1 0 3 0x88 kqread sshd 40184 381374 35676 73 3 0x1100090 kqread syslogd 35676 290794 1 0 3 0x100082 sbwait syslogd 64330 75435 1 0 3 0x100080 kqread resolvd 27591 505118 54888 77 3 0x100092 kqread dhcpleased 60835 414472 54888 77 3 0x100092 kqread dhcpleased 54888 231098 1 0 3 0x80 kqread dhcpleased 55337 178236 0 0 3 0x14200 bored smr 46523 406447 0 0 3 0x14200 pgzero zerothread 20201 271544 0 0 3 0x14200 aiodoned aiodoned 86485 118886 0 0 3 0x14200 syncer update 40863 179487 0 0 3 0x14200 cleaner cleaner 61151 152846 0 0 3 0x14200 reaper reaper 25550 455713 0 0 3 0x14200 pgdaemon pagedaemon 92500 204520 0 0 3 0x14200 bored viomb 60208 109147 0 0 3 0x40014200 acpi0 acpi0 57052 207405 0 0 3 0x40014200 idle1 77599 458358 0 0 3 0x14200 bored softnet7 52228 218149 0 0 3 0x14200 bored softnet6 61528 183897 0 0 3 0x14200 bored softnet5 69778 387350 0 0 3 0x14200 bored softnet4 81905 287092 0 0 3 0x14200 bored softnet3 95822 437938 0 0 3 0x14200 bored softnet2 15637 252454 0 0 3 0x14200 bored softnet1 66272 273539 0 0 3 0x14200 bored softnet0 68770 363910 0 0 3 0x14200 bored systqmp 33594 475214 0 0 3 0x14200 bored systq 38178 61817 0 0 3 0x14200 tmoslp softclockmp 22103 284156 0 0 3 0x40014200 tmoslp softclock 13805 76817 0 0 3 0x40014200 idle0 1 93757 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 (0xffffffff83911c80) #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 78039 (syz-executor) thread 0xffff80003a048548 (36575) exclusive rwlock uobjlk r = 0 (0xfffffd8064f395a0) #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+0x42b sys/kern/kern_rwlock.c:319 #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 (0xffffffff83911c80) #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 78039 (syz-executor) thread 0xffff80003a048f88 (233345) exclusive rrwlock inode r = 0 (0xfffffd806494f7d0) #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+0x42b sys/kern/kern_rwlock.c:319 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #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 10194 10956K 10968K 166960K 11272 0 pcb 17 12K 12K 166960K 17 0 rtable 209 6K 6K 166960K 272 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 5 0 counters 68 36K 36K 166960K 68 0 ioctlops 0 0K 2K 166960K 32 0 iov 0 0K 12K 166960K 73 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1334 84K 84K 166960K 1352 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 24 89K 125K 166960K 216 0 sigio 0 0K 0K 166960K 3 0 proc 59 115K 163K 166960K 493 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 0 0K 0K 166960K 14 0 in_multi 99 7K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 361 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 254 168K 182K 166960K 3600 0 UVM aobj 4 2K 2K 166960K 5 0 pinsyscall 45 90K 111K 166960K 1258 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 2 0 NDP 11 0K 2K 166960K 27 0 temp 43 8675K 8739K 166960K 4067 0 kqueue 14 22K 24K 166960K 35 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 48 0 44 1 0 1 1 0 8 0 rtentry 176 97 0 1 5 0 5 5 0 8 0 unpcb 144 170 0 155 4 0 4 4 0 8 3 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 50 0 46 1 0 1 1 0 8 0 arp 128 10 0 0 1 0 1 1 0 8 0 inpcb 328 169 0 158 5 0 5 5 0 8 3 nd6 144 18 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 453 0 0 29 0 29 29 0 8 0 art_table 40 454 0 0 5 0 5 5 0 8 0 art_node 32 97 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 8 0 2 1 0 1 1 0 8 0 shmpl 112 2 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1655 0 144 95 0 95 95 0 8 0 ffsino 296 1655 0 144 117 0 117 117 0 8 0 nchpl 144 1961 0 279 63 0 63 63 0 8 0 uvmvnodes 80 1736 0 0 36 0 36 36 0 8 0 vnodes 216 1736 0 0 97 0 97 97 0 8 0 namei 1024 5975 0 5975 1 0 1 1 0 8 1 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 7214 0 7214 6 1 5 5 1 8 5 plimitpl 152 46 0 21 2 0 2 2 0 8 1 sigapl 424 505 0 446 8 0 8 8 0 8 0 knotepl 120 68 0 0 3 0 3 3 0 8 0 kqueuepl 224 44 0 33 1 0 1 1 0 8 0 pipepl 344 107 0 80 3 0 3 3 0 8 0 fdescpl 528 482 0 446 4 0 4 4 0 8 0 filepl 160 1946 0 1721 13 0 13 13 0 8 1 lockfpl 104 37 0 30 1 0 1 1 0 8 0 lockfspl 48 13 0 8 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 32 0 8 1 0 1 1 0 8 0 ucredpl 104 175 0 156 1 0 1 1 0 8 0 zombiepl 144 449 0 446 1 0 1 1 0 8 0 processpl 1248 505 0 446 7 1 6 6 0 8 0 procpl 656 643 0 571 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 752 388 0 358 11 0 11 11 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 111 0 0 14 0 14 14 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 200 0 0 13 0 13 13 0 8 0 bufpl 280 2907 0 116 200 0 200 200 0 8 0 anonpl 32 8409 0 0 68 0 68 68 0 246 0 amapchunkpl 152 10921 0 10365 36 2 34 34 0 158 7 amappl16 200 2504 0 2482 17 4 13 17 0 8 9 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1097 0 1061 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 17 0 16 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 1 0 1 0 8 0 amappl8 136 28 0 27 1 0 1 1 0 8 0 amappl7 128 107 0 97 1 0 1 1 0 8 0 amappl6 120 179 0 176 1 0 1 1 0 8 0 amappl5 112 117 0 111 1 0 1 1 0 8 0 amappl4 104 274 0 256 1 0 1 1 0 8 0 amappl3 96 1754 0 1626 4 0 4 4 0 8 0 amappl2 88 630 0 573 2 0 2 2 0 8 0 amappl1 80 8681 0 8109 14 0 14 14 0 8 0 amappl 88 2928 0 2740 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 4 0 1 1 0 1 1 0 8 0 uaddrrnd 24 482 0 446 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 482 0 446 1 0 1 1 0 8 0 vmmpekpl 168 5548 0 5514 2 0 2 2 0 8 0 vmmpepl 168 38272 0 36190 106 0 106 106 0 357 9 vmsppl 488 481 0 446 7 1 6 6 0 8 0 rwobjpl 80 15571 0 12980 58 0 58 58 0 8 2 pdppl 4096 971 0 892 113 28 85 97 0 8 6 pvpl 32 15725 0 0 128 1 127 127 0 265 0 pmappl 256 481 0 446 4 1 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 284 0 31 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83888ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83921f68) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83921f68) at __mp_lock+0x1a3 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(ffffffff83921f68) at __mp_lock+0x190 __mp_lock_spin sys/kern/kern_lock.c:135 [inline] __mp_lock(ffffffff83921f68) at __mp_lock+0x190 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83921f68,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(fffffd806f156588) at biowait+0xc1 sys/kern/vfs_bio.c:1242 bwrite(fffffd806f156588) at bwrite+0x2e5 sys/kern/vfs_bio.c:754 ffs_update(fffffd806494f730,1) at ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 end trace frame: 0xffff80003a0474a0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83888ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff83921f68) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83921f68) at __mp_lock+0x1a3 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(ffffffff83921f68) at __mp_lock+0x190 __mp_lock_spin sys/kern/kern_lock.c:135 [inline] __mp_lock(ffffffff83921f68) at __mp_lock+0x190 sys/kern/kern_lock.c:165 __mp_acquire_count(ffffffff83921f68,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(fffffd806f156588) at biowait+0xc1 sys/kern/vfs_bio.c:1242 bwrite(fffffd806f156588) at bwrite+0x2e5 sys/kern/vfs_bio.c:754 ffs_update(fffffd806494f730,1) at ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd806494f730,79c8,0,fffffd80097fb410) at ffs_truncate+0x6c8 sys/ufs/ffs/ffs_inode.c:197 ufs_setattr(ffff80003a047530) at ufs_setattr+0x912 sys/ufs/ufs/ufs_vnops.c:403 VOP_SETATTR(fffffd8064b341d8,ffff80003a0475b8,fffffd80097fb410,ffff80003a048f88) at VOP_SETATTR+0x11c sys/kern/vfs_vops.c:210 dotruncate(ffff80003a048f88,fffffd8064b341d8,79c8) at dotruncate+0x1d6 sys/kern/vfs_syscalls.c:2860 sys_ftruncate(ffff80003a048f88,ffff80003a0477e0,ffff80003a047730) at sys_ftruncate+0x1dd sys/kern/vfs_syscalls.c:2912 syscall(ffff80003a0477e0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a0477e0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x66f665e5f70, count: -21 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(ffffffff833f3249) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff83911c70) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff83911c70) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8008379008) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd8063c4c400,0,ffff8000313ff3d8,ffff8000313ff3bc,0,2,6334a59c8c2a5720,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff470,ffff8000313ff458) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff570) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b9a4400,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff8000313ff780,200000000680) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000313ff780) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f61c6659390, count: 2 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833f3249) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_enter_try(ffffffff83911c70) at mtx_enter_try+0x1da sys/kern/kern_lock.c:300 mtx_enter(ffffffff83911c70) at mtx_enter+0x62 sys/kern/kern_lock.c:261 uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 uvm_pagedequeue sys/uvm/uvm_page.c:-1 [inline] uvm_pageclean(fffffd8008379008) at uvm_pageclean+0x290 sys/uvm/uvm_page.c:980 uvm_pagefree(fffffd8008379008) at uvm_pagefree+0x26 sys/uvm/uvm_page.c:1020 uvn_get(fffffd8063c4c400,0,ffff8000313ff3d8,ffff8000313ff3bc,0,2,6334a59c8c2a5720,2) at uvn_get+0x68b sys/uvm/uvm_vnode.c:1118 uvm_fault_lower_io(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff470,ffff8000313ff458) at uvm_fault_lower_io+0x2d1 sys/uvm/uvm_fault.c:1652 uvm_fault_lower(ffff8000313ff5f0,ffff8000313ff628,ffff8000313ff570) at uvm_fault_lower+0x2bb sys/uvm/uvm_fault.c:1419 uvm_fault(fffffd806b9a4400,200000000000,0,2) at uvm_fault+0x278 sys/uvm/uvm_fault.c:-1 upageflttrap(ffff8000313ff780,200000000680) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 usertrap(ffff8000313ff780) at usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f61c6659390, count: -13