Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2018 21:01:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel
Message-ID:  <bug-225795-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225795

            Bug ID: 225795
           Summary: panic: found unreferenced mountpoint when accessing
                    and unmounting snapshots in parallel
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

Found by snapshot_019_pos from the ZFS test suite:

panic: found unreferenced mountpoint
cpuid =3D 8
time =3D 1518201424
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00cef3f=
320
vpanic() at vpanic+0x18d/frame 0xfffffe00cef3f380
vpanic() at vpanic/frame 0xfffffe00cef3f400
zfsctl_snapdir_lookup() at zfsctl_snapdir_lookup+0x461/frame 0xfffffe00cef3=
f680
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xd3/frame 0xfffffe00cef3f6b0
lookup() at lookup+0x682/frame 0xfffffe00cef3f750
namei() at namei+0x52b/frame 0xfffffe00cef3f810
vn_open_cred() at vn_open_cred+0x213/frame 0xfffffe00cef3f950
kern_openat() at kern_openat+0x20c/frame 0xfffffe00cef3fac0
amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe00cef3fbf0
fast_syscall_common() at fast_syscall_common+0xfc/frame 0x7fffffffb240
Uptime: 11h59m40s
Dumping 5340 out of 49055 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..=
91%

__curthread () at ./machine/pcpu.h:229
229             __asm("movq %%gs:%1,%0" : "=3Dr" (td)
(kgdb) #0  __curthread () at ./machine/pcpu.h:229
#1  doadump (textdump=3D1)
    at /usr/home/alans/freebsd/head/sys/kern/kern_shutdown.c:346
#2  0xffffffff80ac7042 in kern_reboot (howto=3D260)
    at /usr/home/alans/freebsd/head/sys/kern/kern_shutdown.c:415
#3  0xffffffff80ac760d in vpanic (fmt=3D<optimized out>, ap=3D0xfffffe00cef=
3f3c0)
    at /usr/home/alans/freebsd/head/sys/kern/kern_shutdown.c:811
#4  0xffffffff80ac7420 in kassert_panic (
    fmt=3D0xffffffff8224ea68 "found unreferenced mountpoint")
    at /usr/home/alans/freebsd/head/sys/kern/kern_shutdown.c:697
#5  0xffffffff821eae71 in zfsctl_snapdir_lookup (ap=3D0xfffffe00cef3f6f0)
    at
/usr/home/alans/freebsd/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs=
/zfs_ctldir.c:893
#6  0xffffffff810f50a3 in VOP_LOOKUP_APV (vop=3D<optimized out>,
    a=3D0xfffffe00cef3f6f0) at vnode_if.c:127
#7  0xffffffff80b89c92 in VOP_LOOKUP (vpp=3D0xfffffe00cef3f9c8,
    cnp=3D0xfffffe00cef3f9f0, dvp=3D<optimized out>) at ./vnode_if.h:54
#8  lookup (ndp=3D0xfffffe00cef3f968)
    at /usr/home/alans/freebsd/head/sys/kern/vfs_lookup.c:888
#9  0xffffffff80b8921b in namei (ndp=3D0xfffffe00cef3f968)
    at /usr/home/alans/freebsd/head/sys/kern/vfs_lookup.c:450
#10 0xffffffff80ba6d13 in vn_open_cred (ndp=3D0xfffffe00cef3f968,
    flagp=3D0xfffffe00cef3fa94, cmode=3D1, vn_open_flags=3D0,
    cred=3D0xfffff80133087c00, fp=3D0xfffff807b332e9b0)
    at /usr/home/alans/freebsd/head/sys/kern/vfs_vnops.c:279
#11 0xffffffff80b9f5ec in kern_openat (td=3D0xfffff804ca09d000, fd=3D-100,
    path=3D0x800cde000 <error: Cannot access memory at address 0x800cde000>,
    pathseg=3DUIO_USERSPACE, flags=3D1179653, mode=3D<optimized out>)
    at /usr/home/alans/freebsd/head/sys/kern/vfs_syscalls.c:1084
#12 0xffffffff80f7937b in syscallenter (td=3D0xfffff804ca09d000)
    at
/usr/home/alans/freebsd/head/sys/amd64/amd64/../../kern/subr_syscall.c:134
#13 amd64_syscall (td=3D0xfffff804ca09d000, traced=3D0)
    at /usr/home/alans/freebsd/head/sys/amd64/amd64/trap.c:935
#14 0xffffffff80f55e38 in fast_syscall_common ()
    at /usr/home/alans/freebsd/head/sys/amd64/amd64/exception.S:468

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225795-8>