From nobody Sun May 21 06:28:48 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 4QP9dY20bFz4C6pb for ; Sun, 21 May 2023 06:28:49 +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 4QP9dY0wYPz3kQZ for ; Sun, 21 May 2023 06:28:49 +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=1684650529; 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=1NX0z2ZfRyMg0iO7ogbclcKEqwL778AVwUpV5j3U3uI=; b=lzT9K1Uijr+JYYWhAor9NtY/PWxY5pMAxSrUMjFKcNuz5FIYF487746Rc43VztLwZG3Mmj Hx9fOwMCV0zm9iw/PBtaDOPWVnLc0O9vcpehzN30iHWxbE2uGrPfvVg1j4mnEGLvaHUhZR OMdmSyu4VTn9b3CXqvj3u7xCnm5T6M4+laZyW9iZoQIMVMSOXNmMbaxW7uTpJIdzBJhbpy tjXBpveqlYMNt29s+pMEHiBgBvAwS56wsXqvjuX1cnBB6q6oSuBntKCwcbZ/KvE8qOBF7D 3rBOJvCb++X4eB7xqn76EQog0ivTXq98GDtuo4I9jrDhaQ/ALY2jCNtwTAqZgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684650529; a=rsa-sha256; cv=none; b=ejZmVn6iOsmke51vKknUEJ75PJI5da+IcagGM0g//GZvepom0m30QBdAFx77WPboQM2bJj wv3fiKUDD5bG9DX0YIf431TEa4TXGuHjVC285P6EQqMi0kpXCa1wAXPwPl2k8so9YYZcL4 wPBUyXkodkHoB1tSEG1dDknaclE7T8mukY3lJxTk3BgcnQZeBmxgOIEYmEd0t7FRVtRllh kqdzRmNJ/41RaU2GxuPwjRHc8LoV9ypaErMa+6D5eZNcscZIuLbW95Nw23nGSwr7I2j9ZC t4md+uFXNuahwsLKrjYevFtQF9ljVtvrwhOdAlnYInkdV2T5eVYsRlutiLbzaw== 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 4QP9dX6xjgzhSP for ; Sun, 21 May 2023 06:28:48 +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 34L6Sm87059301 for ; Sun, 21 May 2023 06:28:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34L6Sml8059300 for threads@FreeBSD.org; Sun, 21 May 2023 06:28:48 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: Sun, 21 May 2023 06:28:48 +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: kj@kjtsanaktsidis.id.au 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 #12 from KJ Tsanaktsidis --- Yes - https://reviews.freebsd.org/D40178 seems to fix the issue with running the ruby tests. I applied it on top of the `releng/13.2` branch on my system and followed the I've been running the test in question for half an hour i= n a loop and no failures yet! Thanks so much for your help debugging this. I must say - this has been my first experience with anything in BSD-world, and I've really appreciated ha= ving the source for the base system all in one giant git repo together. Makes it easy to go spelunking and understand how it all fits together. As someone w= ho recently spent many hours staring at #ifdef soup across glibc, libgcc_s, and the Linux kernel recently, it's been very refreshing! I don't really know how the backport process works - is your intention to backport this to 13.1/13.2 or would the fix just apply from 13.3 forward? If there's no backport I'll probably add `LD_BIND_NOW=3Dyes` to the Ruby test = runner for FreeBSD <=3D 13.2 - does this seem reasonable? --=20 You are receiving this mail because: You are the assignee for the bug.=