public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/30619] New: Support dlopen after multi-threaded fork in more cases
@ 2023-07-06 17:24 fweimer at redhat dot com
  2023-07-06 17:25 ` [Bug dynamic-link/30619] " fweimer at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fweimer at redhat dot com @ 2023-07-06 17:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30619

            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-threaded
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 == RT_CONSISTENT' failed!

Bug 24941 is an example of a surprising use of NSS. There might be others.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug dynamic-link/30619] Support dlopen after multi-threaded fork in more cases
  2023-07-06 17:24 [Bug dynamic-link/30619] New: Support dlopen after multi-threaded fork in more cases fweimer at redhat dot com
@ 2023-07-06 17:25 ` fweimer at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fweimer at redhat dot com @ 2023-07-06 17:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30619

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 14955
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14955&action=edit
Patch with test case

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-06 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 17:24 [Bug dynamic-link/30619] New: Support dlopen after multi-threaded fork in more cases fweimer at redhat dot com
2023-07-06 17:25 ` [Bug dynamic-link/30619] " fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).