From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 607F03858C2D; Thu, 6 Jul 2023 17:24:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 607F03858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688664241; bh=l3E4qBdtOD+OZ/p4iQxOxzgS40VpfGCwp9oK2YdZHlw=; h=From:To:Subject:Date:From; b=Qv8D4AuPV0FheT4dmd9kgM4fmWw2A1aNpYeVpl9e+vNTG0wG5nfnI44fnrixfmZft VqPO/NmMEyxZUptsoXGVH/71FDh46ZaZ47/B+PYxN7BZS58KfPQquiEC+oI1wXRFow alytyawWahFV2WV8sJ4DTfolsgjCqWX3TLedLHl0= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30619] New: Support dlopen after multi-threaded fork in more cases Date: Thu, 06 Jul 2023 17:24:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30619 Bug ID: 30619 Summary: Support dlopen after multi-threaded fork in more cases Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: fweimer at redhat dot com Target Milestone: --- The dlopen function is used internally in various places (backtrace, iconv, pthread_exit, NSS). It would be preferable if it worked after a multi-threa= ded fork. Right now, we get various hangs, or an assertion failure: Inconsistency detected by ld.so: dl-open.c: 583: dl_open_worker_begin: Assertion `r_state =3D=3D RT_CONSISTENT' failed! Bug 24941 is an example of a surprising use of NSS. There might be others. --=20 You are receiving this mail because: You are on the CC list for the bug.=