From nobody Fri May 19 11:20:15 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 4QN4Bm2RLjz4Bpld for ; Fri, 19 May 2023 11:20:16 +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 4QN4Bl4lskz4VWj for ; Fri, 19 May 2023 11:20:15 +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=1684495215; 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=YnHlZUcIR8IyFjh7YFBu798HkbR5Vs+xSUO7tNSpzBg=; b=kbSKEuyhZbPryuHhomEGLJLoO7g0c/jqCYBKt7y892R5j2OaFqor0JnTsbKW4MQUmSC5Z7 w9ZaIk+++t2hDZus4xdmy1jLGGYt7DoR6/FxP3R2Cf17gpYQ7hveMEoCyyPkRf6z2wpLli 5Fn90bpTty5wrMgiQEWBX9zgchtx6XyQnhmYLU2XTuvybEdnFXxxxw3pQNEiUwEM1RSjep +lUnHiIlMeil6BOFDJy6Fi+T0cCN332SIbvJAXivGXjDAcRsWt0r+AJxvo8YC6313UGiiI G+TxRLvMoRhMz9M3HnyB8vkM5iFDB1IvV60gzqs0xCK1VJWpRou0M24Uz6Nxew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684495215; a=rsa-sha256; cv=none; b=bo+YoMDMbvCNbvSbj5wSyNoLpHzHv5bwvIBHa7PN9sFyo14zFLrAh6OvNoWiPojSJ2avCr r/ME+SHIwI9SrbBQmE5eTXY3XSYFxMLjHmqwn4HG4Segm5yhfyAH+0AUS1twyCXjHAuOA5 FHeVJwoULMnD33fp7S1aD/h5sgMGZ47Rpl3ZcX4yTrDOqrIkX/m7mo8GoaItBKrbLKmNzo 2ufBgJ9gYIjUjMFr+PBeVxqnjlwfRgFdGyba6FzTs+8Bp6/xVsfCyjjP7f3UND5LJfTlyE iX87WCfC4NTzfUVyaa+RDhO+UYKj+IBbNkge62gREweMlpvjnnNHjkjiCAnGCQ== 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 4QN4Bl3lNvzQSJ for ; Fri, 19 May 2023 11:20:15 +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 34JBKF1T049458 for ; Fri, 19 May 2023 11:20:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34JBKFFO049457 for threads@FreeBSD.org; Fri, 19 May 2023 11:20:15 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: Fri, 19 May 2023 11:20:15 +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 #5 from KJ Tsanaktsidis --- > Can you please provide me the stand-alone ruby program that demonstrates = the problem in non-disputable way, and the exact instructions how to launch it? Unfortunately I still haven't been able to isolate the problem outside of t= he actual Ruby test harness.... so this is all a bit involved. I've been tryin= g to develop a minimal reproduction (with either C or Ruby) but I haven't had any luck so far. * You'll need `git`, `autoconf`, `automake`, `bison`, `m4`, `libffi`, `libunwind`, and `libyaml`. * Clone my Ruby fork: `git clone https://github.com/KJTsanaktsidis/ruby.git` * Check out this commit (includes some _other_ fixes necessary to surface t= his problem): `git checkout d5471e6e1e8b81d7c7e960538d138868db0e0707` * `autoreconf -fi` * `./configure` (I don't think any particular flags are needed) * `make` Then, use the built ruby to run this particular test in a loop, until eventually it hangs: ``` while ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=3D.ex= t -- ./test/runner.rb test/ruby/test_process.rb -n test_daemon_no_threads; do ec= ho "ok"; done; ``` --=20 You are receiving this mail because: You are the assignee for the bug.=