From nobody Wed Sep 21 08:50:19 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 4MXXDW59GTz4cmBc for ; Wed, 21 Sep 2022 08:50:19 +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 4MXXDW47m5z3VNp for ; Wed, 21 Sep 2022 08:50:19 +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 4MXXDW2tvpz11DK for ; Wed, 21 Sep 2022 08:50:19 +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 28L8oJUE041281 for ; Wed, 21 Sep 2022 08:50:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28L8oJ9B041280 for fs@FreeBSD.org; Wed, 21 Sep 2022 08:50:19 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] [PATCH] zfs: xattr on a symlink target > 136 causes "bad file descriptor" (on 12.1) and panic on (13 CURRENT) in sa_build_index() Date: Wed, 21 Sep 2022 08:50:19 +0000 X-Bugzilla-Reason: CC AssignedTo 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 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663750219; 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=JUN7wAfrRacZJczY8UWgfIrIhRK9lt5tgDCY4s2LKmI=; b=vsupKl3k31Q+q4eftmCevfbBKj4Bp4dgHBWt0/Ag2nGD0SS++K1dn4AZMFObcCjsdlu3Br pejLpmNUvR038cO87TJJk1N8DNjXk9+4Kd8Awu1iM3+sSuGi5q5nmo3resSmG/RYZasXjE Khsiz3SL4R7fBK9oWwmJqZQcCccayy4cZ/wYw7QZ5dsGT5htdJWOG4sDPl8iD5P4nB8iwc 7aA0cZrZS4cWAcazkyRqVpDL2je7gzANYax4/d+kQdIpMZxRKdgwnfgTRHKpKFfUmc56+y +clzt2SfWlpqL1fi/hl8dDU7s9frNT+IkysJR9ajkos3LbynwKQaLOjPKEQ+4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663750219; a=rsa-sha256; cv=none; b=QnHgTF6bgEqq+NNZ1nnYb/aXW5pnCBCuu4jxxYAiwuQ9u7bk0kygsg9aMxSo5bY9JvvSjw lOlxQSCJVwAhqVe9d0JPimVfAEyMO6ecGZ6KyIkSglNDjW2mkzQYdwBxDftqAEF5W7sxeZ tM8Ba7oFB4uqaPeXeZNU+g9fsVEDPjcbUvZHAKdJ4q6zoTwuJDdAC6jSaO76R+NczskN13 +Xcl6EsWNkbImb1ZUg/vxk6goS/pFu84QecevOGNwn9EEDULoAh7TxhpBmXFSdX6By114T I+J9mgvrE0pksbR72tx+RpgLTAFfd2QzRco9TamF0S8W/W6qT+koQHVIFjUkQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244899 Sean Champ changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lab+bsd@thinkum.space --- Comment #7 from Sean Champ --- I think this may have cleared up at least in FreeBSD 13.1 (changeset b63021e001d)? e.g uname FreeBSD sol.cloud.thinkum.space 13.1-STABLE FreeBSD 13.1-STABLE #0 build/stable/13-n252436-b63021e001d: Sun Sep 18 22:01:30 PDT 2022=20=20=20= =20 me@sol.cloud.thinkum.space:[sic] amd64 With an earlier build of FreeBSD 13.1 (changeset 41ce229505a) I'd encounter= ed what I think was the same error as here, when building some ports with poudriere on ZFS.=20 With that earlier FreeBSD 13.1 build, the uname: FreeBSD sol.cloud.thinkum.space 13.1-STABLE FreeBSD 13.1-STABLE #0 build/stable/13-n251001-41ce229505a: Sat Jun 4 18:12:09 PDT 2022=20=20=20= =20 me@sol.cloud.thinkum.space:[sic] amd64 The "Bad file descriptor" error, when building lang/rust under Poudriere on= ZFS on that kernel and base system: [...] -- Installing: /wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/llvm/includ= e/llvm/MC/MCObjectFileInfo.h CMake Error at cmake_install.cmake:41 (file): file INSTALL cannot copy file =20 "/wrkdirs/usr/ports/lang/rust/work/rustc-1.63.0-src/src/llvm-project/llvm/i= nclude/llvm/MC/MCObjectFileInfo.h" to =20 "/wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/llvm/inclu= de/llvm/MC/MCObjectFileInfo.h": Bad file descriptor. FAILED: CMakeFiles/install.util=20 cd /wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/llvm/bui= ld && /usr/local/bin/cmake -P cmake_install.cmake ninja: build stopped: subcommand failed. I'd seen a similar error with a number of ports - "Bad file descriptor" - before stopping the port upgrade. Now having updated the local 13.1 build to changeset b63021e001d under stable/13 branch, I've not seen any such error when building rust now. Of course, it will be a few more hours before the entire port upgrade complete= s, if it could serve any test of the issue. If it may show up again, but I'll look at adding those options to my KERNCO= NF and rebuilding the kernel. Thx! --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=