[Bug 228197] panic: solaris assert: arc_buf_alloc_impl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 12 17:10:38 UTC 2018


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

Full panic message:
panic: solaris assert: arc_buf_alloc_impl(hdr, private, compressed_read, 1,
&buf) == 0 (0x5 == 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 code:

                        int error = 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 should
                         * be impossible, but log it anyway so we can debug it.
                        if (error != 0) {
                                    "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?

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

More information about the freebsd-bugs mailing list