public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27054] New: pthread_atfork handlers that call pthread_atfork deadlock
@ 2020-12-11 15:26 fweimer at redhat dot com
  2020-12-11 15:31 ` [Bug libc/27054] " fweimer at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2020-12-11 15:26 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27054
           Summary: pthread_atfork handlers that call pthread_atfork
                    deadlock
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
             Flags: security-

Some applications call pthread_atfork from a pthread_atfork handler in the new
subprocess because POSIX does not specify that the handlers are duplicated by
fork. With the current implementation, this results in a deadlock. We must not
call pthread_atfork handlers while holding implementation locks.

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

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

end of thread, other threads:[~2022-05-31 16:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 15:26 [Bug libc/27054] New: pthread_atfork handlers that call pthread_atfork deadlock fweimer at redhat dot com
2020-12-11 15:31 ` [Bug libc/27054] " fweimer at redhat dot com
2020-12-15 16:37 ` adhemerval.zanella at linaro dot org
2020-12-15 16:46 ` fweimer at redhat dot com
2022-05-25  9:31 ` cvs-commit at gcc dot gnu.org
2022-05-30 11:39 ` cvs-commit at gcc dot gnu.org
2022-05-30 15:45 ` cvs-commit at gcc dot gnu.org
2022-05-31 16:24 ` arjun.is at lostca dot se

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).