From owner-freebsd-bugs@freebsd.org Fri Feb 9 21:02:00 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BACA6F01E77 for ; Fri, 9 Feb 2018 21:02:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA25792AC for ; Fri, 9 Feb 2018 21:02:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8FEDB201B1 for ; Fri, 9 Feb 2018 21:01:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w19L1xj9014410 for ; Fri, 9 Feb 2018 21:01:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w19L1xlW014397 for freebsd-bugs@FreeBSD.org; Fri, 9 Feb 2018 21:01:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel Date: Fri, 09 Feb 2018 21:01:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2018 21:02:01 -0000 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, 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, a=3D0xfffffe00cef3f6f0) at vnode_if.c:127 #7 0xffffffff80b89c92 in VOP_LOOKUP (vpp=3D0xfffffe00cef3f9c8, cnp=3D0xfffffe00cef3f9f0, dvp=3D) 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 , pathseg=3DUIO_USERSPACE, flags=3D1179653, mode=3D) 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.=