From nobody Sat May 20 08:11:32 2023 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 4QNbyX4VNbz4Bm7b for ; Sat, 20 May 2023 08:11:32 +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 4QNbyW73R3z3R4B for ; Sat, 20 May 2023 08:11:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684570292; 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=5WXjfq375X5S29e4sZxxkC/QAwo9bmT5hGxWPS61OL4=; b=GJTUtElq/HEmE5YIn306b+Pn+xVYSexuyeNUwFC387amUt34GqZiPa4fWVt4jd2kj0l5Sn bKbZOYGWgohuZZdX3AGHXmlQA+kz73oPDRC/asrP1YmomAwaDgKpht5ml7nggK9sbtM4b6 0oWfNObIGboZ1A9mHwxPKaVDx3Z591yy6OI0bfzq3eLXNbvTu2uBTCGnvXOjTyMJ0sPKsX 9OM0H4rLRMyP1HS2qfMsSsY97zH2ROsQK3rjWlXnWi+TsZOZkTiNH7yYRqJCMXUkbjLzdT 67Xh8QTF+BzJKQmiWs+hw9QPNLZSlCqh39qs3rHU3O+Z/xiPTGrf+3kSGLjwPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684570292; a=rsa-sha256; cv=none; b=PxJpCtmle8munVO+4owyzqiF8Xa7OMQSjEQyiOrsND2gSIH59MZvn9lmvQW9Evz/ym6iU7 XdReGGFhRTlaApc5SuVqxRikCUkhsxxf+lh+3eLPrSKT0NmZBLSvOxcrc49W99O7NJ61RA ZoHycUzW6RSHLP4oLiyD0K9MG+cPNWA7fedUcveLuHWiRjaziSIzmy4sXDX+89q4XGgbR2 yoEZse61silhuOZTFmTa2GU73qqKFy43jMtbMQU8bLIe7kzLw1DvEFFX8iFvCa1WYe82im X7eQ/LTSJbydP74y/A1GJVkYpWZbSli1jePXLjmUpa3RiMJ182K+hD0+SXPoXg== 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 4QNbyW53kMz11wM for ; Sat, 20 May 2023 08:11:31 +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 34K8BVqQ092573 for ; Sat, 20 May 2023 08:11:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34K8BV78092572 for threads@FreeBSD.org; Sat, 20 May 2023 08:11:31 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 271490] Deadlock between _rtld_atfork_pre and _thr_attr_init Date: Sat, 20 May 2023 08:11:32 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org 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-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: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-threads@freebsd.org X-BeenThere: freebsd-threads@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271490 --- Comment #10 from Konstantin Belousov --- Please try the following. Does the patch help in your settings? I am esp. interested in the ruby test. diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c index a9d1924967a7..c9c4871bab54 100644 --- a/lib/libthr/thread/thr_rtld.c +++ b/lib/libthr/thread/thr_rtld.c @@ -80,7 +80,7 @@ _thr_rtld_lock_create(void) busy_places |=3D (1 << locki); l =3D &lock_place[locki]; - l->lock.rw_flags =3D URWLOCK_PREFER_READER; +// l->lock.rw_flags =3D URWLOCK_PREFER_READER; return (l); } --=20 You are receiving this mail because: You are the assignee for the bug.=