public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/10904] New: endless loop in pthread_mutex_timedlock()
@ 2009-11-04 17:50 redhat at linuxhowtos dot org
  2009-11-04 17:51 ` [Bug nptl/10904] " redhat at linuxhowtos dot org
  2010-04-09  3:08 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: redhat at linuxhowtos dot org @ 2009-11-04 17:50 UTC (permalink / raw)
  To: glibc-bugs

On my system (gentoo, Kernel 2.6.31.5, glibc 2.10, gcc 4.3.4, i686, 32 bit)
the attached test program creates an endless loop with 100% cpu usage.
the call to the pthread_mutex_timedlock blocks and strace shows
futex(0x8bd5028, 0x180 /* FUTEX_??? */, 2, {1257295709, 1}) = -1 ENOSYS
(Function not implemented)
repeated endlessly.

statically linked with the 2.9 glibc
the call is
futex(0x804a03c, FUTEX_WAIT_PRIVATE, 2, {0, 999946771}) = -1 ETIMEDOUT
(Connection timed out)
what is to be expected.

0x180 seems to be
FUTEX_TRYLOCK_PI|FUTEX_WAIT_BITSET which cannot be combined.

-- 
           Summary: endless loop in pthread_mutex_timedlock()
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: critical
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: redhat at linuxhowtos dot org
                CC: glibc-bugs at sources dot redhat dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug nptl/10904] endless loop in pthread_mutex_timedlock()
  2009-11-04 17:50 [Bug nptl/10904] New: endless loop in pthread_mutex_timedlock() redhat at linuxhowtos dot org
@ 2009-11-04 17:51 ` redhat at linuxhowtos dot org
  2010-04-09  3:08 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: redhat at linuxhowtos dot org @ 2009-11-04 17:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From redhat at linuxhowtos dot org  2009-11-04 17:51 -------
Created an attachment (id=4358)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4358&action=view)
short test program to trigger the problem


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug nptl/10904] endless loop in pthread_mutex_timedlock()
  2009-11-04 17:50 [Bug nptl/10904] New: endless loop in pthread_mutex_timedlock() redhat at linuxhowtos dot org
  2009-11-04 17:51 ` [Bug nptl/10904] " redhat at linuxhowtos dot org
@ 2010-04-09  3:08 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2010-04-09  3:08 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2010-04-09 03:08 -------
I cannot reproduce any problem.  This might have been fixed.  Retry with a
current version and reopen if you still see the problem.  Include details of
your build in that case, include the assumed minimal kernel version etc.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-04-09  3:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-04 17:50 [Bug nptl/10904] New: endless loop in pthread_mutex_timedlock() redhat at linuxhowtos dot org
2009-11-04 17:51 ` [Bug nptl/10904] " redhat at linuxhowtos dot org
2010-04-09  3:08 ` drepper 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).