[Bug 257012] panic in sys/contrib/openzfs/module/zfs/arc.c arc_release() due to faulty ASSERT

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Jul 2021 06:30:01 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257012

            Bug ID: 257012
           Summary: panic in sys/contrib/openzfs/module/zfs/arc.c
                    arc_release() due to faulty ASSERT
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs_at_FreeBSD.org
          Reporter: dclarke_at_blastwave.org

Created attachment 226260
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226260&action=edit
console image after a repeatable panic

Per the discussion in the upstream OpenZFS project : 

    arc: Drop an incorrect assert 
    https://github.com/openzfs/zfs/pull/12246

We see the ASSERT(HDR_EMPTY(hdr)) here : 

   
https://github.com/freebsd/freebsd-src/blob/main/sys/contrib/openzfs/module/zfs/arc.c#L6531

Trivial to comment that out. Which I did and then the system runs fine
without a strange panic. Otherwise I get a very reliable and even a
repeatable panic. See attached console images. 


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jul 06 2021 - 06:30:01 UTC

Original text of this message