[Bug 227631] panic: vputx: usecount not zero for vnode
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 19 08:24:38 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227631
Bug ID: 227631
Summary: panic: vputx: usecount not zero for vnode
Product: Base System
Version: 11.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: emz at norma.perm.ru
(Started at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227465)
Got another panic on r332466, so it's reproducible.
vputx: usecount not zero for vnode 0xfffff803852a1760: tag devfs, type VCHR
usecount -1, writecount -1, refcount 0 rdev 0xfffff80145cf1a00
flags (VI_FREE)
VI_LOCKed lock type devfs: EXCL by thread 0xfffff804ec5b1620 (pid 59162,
ctladm, tid 109582)
dev zvol/data/kvm/desktop/games-vm401
Now with backtrace:
===Cut===
(kgdb) bt
#0 doadump (textdump=<value optimized out>) at pcpu.h:229
#1 0xffffffff80af3beb in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:383
#2 0xffffffff80af4011 in vpanic (fmt=<value optimized out>, ap=<value
optimized out>)
at /usr/src/sys/kern/kern_shutdown.c:776
#3 0xffffffff80af3e53 in panic (fmt=<value optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:707
#4 0xffffffff80bb799e in vputx (vp=<value optimized out>, func=<value
optimized out>)
at /usr/src/sys/kern/vfs_subr.c:2686
#5 0xffffffff80bc6885 in vn_close1 (vp=0xfffff803852a1760, flags=3,
file_cred=0x0, td=<value optimized out>,
keep_ref=false) at /usr/src/sys/kern/vfs_vnops.c:459
#6 0xffffffff82844554 in ctl_be_block_close (be_lun=0xfffff80a6c8f9000)
at /usr/src/sys/cam/ctl/ctl_backend_block.c:2100
#7 0xffffffff8284888c in ctl_be_block_rm (softc=0xffffffff82870298,
req=0xfffff807b9afbc00)
at /usr/src/sys/cam/ctl/ctl_backend_block.c:2504
#8 0xffffffff8284399d in ctl_be_block_ioctl (dev=0xfffff8045f074600,
cmd=3243303201, addr=0xfffff807b9afbc00 "block",
flag=3, td=0xfffff804ec5b1620) at
/usr/src/sys/cam/ctl/ctl_backend_block.c:1792
#9 0xffffffff82835e5f in ctl_ioctl (dev=0xfffff8045f074600, cmd=3243303201,
addr=0xfffff807b9afbc00 "block", flag=3,
td=0xfffff804ec5b1620) at /usr/src/sys/cam/ctl/ctl.c:3065
#10 0xffffffff809c2458 in devfs_ioctl_f (fp=0xfffff803bc3f5640, com=3243303201,
data=0xfffff807b9afbc00,
cred=0xfffff80175ad3800, td=0xfffff804ec5b1620) at
/usr/src/sys/fs/devfs/devfs_vnops.c:791
#11 0xffffffff80b5636d in kern_ioctl (td=0xfffff804ec5b1620, fd=3,
com=3243303201, data=<value optimized out>)
at file.h:323
#12 0xffffffff80b5608c in sys_ioctl (td=0xfffff804ec5b1620,
uap=0xfffff804ec5b1b58)
at /usr/src/sys/kern/sys_generic.c:745
#13 0xffffffff80f72dc8 in amd64_syscall (td=0xfffff804ec5b1620, traced=0) at
subr_syscall.c:132
#14 0xffffffff80f5255d in fast_syscall_common () at
/usr/src/sys/amd64/amd64/exception.S:480
#15 0x0000000801202bfa in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language: auto; currently minimal
(kgdb)
===Cut===
Kernel binaries and core files are avaiable at
http://san1.linx.playkey.net/r332466M/
I'm downgrading to r332465 to see if this would help.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list