From nobody Thu May 1 15:45:54 2025 X-Original-To: threads@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 4ZpJLC1G1Kz5vLfw for ; Thu, 01 May 2025 15:45:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZpJLC0ft2z3g8Y for ; Thu, 01 May 2025 15:45:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746114355; 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=OJ9l6UnX2Fd1H9bgXWp5eD7tx5+9ujXkM68qYKQ3X/c=; b=FeGT/CR6f4aZMwm3Xq+m0uVSID0vYDcYWhkSNWMGiWEYTeS3cNnFOuXK+sxmskKvI8NHhD m9WYA+ct11ovJUwkzKva1Ii+/R/EuWIDPuyS/LDDy5amLcYQL/8ItCMtaozQvuSiXDhVBw P6ggSTJqfsvDohDsZJ4mkLmNPJlDEi2Nd47vYIIRwqqHjdcyj1CePo9kkaTBOdwdiwMbUP bDIxuTItObWGBOui01O/h+BqIe/Q3VZYEwJIOOaUz5d9W1gv4o/HieuAJh3HlAsDG0RZCn +SCuegM3dllPdmEuHFlajBQoX7gNquCXBPxYr+MSJ0uZn1gLqegn3ZXX2EZfQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746114355; 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=OJ9l6UnX2Fd1H9bgXWp5eD7tx5+9ujXkM68qYKQ3X/c=; b=EY06fQc3q+OCf5PfkWsK6IuQs45t/Bofk9jvQkLua6f4HmXEyo7zYFNiF0tWoZim78fvTg L1w0YEygcMQ9Rmp71bgK8hENBDSSUWcsOklo/NRJEZm/hX3r6/0iGMAJ2yewW4rwac8O8K 4g6DaWOFOC//QvI6inet9pfMi1q/emLoOa/IOCgA+8XYs2ppUCFHz2k3IiUj0EgYoCjVwG X9M6kU4mPbWyPnXI6fVRhcWvp/UfdwIE2UTwdy1f+IYwfJ/H/8V8WNMR3EKIuaxRIAXRlX 1lBw8VOcgI6YKlO96ynSWD2wp4NmmmHEv/F0dkSK7I25/aageciQQ5DVJY/dvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746114355; a=rsa-sha256; cv=none; b=mIu0o9l64zltWUrN0ZRXo2161HpWrT1FhysAnrKxakTYI3+OTGtznvNvdma9W4sIu4iigm 7DG76cN0CE5DPJBbx1NUdGH2ybouIpjFulk/aho6uF9j0FKQXmrhEqxKKtm9ZFl58QgFnp Qf4SRgmuBHQz3XEkZxpzsVbHZcALYnuBvMrlUBhIGg58FQp9qfKxA/MsKz3cyn/34yMaqN uYVfwHj7j6jDwTxph92Ddh5NqXXmVS0D12IpeW0NaX7Aj+/GvydBRU73vn2Ve2O7cSUIgT su5cS72UTPxYy/KfszGHH2lclitwWX0YllXYCGS/6gFedIRaSVDEJdbuzw0nwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4ZpJLB6fBVzZ3J for ; Thu, 01 May 2025 15:45:54 +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 541Fjs1V050085 for ; Thu, 1 May 2025 15:45:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 541Fjsvl050084 for threads@FreeBSD.org; Thu, 1 May 2025 15:45:54 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: threads@FreeBSD.org Subject: [Bug 286502] RTLD deadlocks during IFUNC resolution Date: Thu, 01 May 2025 15:45:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dapeng.gao@cl.cam.ac.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-threads@freebsd.org Sender: owner-freebsd-threads@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286502 --- Comment #4 from Dapeng Gao --- (In reply to Konstantin Belousov from comment #3) I'm a little confused. If the first symbol in foo.so to be resolved by _rtld_bind were just a regu= lar STT_FUNC, filter loading would happen there and no deadlock would occur when the ifunc is resolved in the future. So, the resolver does not inherently cause the filter loading, and deadlock= may or may not happen depending on whether the resolver is the first resolved symbol. This seems rather undesirable. --=20 You are receiving this mail because: You are the assignee for the bug.=