public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/30789] New: [2.38 Regression] sem_open will fail on multithreaded scenarios when semaphore file doesn't exist (O_CREAT)
@ 2023-08-23 14:20 sergiodj at sergiodj dot net
  2023-08-23 14:23 ` [Bug libc/30789] " sergiodj at sergiodj dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sergiodj at sergiodj dot net @ 2023-08-23 14:20 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 30789
           Summary: [2.38 Regression] sem_open will fail on multithreaded
                    scenarios when semaphore file doesn't exist (O_CREAT)
           Product: glibc
           Version: 2.38
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: sergiodj at sergiodj dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Ref.: https://inbox.sourceware.org/libc-alpha/87cyzdrgh3.fsf@sergiodj.net/T/#t
Ref.: https://bugs.launchpad.net/ubuntu/+source/h5py/+bug/2031912

Due to 533deafbdf189f5fbb280c28562dd43ace2f4b0f ("Use O_CLOEXEC in more places
(BZ #15722)") glibc 2.38's sem_open will fail on multithreaded scenarios when
the semaphore file doesn't exist but should be created (i.e., when it's invoked
with O_CREAT).

Detailed analysis of this problem can found at
https://inbox.sourceware.org/libc-alpha/87cyzdrgh3.fsf@sergiodj.net/T/#t and
https://bugs.launchpad.net/ubuntu/+source/h5py/+bug/2031912/comments/7.

-- 
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:[~2023-12-03 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-23 14:20 [Bug libc/30789] New: [2.38 Regression] sem_open will fail on multithreaded scenarios when semaphore file doesn't exist (O_CREAT) sergiodj at sergiodj dot net
2023-08-23 14:23 ` [Bug libc/30789] " sergiodj at sergiodj dot net
2023-08-24 12:38 ` sam at gentoo dot org
2023-08-24 12:39 ` sam at gentoo dot org
2023-09-25 14:37 ` freswa at archlinux dot org
2023-11-03 18:46 ` cvs-commit at gcc dot gnu.org
2023-11-03 18:47 ` adhemerval.zanella at linaro dot org
2023-12-03 12:11 ` cvs-commit at gcc dot gnu.org

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