public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/13172] New: aio_suspend is not async-signal-safe
@ 2011-09-09 3:38 bugdal at aerifal dot cx
2012-04-29 3:05 ` [Bug nptl/13172] " bugdal at aerifal dot cx
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugdal at aerifal dot cx @ 2011-09-09 3:38 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13172
Bug #: 13172
Summary: aio_suspend is not async-signal-safe
Product: glibc
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: nptl
AssignedTo: drepper.fsp@gmail.com
ReportedBy: bugdal@aerifal.cx
Classification: Unclassified
aio_suspend is required by POSIX to be async-signal-safe, but the first
non-trivial line of glibc's implementation of aio_suspend is:
pthread_mutex_lock(&__aio_requests_mutex);
This will obviously deadlock (or worse) if the thread running the signal
handler was already executing aio_suspend when it was interrupted by the
signal.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nptl/13172] aio_suspend is not async-signal-safe
2011-09-09 3:38 [Bug nptl/13172] New: aio_suspend is not async-signal-safe bugdal at aerifal dot cx
@ 2012-04-29 3:05 ` bugdal at aerifal dot cx
2014-06-13 14:29 ` fweimer at redhat dot com
2015-08-27 22:11 ` [Bug librt/13172] " jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: bugdal at aerifal dot cx @ 2012-04-29 3:05 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13172
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|drepper.fsp at gmail dot |unassigned at sourceware
|com |dot org
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug nptl/13172] aio_suspend is not async-signal-safe
2011-09-09 3:38 [Bug nptl/13172] New: aio_suspend is not async-signal-safe bugdal at aerifal dot cx
2012-04-29 3:05 ` [Bug nptl/13172] " bugdal at aerifal dot cx
@ 2014-06-13 14:29 ` fweimer at redhat dot com
2015-08-27 22:11 ` [Bug librt/13172] " jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 14:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13172
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug librt/13172] aio_suspend is not async-signal-safe
2011-09-09 3:38 [Bug nptl/13172] New: aio_suspend is not async-signal-safe bugdal at aerifal dot cx
2012-04-29 3:05 ` [Bug nptl/13172] " bugdal at aerifal dot cx
2014-06-13 14:29 ` fweimer at redhat dot com
@ 2015-08-27 22:11 ` jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13172
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|nptl |librt
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-27 22:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 3:38 [Bug nptl/13172] New: aio_suspend is not async-signal-safe bugdal at aerifal dot cx
2012-04-29 3:05 ` [Bug nptl/13172] " bugdal at aerifal dot cx
2014-06-13 14:29 ` fweimer at redhat dot com
2015-08-27 22:11 ` [Bug librt/13172] " jsm28 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).