From nobody Thu May 01 15:22:52 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 4ZpHqc2sDmz5vK49 for ; Thu, 01 May 2025 15:22:52 +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 4ZpHqc2CYwz3VWS for ; Thu, 01 May 2025 15:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746112972; 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=ytKS/uQ7GRv+svYXJkZoTrDg6aOEaORDMCMUTYlekLk=; b=xUmN5dYSyA/SJUWOTNcYYtpWhtHWGp8MGtUcm4AC7n0rmlNWfJI4hayCOlF1vB8dPBL1Nh 4Nd5dz8V5Jw9x1FEJtgoFZrPhql4onc9MpXmWNYnPa3nF9Z2JGbLFPBkwMZNUeqnmj4lV6 OumLWn4LJZpDlv5XcfDpMmMftOKoPXHridrZgoGux2QfyZ65M5OrT6GdMwMoR2YTrZETn7 yKrKG9pSDeLbd7thaU3b3rcorMpuSJguS/3XPjSDbtsRl6MeodRuR+TqIl2J89FrTZeCOd BD/04rPhuKJ6keylo8HVSBVKbcW/nVRddyK9I/8xbT9qNhklJotVExmUzmmpWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746112972; 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=ytKS/uQ7GRv+svYXJkZoTrDg6aOEaORDMCMUTYlekLk=; b=oFNssNcdhcLX15ssZC2TPVViLbq+nL68ffwf8SFx7Ubd//jGufNeacU3T8QQyYgkHd2OSG iW7NqStrzom9F/zPMvlGxoSpPC5N+TSasmWvtltROkIg+B/UT3wZ+HtP2S2qb1Tng2qU5A jG+wD5y4KnFqKiQ3HDdQ/otGzraRNHhEbsnQk7RsQfj/n+CvQ1Okk91rnAj08+K+g/8nfh 2Tv2d5T8FDVD5erGKY5Y36W+BUvGgo74Uwsff4763Sb8XTzzpaAJ4wZgPG/DCrC0uSoW9B Mi7cW3C7qA6GKeDmvXGXgna3G9w5Ga+X947IKkICAZTl4ExeXS9gdqO3Ij29Hg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746112972; a=rsa-sha256; cv=none; b=y1eA/oPNdoCvdk3kxehrTZB58gars1miGc6Hd2dGi7PuQKyC7QAnYoOCHqQ0exPDSNEm6T duJ6HZCHTVmobL+IWbH4uhgohUUj5wA6PmHBNBMDl8EsA/Nv4oIZ5SEncszBVIiK9fcoZ6 NgjnfbRl780EkVzof2+cGhm+ZMxdVLJi6GjvifSjbJB63ev1e+rsn3UDLVeUGnQob/u4wC pAjQqyoVdzC/Gj6p/FeeAe4Fzsuq+9l9cqH6DxzCKtkiPTjzxScczyMsSdWjI+HBXjaJ1u +vBdbKbkG5K2if9il7C8sSOROzj8AzZF/BGljQeISn8cutXC52VgMpu1IbJOpw== 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 4ZpHqc1d9DzYnL for ; Thu, 01 May 2025 15:22:52 +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 541FMq08016900 for ; Thu, 1 May 2025 15:22:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 541FMqVp016899 for threads@FreeBSD.org; Thu, 1 May 2025 15:22:52 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:22:52 +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 #2 from Dapeng Gao --- (In reply to Konstantin Belousov from comment #1) Thanks for the clarification. I was under the impression that ifunc resolve= rs are allowed to enter _rtld_bind based on one of your own commits (https://github.com/freebsd/freebsd-src/commit/5734c46c68e4f5b4edfc00921d02= d8b8c973e51c). Would you agree then that it is in principle OK to revert that commit, and = in particular to remove the lock_release/wlock_acquire pairs around the calls = to ifunc resolvers? --=20 You are receiving this mail because: You are the assignee for the bug.=