From nobody Sun Oct 23 03:57:44 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 4Mw4D92jLtz4fvPl for ; Sun, 23 Oct 2022 03:57:45 +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 4Mw4D86d4Pz3k6l for ; Sun, 23 Oct 2022 03:57:44 +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 4Mw4D850jrzmNM for ; Sun, 23 Oct 2022 03:57:44 +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 29N3vi04042013 for ; Sun, 23 Oct 2022 03:57:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29N3viHc042012 for fs@FreeBSD.org; Sun, 23 Oct 2022 03:57:44 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 244899] zfs: xattr on a symlink target > 136 causes "bad file descriptor" (on 12.1) and panic on (13 CURRENT) in sa_build_index() Date: Sun, 23 Oct 2022 03:57:44 +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: CURRENT X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? 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=1666497464; 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=gayKISUnX6UWfmMv8yGZbiwc3tVa6E9LkM11d9zDito=; b=Kx4btSqBmocDoKfIsCD3ZIDjLgx8/tLumtpgCDat71C09VxRb0bKpBomh71qdFLWem0ZHt PKwfq25Yx/VCCsK6dg2VZX/MbD4UBVjyr7G57IuSkV13Cwznc7VRSU8OOjWOaV3wBQ5T/u Reuvfr4/pcak3d8/oQWmfO3hwTuEUAQsJmi/KUi22xhkZgy4+9d0LUt6pAkhD3bLRXzkGw RiE6p3sQsIzzFhXwm4rQdC7QD1rpaNhCTHrNjOTpu/tgst0PEiF6n5TA9eDMJnCfLEP2Wx gUCG3GgmIhqoD5pHNaX+Ehl5i7PwLJBV1cWebb7RFIIKkBH1UYrceXZVcud9kA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666497464; a=rsa-sha256; cv=none; b=T10pGY5zq/Cfx1gPDpgTTr1RHVvB6kHnuOIrDMLN/hNuuxKjdsNNsZiqObxBQCbw1pkSB8 ujBJRostoAIDoshv0CDwmrakNjgEQgfjFI2gQt/lR8GpCyaKGJEfXDDtLEl5MA5/TYKP/s CXn6JP0nar1/nHZrv2+HfXEFgotH5SgSN8QxSzbRa6Ot2hOXcggb74cJU3nh+OWpVQIdxW F/3KoNZfcveJ2/m4FzVeTkgETlX9NOdIK7be8ZgzjI9eFz8DkcUAOvRJ1JflVhCPaHeG+0 miynvA7kyb3/aYqm6ic6sdUG8XLNASv8S5EDz+DxbddCD8Viy3kNAfiggRtU4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244899 --- Comment #9 from Sean Champ --- After rebuilding the kernel from changeset b63021e001d in stable/13 with the additional makeoptions, still seeing the similar (?) error in port builds w= ith ZFS in Poudriere ~~~~ =3D=3D=3D> Returning to build of binutils-2.37_4,1 =3D=3D=3D> binutils-2.37_4,1 depends on executable: msgfmt - not found =3D=3D=3D> Installing existing package /packages/All/gettext-tools-0.21_1= .pkg [xmin.bld.cloud.thinkum.space] Installing gettext-tools-0.21_1... [xmin.bld.cloud.thinkum.space] `-- Installing libtextstyle-0.21... [xmin.bld.cloud.thinkum.space] `-- Extracting libtextstyle-0.21: .......... done [xmin.bld.cloud.thinkum.space] Extracting gettext-tools-0.21_1: .... pkg-static: Fail to chown /usr/local/share/doc/gettext/examples/hello-java-awt/po/.pkgtemp.zh_HK.po.B= fvtcrBEkY7V:Bad file descriptor [xmin.bld.cloud.thinkum.space] Extracting gettext-tools-0.21_1... done Failed to install the following 1 package(s): /packages/All/gettext-tools-0.21_1.pkg *** Error code 1 Stop. make: stopped in /usr/ports/devel/binutils ~~~~ Albeit, the symlink example above is not erring here.=20 I've noticed the bug - as above - at some points, with symlink files. Previously, it was happening during pkg staging. Once installed under a builder jail, the file /usr/local/share/doc/gettext/examples/hello-java-awt/po/zh_HK.po is not a symlink. After some previous occurrences of the bug, during pkg staging in poudriere, I'd thought that it might be related to the item above. Maybe it's a separa= te bug of some kind. The 'Bad file descriptor' message continues to show up in port builds local= ly, when using ZFS in poudriere. There's a workaround in using tmpfs for all builder filesystems in poudriere builds.=20 I'll try to make an isolated test case for the bug that I'm seeing with my local FreeBSD build - something beyond the bad FD messages here. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=