Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2024 00:03:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276341] zfs panic: VERIFY3(rc->rc_count == number) failed
Message-ID:  <bug-276341-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 276341
           Summary: zfs panic: VERIFY3(rc->rc_count =3D=3D number) failed
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: crash
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

I rebooted a system running CURRENT from late December to update to today's
CURRENT and it crashed while unloading ZFS.

panic: VERIFY3(rc->rc_count =3D=3D number) failed (262144 =3D=3D 0)

cpuid =3D 0
time =3D 1705275564
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x38
vpanic() at vpanic+0x1a4
spl_panic() at spl_panic+0x44
zfs_refcount_destroy_many() at zfs_refcount_destroy_many+0xdc
arc_fini() at arc_fini+0x274
dmu_fini() at dmu_fini+0xc
spa_fini() at spa_fini+0x34
zfs_kmod_fini() at zfs_kmod_fini+0x78
zfs_shutdown() at zfs_shutdown+0x40
kern_reboot() at kern_reboot+0x574
sys_reboot() at sys_reboot+0x350
do_el0_sync() at do_el0_sync+0x58c
handle_el0_sync() at handle_el0_sync+0x48
--- exception, esr 0x56000000

[...]

#9  0xffff00000003daf8 in spl_panic (file=3D<optimized out>,=20
    func=3D<optimized out>, line=3D13227925,=20
    fmt=3D0x12 <error: Cannot access memory at address 0x12>)
    at /usr/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_misc.c:100
        ap =3D {__stack =3D 0xffff0000f39d5630, __gr_top =3D 0xffff0000f39d=
55e0,=20
          __vr_top =3D 0xffffa000010a92a0, __gr_offs =3D -32, __vr_offs =3D=
 0}
#10 0xffff0000001633e0 in zfs_refcount_destroy_many (rc=3D<optimized out>,=
=20
    number=3D18446462598740100184)
    at /usr/src/sys/contrib/openzfs/module/zfs/refcount.c:98
        _verify3_right =3D 18446462598740100184
        _verify3_left =3D 115
        cookie =3D 0x0
        ref =3D <optimized out>
#11 0xffff0000001633fc in zfs_refcount_destroy (rc=3D0x12,=20
    rc@entry=3D0xffff0000010e7a80 <ARC_anon+128>)
    at /usr/src/sys/contrib/openzfs/module/zfs/refcount.c:112
No locals.
#12 0xffff0000000c0508 in arc_state_fini ()
    at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:7421
No locals.
#13 arc_fini () at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:7753
        p =3D <optimized out>
#14 0xffff0000000ee4d0 in dmu_fini ()
    at /usr/src/sys/contrib/openzfs/module/zfs/dmu.c:2549
No locals.
#15 0xffff000000189dd8 in spa_fini ()
    at /usr/src/sys/contrib/openzfs/module/zfs/spa_misc.c:2549
No locals.
#16 0xffff0000001e67ac in zfs_kmod_fini ()
    at /usr/src/sys/contrib/openzfs/module/zfs/zfs_ioctl.c:7933
        zsnext =3D 0x0
        zs =3D 0x0
#17 0xffff00000006e654 in zfs__fini ()
    at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/kmod_core.c:284
No locals.
#18 zfs_shutdown (arg=3D<optimized out>, howto=3D<optimized out>)
    at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/kmod_core.c:297
No locals.
#19 0xffff000000693158 in kern_reboot (howto=3D0)
    at /usr/src/sys/kern/kern_shutdown.c:517
        _ep =3D 0xffffa00002f63c40
        _t =3D 0xffffa00002f63c40
        _el =3D 0xffffa00001709c80
        once =3D 1
#20 0xffff000000692b74 in sys_reboot (td=3D0xffff000121c2a640,=20
    uap=3D0xffff000121c2aa40) at /usr/src/sys/kern/kern_shutdown.c:312
        error =3D <optimized out>
#21 0xffff000000a60060 in syscallenter (td=3D0xffff000121c2a640)
    at /usr/src/sys/arm64/arm64/../../kern/subr_syscall.c:186
        se =3D 0xffff000000fa1378 <sysent+1760>
        sa =3D 0xffff000121c2aa30
        p =3D <optimized out>
        error =3D <optimized out>
        sy_thr_static =3D true
        traced =3D <optimized out>
        _audit_entered =3D <optimized out>


My kernel configuration file is

include GENERIC
ident   STRIATUS
nooptions       WITNESS
nooptions       WITNESS_SKIPSPIN
options ZFS

The kernel that crashed had changes on main up to 5bc10feacc9d.

--=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-276341-227>