Bug 86582

Summary: glibc errata busted gdb
Product: [Retired] Red Hat Linux Reporter: Christopher Blizzard <blizzard>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0CC: arjan, bryner, drow, ezannoni, fweimer, jon, mat, mitr, notting
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.2-4.80.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-03 10:48:48 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:

Description Christopher Blizzard 2003-03-25 22:10:19 UTC
Description of problem:

glibc errata busted gdb

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

2.3.2-4.80

How reproducible:

Try to debug Mozilla.

Steps to Reproduce:
1. Try to start up Mozilla in gdb.
    
Actual results:

gdb will start spewing errors like:

Program received signal SIG32, Real-time event 32.

Expected results:

Program should be debugged as normal.

Additional info:

This happened when the glibc update was released.  Lots of people are reporting
this.  We need to unscrew it.

Comment 1 Jakub Jelinek 2003-03-27 18:08:52 UTC
Can you please try ftp://people.redhat.com/jakub/glibc/errata/8.0/ ?

Comment 2 Need Real Name 2003-03-27 18:21:29 UTC
In case anyone finds it useful, I filed a detailed report about this
bug as a gdb bug, number 1154.  You can see that here:

    http://sources.redhat.com/cgi-bin/gnatsweb.pl

I wasn't debugging mozilla, but a different large, multithreaded program.
Same results though: gdb doesn't work at all for my program.


Comment 3 Jakub Jelinek 2003-03-27 18:35:02 UTC
FYI in the errata there is no NPTL, just two copies of linuxthreads (floating
stacks and non-floating-stacks). Because of a bug in the kernel and bugfix
in glibc only non-floating-stacks linuxthreads are used in 2.3.2-4.80,
so in 2.3.2-4.80.1 I've backed out the glibc bugfix so that floating-stacks
libpthread can be used unless LD_ASSUME_KERNEL=2.2.5 or kernel too old.

Comment 4 Jonathan Biggar 2003-03-27 22:26:41 UTC
I tried the 2.3.2-4.80.1 packages from 
ftp://people.redhat.com/jakub/glibc/errata/8.0/

Didn't help.  Gdb still refuses to recognize threaded programs.

Comment 5 Jakub Jelinek 2003-03-29 08:57:15 UTC
Oops, sorry. Actually more work was needed to make /lib/i686 libs to be used
even when the kernel supplies broken AT_PLATFORM aux vector value.
Can you try: ftp://people.redhat.com/jakub/glibc/errata/8.0/*4.80.3* ?

Comment 6 Andrew Schultz 2003-03-30 04:23:08 UTC
I'm no longer seeing the SIG32 problems with *4.80.3 packages

Comment 7 Need Real Name 2003-04-02 18:40:31 UTC
*4.80.3 fixed my gdb problems as well.


Comment 8 Ulrich Drepper 2003-10-03 10:48:48 UTC
Should be fixed in the last errata.