Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2018 17:10:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228197] panic: solaris assert: arc_buf_alloc_impl
Message-ID:  <bug-228197-227-wrkqsXgvYB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228197-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228197-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Andriy Gapon <avg@FreeBSD.org> ---

Full panic message:
panic: solaris assert: arc_buf_alloc_impl(hdr, private, compressed_read, 1,
&buf) =3D=3D 0 (0x5 =3D=3D 0), file
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c, line: 5452

Quick analysis... the error (EIO) that triggered the check came from this c=
ode:

                        int error =3D zio_decompress_data(HDR_GET_COMPRESS(=
hdr),
                            hdr->b_l1hdr.b_pabd, buf->b_data,
                            HDR_GET_PSIZE(hdr), HDR_GET_LSIZE(hdr));

                        /*
                         * Absent hardware errors or software bugs, this sh=
ould
                         * be impossible, but log it anyway so we can debug=
 it.
                         */
                        if (error !=3D 0) {
                                zfs_dbgmsg(
                                    "hdr %p, compress %d, psize %d, lsize %=
d",
                                    hdr, HDR_GET_COMPRESS(hdr),
                                    HDR_GET_PSIZE(hdr), HDR_GET_LSIZE(hdr));
                                return (SET_ERROR(EIO));
                        }

The call chain is arc_read -> arc_buf_alloc_impl -> arc_buf_fill.

Not sure what to make of that decompression failure.
Did you use any special flags for zfs send in addition to -v and -R?
Do you have any pool errors?

--=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-228197-227-wrkqsXgvYB>