From owner-freebsd-fs@freebsd.org Sun Mar 12 09:53:50 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29D31D084EB for ; Sun, 12 Mar 2017 09:53:50 +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 mx1.freebsd.org (Postfix) with ESMTPS id 0093E1069 for ; Sun, 12 Mar 2017 09:53:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2C9rnmv069085 for ; Sun, 12 Mar 2017 09:53:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 203419] solaris assert: (dn->dn_phys->dn_nlevels == 0 && db->db_level == ... Date: Sun, 12 Mar 2017 09:53:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2017 09:53:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203419 --- Comment #2 from Andriy Gapon --- For posterity, link to another case where the problem happened: https://lists.freebsd.org/pipermail/freebsd-current/2016-July/062281.html Here is a stack trace from the link: panic: solaris assert: (dn->dn_phys->dn_nlevels =3D=3D 0 && db->db_level = =3D=3D 0) || dn->dn_phys->dn_nlevels > db->db_level || dn->dn_next_nlevels[txgoff] > db->db_level || dn->dn_next_nlevels[(tx->tx_txg-1) & TXG_MASK] > db->db_lev= el || dn->dn_next_nlevels[(tx->tx_txg cpuid =3D 2 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe085a435= eb0 vpanic() at vpanic+0x182/frame 0xfffffe085a435f30 panic() at panic+0x43/frame 0xfffffe085a435f90 assfail() at assfail+0x1a/frame 0xfffffe085a435fa0 dbuf_dirty() at dbuf_dirty+0x3e8/frame 0xfffffe085a436060 dbuf_dirty() at dbuf_dirty+0xba4/frame 0xfffffe085a436120 dbuf_dirty() at dbuf_dirty+0xba4/frame 0xfffffe085a4361e0 dmu_write_uio_dnode() at dmu_write_uio_dnode+0x129/frame 0xfffffe085a436270 dmu_write_uio_dbuf() at dmu_write_uio_dbuf+0x42/frame 0xfffffe085a4362a0 zfs_freebsd_write() at zfs_freebsd_write+0x87c/frame 0xfffffe085a4364c0 VOP_WRITE_APV() at VOP_WRITE_APV+0x16f/frame 0xfffffe085a4365d0 vn_write() at vn_write+0x218/frame 0xfffffe085a436650 vn_io_fault1() at vn_io_fault1+0x1d2/frame 0xfffffe085a4367b0 vn_io_fault() at vn_io_fault+0x197/frame 0xfffffe085a436830 dofilewrite() at dofilewrite+0x87/frame 0xfffffe085a436880 kern_writev() at kern_writev+0x68/frame 0xfffffe085a4368d0 sys_write() at sys_write+0x84/frame 0xfffffe085a436920 amd64_syscall() at amd64_syscall+0x2db/frame 0xfffffe085a436a30 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe085a436a30 --- syscall (4, FreeBSD ELF64, sys_write), rip =3D 0x800b9ddea, rsp =3D 0x7fffffffe568, rbp =3D 0x7fffffffe760 --- KDB: enter: panic That instance was not diagnosed too. --=20 You are receiving this mail because: You are the assignee for the bug.=