panic: vclean: deadlock Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *175512 57751 0 0x8000002 0 0K syz-executor 50822 24227 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e3e0b) at panic+0x1e5 sys/kern/subr_prf.c:198 vclean(fffffd8064d3cbf0,8,ffff80002a03ea38) at vclean+0x482 sys/kern/vfs_subr.c:1065 vgonel(fffffd8064d3cbf0,ffff80002a03ea38) at vgonel+0xec sys/kern/vfs_subr.c:1197 checkalias(fffffd8060527e80,e02,ffff800000a66c00) at checkalias+0x1ab ffs_vinit(ffff800000a66c00,ffff80002a0b9c70) at ffs_vinit+0x13d ffs_vget(ffff800000a66c00,1fc3a,ffff80002a0b9d58) at ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806b4d46d8,ffff80002a0b9fd8,ffff80002a0ba008) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a0b9fa8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a0b9fa8) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofstatat(ffff80002a03ea38,ffffff9c,7d95b4569dc0,7d95b456a1c0,2) at dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 syscall(ffff80002a0ba220) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0ba220) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d95b456a270, count: 1 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: vclean: deadlock ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e3e0b) at panic+0x1e5 sys/kern/subr_prf.c:198 vclean(fffffd8064d3cbf0,8,ffff80002a03ea38) at vclean+0x482 sys/kern/vfs_subr.c:1065 vgonel(fffffd8064d3cbf0,ffff80002a03ea38) at vgonel+0xec sys/kern/vfs_subr.c:1197 checkalias(fffffd8060527e80,e02,ffff800000a66c00) at checkalias+0x1ab ffs_vinit(ffff800000a66c00,ffff80002a0b9c70) at ffs_vinit+0x13d ffs_vget(ffff800000a66c00,1fc3a,ffff80002a0b9d58) at ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806b4d46d8,ffff80002a0b9fd8,ffff80002a0ba008) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a0b9fa8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a0b9fa8) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofstatat(ffff80002a03ea38,ffffff9c,7d95b4569dc0,7d95b456a1c0,2) at dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 syscall(ffff80002a0ba220) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0ba220) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d95b456a270, count: -14 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0b99e0 rbx 0xffffffff834a3d87 cpu_info_full_primary+0x2d87 rdx 0 rcx 0xffff80002a03ea38 rax 0xffffffff834a2ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x111f1209c23c3572 r11 0xbff103714bbd0057 r12 0xffffffff834a3b88 cpu_info_full_primary+0x2b88 r13 0 r14 0 r15 0x1 rip 0xffffffff813bf665 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0b99d0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=175512 pid=57751 tcnt=1 stat=onproc flags process=8000002 proc=0 runpri=17, usrpri=59, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a03ecc0,0xffff80002a03ef58 process=0xffff8000ffffb610 user=0xffff80002a0b5000, vmspace=0xfffffd807ec5a1b8 estcpu=22, cpticks=0, pctcpu=0.0, user=0, sys=5, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60689 230613 23868 0 2 0x8000002 syz-executor 46758 356062 23868 0 3 0x8000082 wait syz-executor 60016 236655 23868 0 3 0x8000002 biowait syz-executor 23015 449385 23868 0 3 0x8000002 biowait syz-executor 78893 190840 23868 0 3 0x8000002 biowait syz-executor 76651 224457 23868 0 3 0x8000082 wait syz-executor *57751 175512 23868 0 7 0x8000002 syz-executor 23868 11935 30465 0 3 0x8000082 wait syz-executor 30465 414260 74714 0 3 0x810008a sigsusp ksh 74714 331147 75804 0 3 0x18000098 kqread sshd-session 75804 413176 86619 0 3 0x18000092 kqread sshd-session 86243 506339 1 0 3 0x18100083 ttyin getty 86619 427531 1 0 3 0x18000088 kqread sshd 31180 96257 73434 74 3 0x19100092 bpf pflogd 73434 103037 1 0 3 0x18000080 sbwait pflogd 63892 354198 23445 73 3 0x19100010 ffs_fsync syslogd 23445 187249 1 0 3 0x18100082 sbwait syslogd 88455 127686 1 0 3 0x18100080 kqread resolvd 43985 466171 56263 77 3 0x18100092 kqread dhcpleased 39439 140159 56263 77 3 0x18100092 kqread dhcpleased 56263 96199 1 0 3 0x18000080 kqread dhcpleased 99121 442474 0 0 3 0x14200 bored smr 90975 249824 0 0 3 0x14200 pgzero zerothread 23085 514257 0 0 3 0x14200 aiodoned aiodoned 89190 259431 0 0 3 0x14200 syncer update 18174 52970 0 0 3 0x14200 cleaner cleaner 24227 50822 0 0 7 0x14200 reaper 32725 264884 0 0 3 0x14200 pgdaemon pagedaemon 59638 120882 0 0 3 0x14200 bored viomb 26181 85340 0 0 3 0x40014200 acpi0 acpi0 97406 282962 0 0 3 0x40014200 idle1 65288 477855 0 0 3 0x14200 bored softnet3 2736 134602 0 0 3 0x14200 bored softnet2 81506 234041 0 0 3 0x14200 bored softnet1 16899 268906 0 0 3 0x14200 bored softnet0 75291 80988 0 0 3 0x14200 bored systqmp 9897 92034 0 0 3 0x14200 bored systq 72534 174143 0 0 3 0x14200 tmoslp softclockmp 35455 430644 0 0 3 0x40014200 tmoslp softclock 67106 373267 0 0 3 0x40014200 idle0 1 377523 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex /syzkaller/managers/multicore/kernel/sys/kern/vfs_subr.c:119 r = 0 (0xffffffff834e2e38) #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 vclean+0x87 sys/kern/vfs_subr.c:1051 #4 vgonel+0xec sys/kern/vfs_subr.c:1197 #5 checkalias+0x1ab #6 ffs_vinit+0x13d #7 ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 #8 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #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 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 #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 CPU 1: exclusive mutex &uvm.pageqlock r = 0 (0xffffffff834e96e8) #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 uvm_anfree_list+0xeb sys/uvm/uvm_anon.c:104 #4 amap_wipeout+0x248 sys/uvm/uvm_amap.c:502 #5 uvm_unmap_detach+0x96 sys/uvm/uvm_map.c:1354 #6 uvm_map_teardown+0x3f7 sys/uvm/uvm_map.c:2540 #7 uvmspace_free+0xe8 sys/uvm/uvm_map.c:3447 #8 reaper+0x25b sys/kern/kern_exit.c:480 #9 proc_trampoline+0x10 Process 60689 (syz-executor) thread 0xffff800029fd9958 (230613) exclusive rrwlock inode r = 0 (0xfffffd8066cad3d0) #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:696 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 60016 (syz-executor) thread 0xffff800029fd8a28 (236655) exclusive rrwlock inode r = 0 (0xfffffd8066cadb40) #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 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:120 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3100 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806ce543c8) #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 domkdirat+0x8b sys/kern/vfs_syscalls.c:3085 #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 23015 (syz-executor) thread 0xffff80002a03fbf0 (449385) exclusive rrwlock inode r = 0 (0xfffffd8066cad920) #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:696 #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 (0xfffffd806ce54d58) #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 78893 (syz-executor) thread 0xffff80002a03f6e0 (190840) exclusive rrwlock inode r = 0 (0xfffffd806f23e5f0) #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:696 #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 (0xfffffd80705ccf88) #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 57751 (syz-executor) thread 0xffff80002a03ea38 (175512) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83564748) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 __mp_acquire_count+0x58 #2 mi_switch+0x658 sys/kern/sched_bsd.c:460 #3 sleep_finish+0x229 sys/kern/kern_synch.c:416 #4 getblk+0x197 sys/kern/vfs_bio.c:1025 #5 bread+0x47 bio_doread sys/kern/vfs_bio.c:430 [inline] #5 bread+0x47 sys/kern/vfs_bio.c:475 #6 ffs_vget+0x283 sys/ufs/ffs/ffs_vfsops.c:1247 #7 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8066cada30) #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 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:120 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #9 namei+0x7aa sys/kern/vfs_lookup.c:250 #10 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 #11 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #11 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8066cad2c0) #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:696 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 exclusive mutex /syzkaller/managers/multicore/kernel/sys/kern/vfs_subr.c:119 r = 0 (0xffffffff834e2e38) #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 vclean+0x87 sys/kern/vfs_subr.c:1051 #4 vgonel+0xec sys/kern/vfs_subr.c:1197 #5 checkalias+0x1ab #6 ffs_vinit+0x13d #7 ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 #8 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #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 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 #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 Process 63892 (syslogd) thread 0xffff8000ffffdbe8 (354198) exclusive rrwlock inode r = 0 (0xfffffd806e4941b0) #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 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2927 #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 Process 24227 (reaper) thread 0xffff800029fd9448 (50822) exclusive rwlock amaplk r = 0 (0xfffffd806c3782f0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 amap_unref+0x38 sys/uvm/uvm_amap.c:1360 #2 uvm_unmap_detach+0x96 sys/uvm/uvm_map.c:1354 #3 uvm_map_teardown+0x3f7 sys/uvm/uvm_map.c:2540 #4 uvmspace_free+0xe8 sys/uvm/uvm_map.c:3447 #5 reaper+0x25b sys/kern/kern_exit.c:480 #6 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10186 10156K 10481K 166960K 11409 0 pcb 17 14K 15K 166960K 64 0 rtable 236 6K 7K 166960K 357 0 pf 32 9K 10K 166960K 47 0 ifaddr 45 15K 15K 166960K 48 0 ifgroup 55 2K 2K 166960K 60 0 counters 64 36K 36K 166960K 66 0 ioctlops 0 0K 4K 166960K 1497 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1403 88K 88K 166960K 1516 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 10 33K 93K 166960K 227 0 sigio 0 0K 0K 166960K 6 0 proc 69 91K 152K 166960K 537 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 18 0 in_multi 99 7K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 375 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 184 87K 107K 166960K 3684 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 35 70K 106K 166960K 1296 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 12 0K 2K 166960K 29 0 temp 39 6803K 6868K 166960K 5490 0 kqueue 13 20K 26K 166960K 37 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 49 0 46 1 0 1 1 0 8 0 rtentry 112 112 0 1 4 0 4 4 0 8 0 unpcb 144 242 0 225 6 2 4 6 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 41 0 37 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 384 337 0 330 15 9 6 15 0 8 5 nd6 136 25 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 23 0 4 1 0 1 1 0 8 0 pfstkey 128 23 0 4 1 0 1 1 0 8 0 pfstate 376 23 0 4 3 0 3 3 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 454 0 0 29 0 29 29 0 8 0 art_table 32 455 0 0 4 0 4 4 0 8 0 art_node 16 111 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 7 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1757 0 253 95 0 95 95 0 8 0 ffsino 272 1757 0 253 101 0 101 101 0 8 0 nchpl 144 2074 0 395 63 0 63 63 0 8 0 uvmvnodes 80 1963 0 0 41 0 41 41 0 8 0 vnodes 216 1963 0 0 110 0 110 110 0 8 0 namei 1024 6608 0 6606 3 2 1 2 0 8 0 percpumem 16 47 0 1 1 0 1 1 0 8 0 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 696 1 0 0 1 0 1 1 0 8 0 kstatmem 264 26 0 2 2 0 2 2 0 8 0 scxspl 216 5979 0 5975 3 2 1 2 1 8 0 plimitpl 152 111 0 94 1 0 1 1 0 8 0 sigapl 424 525 0 480 7 1 6 7 0 8 0 futexpl 64 2026 0 2026 1 0 1 1 0 8 1 knotepl 120 307 0 0 10 0 10 10 0 8 0 kqueuepl 216 50 0 41 1 0 1 1 0 8 0 pipepl 320 117 0 90 3 0 3 3 0 8 0 fdescpl 496 507 0 483 5 0 5 5 0 8 2 filepl 152 2530 0 2290 17 3 14 17 0 8 4 lockfpl 104 47 0 45 1 0 1 1 0 8 0 lockfspl 48 20 0 18 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 13 1 0 1 1 0 8 0 ucredpl 104 162 0 149 1 0 1 1 0 8 0 zombiepl 144 484 0 480 1 0 1 1 0 8 0 processpl 1152 525 0 480 5 1 4 5 0 8 0 procpl 648 693 0 646 7 1 6 7 0 8 0 sockpl 664 631 0 604 18 9 9 15 0 8 6 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 232 0 0 29 0 29 29 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 240 0 0 15 0 15 15 0 8 0 bufpl 280 4874 0 97 342 0 342 342 0 8 0 anonpl 24 168303 0 165301 51 1 50 50 0 185 26 amapchunkpl 152 12378 0 12053 31 0 31 31 0 158 10 amappl16 200 4609 0 4593 5 3 2 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 113 0 101 1 0 1 1 0 8 0 amappl13 176 13 0 13 1 1 0 1 0 8 0 amappl12 168 1158 0 1133 3 1 2 2 0 8 0 amappl11 160 69 0 54 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 133 0 133 1 1 0 1 0 8 0 amappl8 136 19 0 17 1 0 1 1 0 8 0 amappl7 128 107 0 95 1 0 1 1 0 8 0 amappl6 120 168 0 165 1 0 1 1 0 8 0 amappl5 112 133 0 122 1 0 1 1 0 8 0 amappl4 104 325 0 306 1 0 1 1 0 8 0 amappl3 96 2346 0 2270 4 1 3 4 0 8 0 amappl2 88 616 0 551 2 0 2 2 0 8 0 amappl1 80 8013 0 7446 15 2 13 15 0 8 0 amappl 88 3316 0 3195 5 0 5 5 0 92 1 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 509 0 483 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 509 0 483 1 0 1 1 0 8 0 vmmpekpl 168 6252 0 6220 2 0 2 2 0 8 0 vmmpepl 168 40688 0 39105 87 2 85 87 0 357 5 vmsppl 440 508 0 482 6 2 4 5 0 8 0 rwobjpl 56 18330 0 15483 42 0 42 42 0 8 0 pdppl 4096 1025 0 965 102 30 72 85 0 8 12 pvpl 32 26731 0 0 217 1 216 217 0 265 0 pmappl 248 508 0 482 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 387 0 35 11 0 11 11 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(ffffffff830e3e0b) at panic+0x1e5 sys/kern/subr_prf.c:198 vclean(fffffd8064d3cbf0,8,ffff80002a03ea38) at vclean+0x482 sys/kern/vfs_subr.c:1065 vgonel(fffffd8064d3cbf0,ffff80002a03ea38) at vgonel+0xec sys/kern/vfs_subr.c:1197 checkalias(fffffd8060527e80,e02,ffff800000a66c00) at checkalias+0x1ab ffs_vinit(ffff800000a66c00,ffff80002a0b9c70) at ffs_vinit+0x13d ffs_vget(ffff800000a66c00,1fc3a,ffff80002a0b9d58) at ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806b4d46d8,ffff80002a0b9fd8,ffff80002a0ba008) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a0b9fa8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a0b9fa8) at namei+0x7aa sys/kern/vfs_lookup.c:250 dofstatat(ffff80002a03ea38,ffffff9c,7d95b4569dc0,7d95b456a1c0,2) at dofstatat+0xd2 sys/kern/vfs_syscalls.c:2070 syscall(ffff80002a0ba220) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0ba220) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d95b456a270, count: -14 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 __mp_lock(ffffffff83564540) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83564540) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvm_unmap_detach(ffff800029fe4ef0,1) at uvm_unmap_detach+0x16e sys/uvm/uvm_map.c:1371 uvm_map_teardown(fffffd806bf63528) at uvm_map_teardown+0x3f7 sys/uvm/uvm_map.c:2540 uvmspace_free(fffffd806bf63528) at uvmspace_free+0xe8 sys/uvm/uvm_map.c:3447 reaper(ffff800029fd9448) at reaper+0x25b sys/kern/kern_exit.c:480 end trace frame: 0x0, count: 7 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 __mp_lock(ffffffff83564540) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83564540) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvm_unmap_detach(ffff800029fe4ef0,1) at uvm_unmap_detach+0x16e sys/uvm/uvm_map.c:1371 uvm_map_teardown(fffffd806bf63528) at uvm_map_teardown+0x3f7 sys/uvm/uvm_map.c:2540 uvmspace_free(fffffd806bf63528) at uvmspace_free+0xe8 sys/uvm/uvm_map.c:3447 reaper(ffff800029fd9448) at reaper+0x25b sys/kern/kern_exit.c:480 end trace frame: 0x0, count: -8