From nobody Wed Jun 9 12:12:07 2021 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 89F495D28F1 for ; Wed, 9 Jun 2021 12:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G0Qvq3R8yz4SB3 for ; Wed, 9 Jun 2021 12:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E9391BFA8 for ; Wed, 9 Jun 2021 12:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 159CC7os089411 for ; Wed, 9 Jun 2021 12:12:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 159CC7Qk089410 for fs@FreeBSD.org; Wed, 9 Jun 2021 12:12:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 216586] zfs panic: sa.sa_magic == 0x2F505A in zfs_space_delta_cb() Date: Wed, 09 Jun 2021 12:12:07 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216586 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #8 from Andrey V. Elsukov --- (In reply to Andriy Gapon from comment #7) We hit this problem 2 times last week. One machine is based on 12.0, second= one is based on 13.0 (before ZoL migration). I looked at the ZoL code, it seems= to me, that the code didn't changed here. So, I think it is possible to get su= ch panic on the up to date OpenZFS too. I have core dump from the one panic. Let me know if you are interested to s= ee something. panic: solaris assert: sa.sa_magic =3D=3D 0x2F505A (0xb656f0e0 =3D=3D 0x2f5= 05a), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c, line:= 609 cpuid =3D 4 time =3D 1623060642 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe3fd9321= 780 vpanic() at vpanic+0x194/frame 0xfffffe3fd93217e0 panic() at panic+0x43/frame 0xfffffe3fd9321840 assfail3() at assfail3+0x2c/frame 0xfffffe3fd9321860 zfs_space_delta_cb() at zfs_space_delta_cb+0x100/frame 0xfffffe3fd93218a0 dmu_objset_userquota_get_ids() at dmu_objset_userquota_get_ids+0x1b7/frame 0xfffffe3fd93218f0 dnode_sync() at dnode_sync+0xa6/frame 0xfffffe3fd9321980 sync_dnodes_task() at sync_dnodes_task+0x92/frame 0xfffffe3fd93219c0 taskq_run() at taskq_run+0x10/frame 0xfffffe3fd93219e0 taskqueue_run_locked() at taskqueue_run_locked+0x147/frame 0xfffffe3fd9321a= 40 taskqueue_thread_loop() at taskqueue_thread_loop+0xb8/frame 0xfffffe3fd9321= a70 fork_exit() at fork_exit+0x86/frame 0xfffffe3fd9321ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe3fd9321ab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- Uptime: 14d8h32m53s Dumping 14912 out of 261996 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% __curthread () at ./machine/pcpu.h:232 232 ./machine/pcpu.h: No such file or directory. (kgdb) bt #0 __curthread () at ./machine/pcpu.h:232 #1 doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.c:318 #2 0xffffffff80aa31c3 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:386 #3 0xffffffff80aa36ae in vpanic (fmt=3D, ap=3D0xfffffe3fd93= 21820) at /usr/src/sys/kern/kern_shutdown.c:779 #4 0xffffffff80aa34d3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:710 #5 0xffffffff822df23c in assfail3 (a=3D, lv=3D, op=3D, rv=3D, f=3D, l=3D) at /usr/src/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c:91 #6 0xffffffff8209e9c0 in zfs_space_delta_cb (bonustype=3D, data=3D0xfffff803e64b2f40, userp=3D0xfffff8052a3b2278, groupp=3D0xfffff8052= a3b2280) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c= :609 #7 0xffffffff8200d917 in dmu_objset_userquota_get_ids (dn=3D0xfffff8052a3b= 2000, before=3D0, tx=3D) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c:1592 #8 0xffffffff82015396 in dnode_sync (dn=3D0xfffff8052a3b2000, tx=3D0xfffff803ae49e800) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c:570 #9 0xffffffff8200d192 in dmu_objset_sync_dnodes (list=3D0xfffff801763bb420, tx=3D0xfffff803ae49e800) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c:1093 #10 sync_dnodes_task (arg=3D0xfffff82419cdd260) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c:1160 #11 0xffffffff81fd3750 in taskq_run (arg=3D0xfffff801c66d08d0, pending=3D) at /usr/src/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c:109 #12 0xffffffff80afc0e7 in taskqueue_run_locked (queue=3D0xfffff8016b01cd00)= at /usr/src/sys/kern/subr_taskqueue.c:463 #13 0xffffffff80afd2c8 in taskqueue_thread_loop (arg=3D) at /usr/src/sys/kern/subr_taskqueue.c:755 #14 0xffffffff80a65796 in fork_exit (callout=3D0xffffffff80afd210 , arg=3D0xfffff801281c3f20, frame=3D0xfffffe3fd9321a= c0) at /usr/src/sys/kern/kern_fork.c:1038 #15 --=20 You are receiving this mail because: You are the assignee for the bug.=