From nobody Mon Sep 19 11:08:08 2022 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 4MWMNS4yFzz4cVlb for ; Mon, 19 Sep 2022 11:08:08 +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 4MWMNS30Rnz461Z for ; Mon, 19 Sep 2022 11:08:08 +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 4MWMNS1zyHzMNd for ; Mon, 19 Sep 2022 11:08:08 +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 28JB88ik066368 for ; Mon, 19 Sep 2022 11:08:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28JB88Gq066367 for fs@FreeBSD.org; Mon, 19 Sep 2022 11:08:08 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 266409] 13.1-RELEASE amd64 crashes in: sa_handle_destroy at zfs/sa.c:1368 > zfs_znode_dmu_fini at zfs/zfs_znode.c:390 Date: Mon, 19 Sep 2022 11:08:08 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 000.fbsd@quip.cz X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663585688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3PaRekV1vv2MQHU8msQG51jmKF21B3WwAdDxuLYInnI=; b=B9+nRPmynvpiNMsoICuDEybqeT52V62vMkdb6VqNVwoiGRSgwau1QtxnzJ0vWuOTVlZMEV +HYjnOWlSLABxHlyqnueJgTCoVyI4ZFCg1pytaaLPjtszWQJoeqYNup4b8ffsmY7gpv4w0 nDfwnO2KLP7Ac+2F1BxOD36VM/2Jjhn4dYpy5neaeaBuRiVLQYVcVdVYE29zCPwlj1OhGY KFt/PCY602F+hL309wlyEunc1xZdWsV5KPOSR16pauelR4Hll0+QYY1AExvlI9ILeEWnPP AINZhizDV9oBbzz3Lc5gGJRGkzlcz9YFCtP+dXcQAmnCnsd9cqm1/QQInpp0zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663585688; a=rsa-sha256; cv=none; b=TaECSFVI1B2M6RbQ6HQ+8ewVjgrVWUrcQPvtSs1XpzWDN6Z2YRqwuJEv7BFNPYEJfgezTC BtdixnS7Utzew5UuYxI0zkqbmeoJgCN8DcravSEqTQSqMBoMV0BO8AF4GWxVd1jreLAwwr PniXURCFD85MEC9wagIGeGIOAQsuuJ6h3Hk5RUIETkMmt2cWNjFSNpb6xVYDr/U/Vf7rcF 08gzzEgQHv2OfNl/pccQNV8soXS8uHA4MlEEwQqbRJrOmcbIlWMggsoiy/Xbv6YqmlK06V Cxv0PPsxonSRzRPu2gyL+ZBPNMY7Y1mFCs/yQHjWgzVSzIntFPYmbv1pDwuU+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266409 --- Comment #14 from Miroslav Lachman <000.fbsd@quip.cz> --- (In reply to Miroslav Lachman from comment #13) I have a bt from single user panic: Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 04 fault virtual address =3D 0xc3 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff821d7dd0 stack pointer =3D 0x28:0xfffffe00f7640350 frame pointer =3D 0x28:0xfffffe00f7640410 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 74 (find) trap number =3D 12 panic: page fault cpuid =3D 2 time =3D 1663591376 KDB: stack backtrace: #0 0xffffffff80c69465 at kdb_backtrace+0x65 #1 0xffffffff80c1bb1f at vpanic+0x17f #2 0xffffffff80c1b993 at panic+0x43 #3 0xffffffff810afdf5 at trap_fatal+0x385 #4 0xffffffff810afe4f at trap_pfault+0x4f #5 0xffffffff81087528 at calltrap+0x8 #6 0xffffffff8224b7bf at sa_handle_destroy+0x8f #7 0xffffffff821a87aa at zfs_zinactive+0xca #8 0xffffffff821a2458 at zfs_freebsd_reclaim+0x38 #9 0xffffffff8117e09f at VOP_RECLAIM_APV+0x1f #10 0xffffffff80cf8c72 at vgonel+0x342 #11 0xffffffff80cf4d47 at vnlru_free_impl+0x2f7 #12 0xffffffff80cffc38 at vn_alloc_hard+0xc8 #13 0xffffffff80cf5423 at getnewvnode_reserve+0x93 #14 0xffffffff821a78a2 at zfs_zget+0x22 #15 0xffffffff8219284b at zfs_dirent_lookup+0x16b #16 0xffffffff8219291a at zfs_dirlook+0x7a #17 0xffffffff821a4a10 at zfs_lookup+0x3d0 Uptime: 10m33s Dumping 1729 out of 12189 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c1b71c in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c1bb8e in vpanic (fmt=3D0xffffffff811b4fb9 "%s",=20 ap=3D) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c1b993 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff810afdf5 in trap_fatal (frame=3D0xfffffe00f7640290, eva=3D195) at /usr/src/sys/amd64/amd64/trap.c:944 #6 0xffffffff810afe4f in trap_pfault (frame=3D0xfffffe00f7640290,=20 usermode=3Dfalse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:763 #7 #8 dbuf_evict_user (db=3D0xfffff800263b4128) at /usr/src/sys/contrib/openzfs/module/zfs/dbuf.c:569 #9 dbuf_rele_and_unlock (db=3D0xfffff800263b4128, tag=3D,=20 evicting=3D0) at /usr/src/sys/contrib/openzfs/module/zfs/dbuf.c:3712 #10 0xffffffff821da0bb in dbuf_rele (db=3D, tag=3D,=20 tag@entry=3D0x0) at /usr/src/sys/contrib/openzfs/module/zfs/dbuf.c:3662 #11 0xffffffff8224b7bf in sa_handle_destroy (hdl=3D0xfffff8004f980900) at /usr/src/sys/contrib/openzfs/module/zfs/sa.c:1379 #12 0xffffffff821a87aa in zfs_znode_dmu_fini (zp=3D0xfffff80035b90760) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c:390 #13 zfs_zinactive (zp=3Dzp@entry=3D0xfffff80035b90760) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c:1267 #14 0xffffffff821a2458 in zfs_freebsd_reclaim (ap=3D) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c:51= 88 #15 0xffffffff8117e09f in VOP_RECLAIM_APV ( vop=3D0xffffffff8245f340 , a=3Da@entry=3D0xfffffe00f76404= e0) at vnode_if.c:2180 #16 0xffffffff80cf8c72 in VOP_RECLAIM (vp=3D0xfffff80058e705b8) at ./vnode_if.h:1087 #17 vgonel (vp=3Dvp@entry=3D0xfffff80058e705b8) at /usr/src/sys/kern/vfs_subr.c:4144 #18 0xffffffff80cf4d47 in vtryrecycle (vp=3D0xfffff80058e705b8) at /usr/src/sys/kern/vfs_subr.c:1694 #19 vnlru_free_impl (count=3Dcount@entry=3D1, mnt_op=3Dmnt_op@entry=3D0x0,= =20 mvp=3D0xfffff80003be3400) at /usr/src/sys/kern/vfs_subr.c:1331 #20 0xffffffff80cffc38 in vnlru_free_locked (count=3D1) at /usr/src/sys/kern/vfs_subr.c:1344 #21 vn_alloc_hard (mp=3Dmp@entry=3D0x0) at /usr/src/sys/kern/vfs_subr.c:1745 #22 0xffffffff80cf5423 in vn_alloc (mp=3D0x0) at /usr/src/sys/amd64/include/atomic.h:416 #23 getnewvnode_reserve () at /usr/src/sys/kern/vfs_subr.c:1887 #24 0xffffffff821a78a2 in zfs_zget (zfsvfs=3Dzfsvfs@entry=3D0xfffff8001cdee= 000,=20 obj_num=3D257193, zpp=3Dzpp@entry=3D0xfffffe00f76406f0) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_znode.c:942 #25 0xffffffff8219284b in zfs_dirent_lookup ( dzp=3Ddzp@entry=3D0xfffff80058c6b938,=20 name=3D0xfffffe00f7640860 "patch-src_init.c",=20 zpp=3Dzpp@entry=3D0xfffffe00f7640740, flag=3Dflag@entry=3D2) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_dir.c:191 #26 0xffffffff8219291a in zfs_dirlook (dzp=3Ddzp@entry=3D0xfffff80058c6b938= ,=20 name=3D0x0, name@entry=3D0xfffffe00f7640860 "patch-src_init.c",=20 zpp=3Dzpp@entry=3D0xfffffe00f76407e0) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_dir.c:247 #27 0xffffffff821a4a10 in zfs_lookup (dvp=3D,=20 nm=3Dnm@entry=3D0xfffffe00f7640860 "patch-src_init.c", vpp=3D,=20 cnp=3Dcnp@entry=3D0xfffffe00f7640c58, nameiop=3D0, cr=3D= , flags=3D0,=20 cached=3D1) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c:929 #28 0xffffffff821a011b in zfs_freebsd_lookup (ap=3D0xfffffe00f7640990, cach= ed=3D1) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c:45= 93 #29 zfs_freebsd_cachedlookup (ap=3D0xfffffe00f7640990) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops_os.c:46= 01 #30 0xffffffff80cdc4ad in VOP_CACHEDLOOKUP (dvp=3D0xfffff80058dd83d0,=20 vpp=3D0xfffffe00f7640a10, cnp=3D0xfffffe00f7640c58) at ./vnode_if.h:99 #31 vfs_cache_lookup (ap=3D) at /usr/src/sys/kern/vfs_cache.c:3069 #32 0xffffffff80ce0cb0 in VOP_LOOKUP (dvp=3Ddvp@entry=3D0xfffff80058dd83d0,= =20 vpp=3D0x0, vpp@entry=3D0xfffffe00f7640a10, cnp=3D0x0,=20 cnp@entry=3D0xfffffe00f7640c58) at ./vnode_if.h:65 #33 0xffffffff80ce06e3 in cache_fplookup_noentry ( fpl=3Dfpl@entry=3D0xfffffe00f7640a88) at /usr/src/sys/kern/vfs_cache.c:= 4928 #34 0xffffffff80cddf66 in cache_fplookup_next (fpl=3D0xfffffe00f7640a88) at /usr/src/sys/kern/vfs_cache.c:5284 #35 cache_fplookup_impl (dvp=3D, fpl=3D0xfffffe00f7640a88) at /usr/src/sys/kern/vfs_cache.c:5932 #36 cache_fplookup (ndp=3Dndp@entry=3D0xfffffe00f7640bd8,=20 status=3Dstatus@entry=3D0xfffffe00f7640b84,=20 pwdp=3Dpwdp@entry=3D0xfffffe00f7640b88) at /usr/src/sys/kern/vfs_cache.= c:6104 #37 0xffffffff80ce8cba in namei (ndp=3Dndp@entry=3D0xfffffe00f7640bd8) at /usr/src/sys/kern/vfs_lookup.c:570 #38 0xffffffff80d06953 in kern_statat (td=3D0xfffffe00f75fc560,=20 flag=3D, fd=3D-100, path=3D0xfffffe00f75fc560 "\300`\264= \026",=20 pathseg=3Dpathseg@entry=3DUIO_USERSPACE, sbp=3Dsbp@entry=3D0xfffffe00f7= 640d18,=20 hook=3D0x0) at /usr/src/sys/kern/vfs_syscalls.c:2441 #39 0xffffffff80d0704f in sys_fstatat (td=3D0x0, uap=3D0xfffffe00f75fc948) at /usr/src/sys/kern/vfs_syscalls.c:2418 #40 0xffffffff810b06ec in syscallenter (td=3D0xfffffe00f75fc560) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #41 amd64_syscall (td=3D0xfffffe00f75fc560, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1185 #42 #43 0x00000008011ad39a in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffe628 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=