This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug linuxthreads/261] New: pthread_cond_timedwait_relative hangs
- From: "jiten dot a at gmail dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Jul 2004 14:04:08 -0000
- Subject: [Bug linuxthreads/261] New: pthread_cond_timedwait_relative hangs
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
RedHat 7.3, glibc-2.2.5-34, kernel 2.4.18-3.
Following is a gdb trace, I get similar trace whenever my program hangs.
(gdb) where
#0 0x40ddf063 in __pthread_unlock () from /lib/i686/libpthread.so.0
#1 0x40dda25e in pthread_cond_timedwait_relative () from
/lib/i686/libpthread.so.0
#2 0x4024e04d in sr_waitsync () from /usr/dialogic/lib/libsrl.so
#3 0x4024dd51 in sr_waitevtEx () from /usr/dialogic/lib/libsrl.so
#4 0x080b8380 in CCrbt::MainThread (this=0x99c7d68) at Functions.cpp:13444
#5 0x080f30be in beginCrbtOnChannel (p_ptr=0x99c7d68) at main.cpp:1514
#6 0x4054b816 in ACE_Thread_Adapter::invoke_i (this=0x99df180) at
Thread_Adapter.cpp:150
#7 0x4054b613 in ACE_Thread_Adapter::invoke (this=0x99df180) at
Thread_Adapter.cpp:93
#8 0x4050d774 in ace_thread_adapter (args=0x99df180) at
Base_Thread_Adapter.cpp:121
#9 0x40ddafef in pthread_start_thread () from /lib/i686/libpthread.so.0
ps awxr always returns pid of the thread in unlock. All other threads are trying
to lock. Other application threads are running fine at this moment.
I have reproduced with a simple test code. How can I upload it?
--
Summary: pthread_cond_timedwait_relative hangs
Product: glibc
Version: 2.2.5
Status: NEW
Severity: critical
Priority: P1
Component: linuxthreads
AssignedTo: gotom at debian dot or dot jp
ReportedBy: jiten dot a at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=261
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.