public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/13184] New: rwlocks can go into dead lock
@ 2011-09-12 21:19 redhat at pureftpd dot org
  2011-09-12 21:33 ` [Bug nptl/13184] " bugdal at aerifal dot cx
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: redhat at pureftpd dot org @ 2011-09-12 21:19 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 13184
           Summary: rwlocks can go into dead lock
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: critical
          Priority: P2
         Component: nptl
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: redhat@pureftpd.org
    Classification: Unclassified


This issue can be reliably reproduced on glibc 2.7, glibc 2.11, glibc 1.14 and
glibc-current (stock, without any vendor patches).

A race condition can cause a pthreads rwlock to get a negative number of
__nr_readers, thus leading to a dead lock.

This issue seems to be hardware dependent. I haven't been able to reproduce it
on single-core Opterons nor Intel hardware. But it happens in minutes on
different boxes, all powered by dual-core Opteron 270.

A test program triggering this issue can be found at:
http://download.pureftpd.org/misc/nptl-bugs/crazylock.c

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

end of thread, other threads:[~2014-06-13 14:29 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-12 21:19 [Bug nptl/13184] New: rwlocks can go into dead lock redhat at pureftpd dot org
2011-09-12 21:33 ` [Bug nptl/13184] " bugdal at aerifal dot cx
2011-09-12 21:42 ` redhat at pureftpd dot org
2011-09-12 22:26 ` bugdal at aerifal dot cx
2011-09-12 22:41 ` redhat at pureftpd dot org
2011-09-13  1:57 ` redhat at pureftpd dot org
2011-09-13  2:02 ` redhat at pureftpd dot org
2012-01-16 20:03 ` ph.mathieu at gmail dot com
2012-01-16 21:47 ` redhat at pureftpd dot org
2012-01-17 14:54 ` ph.mathieu at gmail dot com
2012-10-04 12:31 ` siddhesh at redhat dot com
2012-10-04 12:37 ` bugdal at aerifal dot cx
2012-10-04 13:13 ` siddhesh at redhat dot com
2012-10-04 17:56 ` bugdal at aerifal dot cx
2012-10-04 17:56 ` bugdal at aerifal dot cx
2012-12-19 10:44 ` schwab@linux-m68k.org
2014-06-13 14:29 ` 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).