Bug 88336 - nptl SEGV with combination of pthread_cond_wait() / pthread_cond_timedwait() & pthread_exit()
nptl SEGV with combination of pthread_cond_wait() / pthread_cond_timedwait() ...
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
9
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-04-08 23:24 EDT by David Watson
Modified: 2016-11-24 09:48 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-04-17 00:48:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Code to demonstate nptl fault (2.72 KB, text/plain)
2003-04-08 23:26 EDT, David Watson
no flags Details

  None (edit)
Description David Watson 2003-04-08 23:24:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
Threaded application segfaulted in Async I/O. This was traced to a fault in
NPTL. Sample code to reproduce fault is attached. Sample code runs fine with
LD_ASSUME_KERNEL=2.2.5.

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


How reproducible:
Always

Steps to Reproduce:
1.Compile attached sample with 'gcc -o nptl -lpthread nptl.c'
2.Run nptl
3.
    

Actual Results:  Segmentation Fault

Expected Results:  Success

Additional info:
Comment 1 David Watson 2003-04-08 23:26:07 EDT
Created attachment 91024 [details]
Code to demonstate nptl fault
Comment 2 Jakub Jelinek 2003-04-09 03:08:29 EDT
This ought to be fixed in the proposed glibc bugfix errata.
ftp://people.redhat.com/jakub/glibc/errata/9/
Comment 3 Ulrich Drepper 2003-04-17 00:08:23 EDT
Try glibc-2.3.2-27.9 and let us know.  The program prints "success" for me.
Comment 4 David Watson 2003-04-17 00:48:02 EDT
Fixed in errata.

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