Bug 71022 - pthread_cond_wait() misses cancel signal
Summary: pthread_cond_wait() misses cancel signal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-07 21:34 UTC by Julian Chang
Modified: 2016-11-24 14:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-15 22:25:42 UTC
Embargoed:


Attachments (Terms of Use)
test program (617 bytes, text/plain)
2002-08-07 21:36 UTC, Julian Chang
no flags Details
shell script used to exercise test program (68 bytes, text/plain)
2002-08-07 21:37 UTC, Julian Chang
no flags Details

Description Julian Chang 2002-08-07 21:34:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; Q312461; .NET 
CLR 1.0.3705)

Description of problem:
I am porting an application from RHL7.0 to RHL7.2 and I am having problems 
exiting because an associated detached thread seems to be hanging in 
pthread_cond_wait().  Sample test program and shell script are attached.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.compile test program
2.run shell script
3.
	

Actual Results:  test program will hang after 10-50 iterations

Expected Results:  test program should always exit cleanly

Additional info:

gcc is 2.96-108.7.2
glibc is 2.2.4-27

Comment 1 Julian Chang 2002-08-07 21:36:30 UTC
Created attachment 69384 [details]
test program

Comment 2 Julian Chang 2002-08-07 21:37:40 UTC
Created attachment 69385 [details]
shell script used to exercise test program

Comment 3 Alan Cox 2002-12-15 22:25:42 UTC
Works for me in 8.0



Note You need to log in before you can comment on or make changes to this bug.