Skip to navigation

Bug Fix Advisory gdb bug fix update

Advisory: RHBA-2011:1024-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-07-21
Last updated on: 2011-07-21
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

An updated gdb package that fixes various bugs is now available for Red Hat
Enterprise Linux 5.

The GNU Debugger, GDB, allows the debugging of programs written in C, C++, and
other languages by executing them in a controlled fashion and printing the debug
data.

This updated gdb package includes fixes for the following bugs:

* Previously, a change to the list of shared libraries could have corrupted the
internal "bpstat" structure. Consequent to this, typing the "info program"
command at a GDB prompt could have caused the utility to terminate unexpectedly
with a segmentation fault. This update ensures that the "bpstat" structure
always contains the correct data, and running the "info program" command no
longer causes the debugger to terminate unexpectedly. (BZ#660197)

* A multithreaded program can be dumped into a core file. GDB can load the core
file and display the list of its threads. Previously, GDB displayed for the
threads found in the core file only their LWP (light-weight process)
identifiers, which match the Linux TID (Thread Identifier) values. With this
update, GDB initializes the libthread_db threads debugging library when
accessing a core file and now displays the pthread_t identifier in addition to
the LWP identifier. (BZ#673697)

* The Fortran programming language is case-insensitive. When compiling Fortran
programs with the Intel Fortran Compiler, the compiler records some debug info
symbols in uppercase. The gfortran compiler writes case-insensitive symbols in
lowercase. Because of this, GDB could have terminated unexpectedly while
accessing uppercase characters in the debug information from the Intel Fortran
Compiler. With this update, GDB properly implements case insensitivity and
ignores the symbols case in the symbol files. (BZ#645773)

* GDB crashed when reading a kernel core dump file because the value of the
temporary current inferior process was set to minus_one_ptid (all processes).
The value is now set to null_ptid (no processes) and GDB displays the vmcore
file correctly. (BZ#696464)

All users of gdb are advised to upgrade to this updated package, which resolves
these issues.


Solution

Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red Hat
Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
gdb-7.0.1-37.el5.src.rpm
File outdated by:  RHBA-2013:0044
    MD5: f4afedee072cf3713dd0e4c118258bc4
SHA-256: 9007d42fb2f063e79caefd990892deeaf7df0591d43e74af1b0f443b76310cc9
 
IA-32:
gdb-7.0.1-37.el5.i386.rpm
File outdated by:  RHBA-2013:0044
    MD5: a528346b8b0ef87001efff9f9396d75e
SHA-256: 64e535c923305217af7d72eb0404f7aefc3613dffd4fa44a6adeba7ac47cec3b
 
IA-64:
gdb-7.0.1-37.el5.i386.rpm
File outdated by:  RHBA-2013:0044
    MD5: a528346b8b0ef87001efff9f9396d75e
SHA-256: 64e535c923305217af7d72eb0404f7aefc3613dffd4fa44a6adeba7ac47cec3b
gdb-7.0.1-37.el5.ia64.rpm
File outdated by:  RHBA-2013:0044
    MD5: 701cb411ddbc845ca775d74a948219f7
SHA-256: 1492c4b97a7fc4b7b22649cdcb42d86c82c8e5df659f87467d1fec770e9f9c63
 
PPC:
gdb-7.0.1-37.el5.ppc64.rpm
File outdated by:  RHBA-2013:0044
    MD5: 34ddfe41a5678fb180dd937c525d09e5
SHA-256: da62182d500f6cd9c7ec3a99bb4f14265feb120b7bc13c92e786506db32968f6
 
s390x:
gdb-7.0.1-37.el5.s390x.rpm
File outdated by:  RHBA-2013:0044
    MD5: b960259e35bc9433d8e1523e449940e3
SHA-256: d72d42e3644bb691d8890bb57df959b6a378fb27b1de664de46bb607997bf29c
 
x86_64:
gdb-7.0.1-37.el5.x86_64.rpm
File outdated by:  RHBA-2013:0044
    MD5: 3758aa2539cbdcb7230d7d63fe18ec90
SHA-256: e008121234b9476c590e63b0241c8fa2a47ec7965fb13923e1c7447786ea1423
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
gdb-7.0.1-37.el5.src.rpm
File outdated by:  RHBA-2013:0044
    MD5: f4afedee072cf3713dd0e4c118258bc4
SHA-256: 9007d42fb2f063e79caefd990892deeaf7df0591d43e74af1b0f443b76310cc9
 
IA-32:
gdb-7.0.1-37.el5.i386.rpm
File outdated by:  RHBA-2013:0044
    MD5: a528346b8b0ef87001efff9f9396d75e
SHA-256: 64e535c923305217af7d72eb0404f7aefc3613dffd4fa44a6adeba7ac47cec3b
 
x86_64:
gdb-7.0.1-37.el5.x86_64.rpm
File outdated by:  RHBA-2013:0044
    MD5: 3758aa2539cbdcb7230d7d63fe18ec90
SHA-256: e008121234b9476c590e63b0241c8fa2a47ec7965fb13923e1c7447786ea1423
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

645773 - internal-error: print_frame_args: Assertion `nsym != NULL' failed
660197 - [5.6] Using call subcommand to the functions handling DSOs causes info program to behave abnormally
673697 - gdb: Linux core files should use linux-thread-db.c



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/