Bug 71022

Summary: pthread_cond_wait() misses cancel signal
Product: [Retired] Red Hat Linux Reporter: Julian Chang <julian_chang>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-15 22:25:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test program
none
shell script used to exercise test program none

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