public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14958] New: Concurrent reader deadlock in pthread_rwlock_rdlock()
@ 2012-12-13 20:55 daniel.stodden at gmail dot com
  2012-12-13 23:22 ` [Bug libc/14958] " daniel.stodden at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: daniel.stodden at gmail dot com @ 2012-12-13 20:55 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14958

             Bug #: 14958
           Summary: Concurrent reader deadlock in pthread_rwlock_rdlock()
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: daniel.stodden@gmail.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Created attachment 6780
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6780
Example program provoking concurrent reader deadlock.

We believe we found a deadlock scenario in NPTL's rwlock implementation, 
relating to additional scheduling dependencies which NPTL imposes on 
concurrent readers.

It happens when facing sufficient congestion between both 
read- and write-locking candidates queued.

The code attached was tested on eglibc 2.15, but we believe the same
issue remains present in any more recent version of glibc and eglibc
we've seen.

It contains additional comments and a description of an event series
which lead to readers never woken, despite the rwlock being held in
read-locked mode.

-- 
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] 13+ messages in thread

end of thread, other threads:[~2015-06-04 16:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-13 20:55 [Bug libc/14958] New: Concurrent reader deadlock in pthread_rwlock_rdlock() daniel.stodden at gmail dot com
2012-12-13 23:22 ` [Bug libc/14958] " daniel.stodden at gmail dot com
2012-12-13 23:59 ` daniel.stodden at gmail dot com
2012-12-15  5:16 ` bugdal at aerifal dot cx
2012-12-16  9:12 ` daniel.stodden at gmail dot com
2012-12-16 17:33 ` bugdal at aerifal dot cx
2012-12-17  9:20 ` daniel.stodden at gmail dot com
2013-10-20 19:22 ` neleai at seznam dot cz
2014-02-07  3:17 ` [Bug nptl/14958] " jsm28 at gcc dot gnu.org
2014-06-14  5:35 ` fweimer at redhat dot com
2015-04-28 21:39 ` triegel at redhat dot com
2015-06-04 16:03 ` cvs-commit at gcc dot gnu.org
2015-06-04 16:07 ` triegel 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).