Bug 10578 - Hang using pthread_mutex_timedlock on i686
Summary: Hang using pthread_mutex_timedlock on i686
Status: RESOLVED WORKSFORME
Alias: None
Product: glibc
Classification: Unclassified
Component: nptl (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 17:52 UTC by Priit Laes
Modified: 2014-07-01 06:55 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
pthread_test.c (519 bytes, text/plain)
2009-08-31 17:53 UTC, Priit Laes
Details
futex_wait_hang.txt (1.14 KB, text/plain)
2009-08-31 18:00 UTC, Priit Laes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes 2009-08-31 17:52:14 UTC
I'm getting hang (FUTEX_WAIT) in code using pthread_mutex_timedlock on i686 machines. On x86-64 
machine it works fine.

System: Gentoo
Glibc: 2.10.1
Kernel: 2.6.31-rc8
GCC: 4.4.1
Comment 1 Priit Laes 2009-08-31 17:53:11 UTC
Created attachment 4153 [details]
pthread_test.c
Comment 2 Priit Laes 2009-08-31 18:00:21 UTC
Created attachment 4154 [details]
futex_wait_hang.txt

strace output on 32-bit i686 machine
Comment 3 Ulrich Drepper 2009-08-31 18:03:29 UTC
Reproduce it with the current code, not 2.10.1.
Comment 4 Priit Laes 2009-08-31 19:58:39 UTC
Works with glibc master, marking WORKSFORME :)

PS. Could the "My Bugs" be changed so it would show bugs with WAITING status?