From owner-freebsd-bugs@freebsd.org Tue Feb 13 22:39:49 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 25324F075C5 for ; Tue, 13 Feb 2018 22:39:49 +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 B316D75FAC for ; Tue, 13 Feb 2018 22:39:48 +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 F240F3DF3 for ; Tue, 13 Feb 2018 22:39:47 +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 w1DMdlaF085965 for ; Tue, 13 Feb 2018 22:39:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1DMdl4H085962 for freebsd-bugs@FreeBSD.org; Tue, 13 Feb 2018 22:39:47 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 225877] panic: solaris assert: newds == os->os_dsl_dataset during "zpool upgrade" Date: Tue, 13 Feb 2018 22:39:47 +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: Tue, 13 Feb 2018 22:39:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225877 Bug ID: 225877 Summary: panic: solaris assert: newds =3D=3D os->os_dsl_dataset during "zpool upgrade" 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 The following panic is generated by zpool_upgrade_007_pos from the ZFS test suite: panic: solaris assert: newds =3D=3D os->os_dsl_dataset (0xfffff80045f4c000 = =3D=3D 0xfffff80021ab4800), file: /usr/home/alans/freebsd/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs= /dmu_objset.c, line: 677 cpuid =3D 10 time =3D 1518552986 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c2495= 3a0 vpanic() at vpanic+0x18d/frame 0xfffffe00c2495400 panic() at panic+0x43/frame 0xfffffe00c2495460 assfail3() at assfail3+0x2c/frame 0xfffffe00c2495480 dmu_objset_refresh_ownership() at dmu_objset_refresh_ownership+0x161/frame 0xfffffe00c24955c0 zfs_ioc_userspace_upgrade() at zfs_ioc_userspace_upgrade+0x97/frame 0xfffffe00c2495600 zfs_prop_set_special() at zfs_prop_set_special+0x465/frame 0xfffffe00c24956= 70 zfs_set_prop_nvlist() at zfs_set_prop_nvlist+0x23f/frame 0xfffffe00c24956f0 zfs_ioc_set_prop() at zfs_ioc_set_prop+0x129/frame 0xfffffe00c2495740 zfsdev_ioctl() at zfsdev_ioctl+0x76b/frame 0xfffffe00c24957e0 devfs_ioctl() at devfs_ioctl+0xcb/frame 0xfffffe00c2495830 VOP_IOCTL_APV() at VOP_IOCTL_APV+0xd9/frame 0xfffffe00c2495860 vn_ioctl() at vn_ioctl+0x124/frame 0xfffffe00c2495970 devfs_ioctl_f() at devfs_ioctl_f+0x1f/frame 0xfffffe00c2495990 kern_ioctl() at kern_ioctl+0x2b9/frame 0xfffffe00c24959f0 sys_ioctl() at sys_ioctl+0x15c/frame 0xfffffe00c2495ac0 amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe00c2495bf0 fast_syscall_common() at fast_syscall_common+0xfc/frame 0x7fffffff8880 I saw this on 12.0-CURRENT amd64, at 328401. Steps to reproduce: $ svn co https://svn.freebsd.org/base/projects/zfsd/head $ cd head $ mtree -deU -f etc/mtree/BSD.tests.dist $ cd tests/sys/cddl $ make && sudo make install $ # Now write kyua.conf. Modify as appropriate for your system $ echo >> /usr/local/etc/kyua/kyua.conf