Bug 129455 - nr_readers_queued is never decremented
Summary: nr_readers_queued is never decremented
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: glibc
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-09 13:54 UTC by Bob Cook
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-02 05:57:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:384 0 normal SHIPPED_LIVE Updated glibc packages 2004-09-02 04:00:00 UTC

Description Bob Cook 2004-08-09 13:54:53 UTC
Description of problem:
In pthread_rwlock_rdlock.c, nr_readers_queued is never decremented.
See the line of code at the end of the RETRY loop in rwlock_wrlock to 
decrement nr_writers_queued.
That line is missing in rwlock_rdlock.c

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jakub Jelinek 2004-08-09 15:22:35 UTC
Thanks, you're right.
http://sources.redhat.com/ml/libc-hacker/2004-08/msg00024.html

Comment 2 Jay Turner 2004-08-20 12:39:53 UTC
Fix confirmed with 2.3.2-95.26.  Will be released as errata for U3. 
Moving to Modified.

Comment 3 Jay Turner 2004-09-02 05:57:35 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-384.html



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