- Issued:
- 2011-05-19
- Updated:
- 2011-05-19
RHBA-2011:0638 - Bug Fix Advisory
Synopsis
gdb bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated gdb packages that fix several bugs and add various enhancements are now
available for Red Hat Enterprise Linux 6.
Description
The GNU debugger, gdb, is a debugger for programs written in C, C++, and other
languages.
This update fixes these bugs:
- GDB crashed when reading a kernel core dump file because the value of
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. (BZ#611435)
- When the gcore utility created a core file for an executable compiled with the
"-Wl,-z,relro" parameter, GDB was unable to open it. This occurred because the
file did not contain the list of shared libraries. Such core files now contain
the shared library list and can be opened. (BZ#625239)
- GDB Python's pretty-printing feature provides an easily-readable view on
complex C++ STL data structures. GDB crashed when displaying such structures.
This occurred when the pretty printer threw a Python exception and GDB crashed
due to a NULL pointer dereference. GDB now displays the easily-readable view of
any C++ STL data structure correctly. (BZ#629236)
- GDB aborted unexpectedly if you set breakpoints on GNU-IFUNC functions and
started the debugged program because the breakpoints could not resolve the
target functions of the GNU-IFUNC functions at program startup. Breakpoints on
GNU-IFUNC functions are now resolved when the program calls the target function.
(BZ#632259)
- With GDB, you can modify VSX registers on PowerPC platforms. Changing some VSX
registers corrupted other VSX registers. GDB now sets VSX registers
independently. (BZ#636298)
- GDB aborted unexpectedly when an inferior shared library list changed during
an inferior function call. This occurred because GDB reset all breakpoints
including the temporary breakpoint, which was created by the call, and attempted
to delete the breakpoint again after the call finished. The temporary breakpoint
now remains valid during the entire inferior function call. (BZ#639645)
- GDB could have hung when debugging multithreaded programs with the setuid()
function because the siginfo_t information associated with a signal number got
lost. GDB now no longer resubmits or reorders signals and the siginfo_t value is
preserved. (BZ#639647)
- GDB terminated unexpectedly after user run the "info program" command because
a change of the shared library list corrupted the data in the internal GDB
structure "bpstat". The structure now contains correct data even after a change
in the shared library list and "info program" works as expected. (BZ#661773)
- Test suite file break-interp.exp reported for PowerPC platforms several FAIL
results. A number of fixes have been applied to address these issues and the
test suite for PowerPC now runs successfully. (BZ#663449)
- GDB crashed when attempting to access dynamic types, such as variable length
arrays, using the GDB/MI interface. GDB now no longer crashes under these
circumstances. (BZ#682891)
- On the i686 architecture, the awatch and rwatch commands printed an error when
entered before the program-to-be-debugged started. GDB now by default debugs on
the native architecture and the commands can be used before the
program-to-be-debugged starts. (BZ#688788)
This update adds these enhancements:
- Debugged programs may use C++ templates. C++ templates provide template
symbols for instantiation of classes and functions. GDB debugged the template
instances but the template symbols were not accessible. GDB now displays the
template symbols while debugging the template instances. (BZ#562758)
- Fortran supports array slicing. GDB could not slice multidimensional arrays.
GDB now supports slicing of such arrays. (BZ#609782)
- The gdb package has been upgraded to upstream version 7.2, which provides a
number of bug fixes and enhancements over the previous version. (BZ#649030)
- GDB did not display pthread_t for threads found in the core. GDB now displays
pthread_t for the threads. (BZ#673696)
Users are advised to upgrade to these packages, which resolve the bugs and add
the enhancements.
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
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6 x86_64
Fixes
- BZ - 611435 - ../../gdb/thread.c:889: internal-error: switch_to_thread: Assertion `inf != NULL' failed
- BZ - 629236 - [abrt] crash in gdb-7.1-28.fc13: gdbpy_is_string: Process /usr/bin/gdb was killed by signal 11 (SIGSEGV)
- BZ - 632259 - ../../gdb/infrun.c:5467: internal-error after setting breakpoint in glibc-statically-linked program
- BZ - 639645 - gdb aborts with a 'double free or corruption' when calling inferior functions with print or call command
- BZ - 639647 - gdb gets stuck on multi-threaded program which calls setuid() frequently
- BZ - 649030 - Rebase GDB to 7.2 (=Fedora 14)
- BZ - 661773 - [6.0] Using call subcommand to the functions handling DSOs causes info program to behave abnormally
- BZ - 673696 - gdb: Linux core files should use linux-thread-db.c
- BZ - 682891 - [MI] crash on use-after-free types in check_typedef()
- BZ - 688788 - [REG][6.1] "awatch" subcommand of gdb does not work
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
i386 | |
gdb-7.2-48.el6.i686.rpm | SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2 |
gdb-debuginfo-7.2-48.el6.i686.rpm | SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d |
gdb-gdbserver-7.2-48.el6.i686.rpm | SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
i386 | |
gdb-7.2-48.el6.i686.rpm | SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2 |
gdb-debuginfo-7.2-48.el6.i686.rpm | SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d |
gdb-gdbserver-7.2-48.el6.i686.rpm | SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
i386 | |
gdb-7.2-48.el6.i686.rpm | SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2 |
gdb-debuginfo-7.2-48.el6.i686.rpm | SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d |
gdb-gdbserver-7.2-48.el6.i686.rpm | SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
i386 | |
gdb-7.2-48.el6.i686.rpm | SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2 |
gdb-debuginfo-7.2-48.el6.i686.rpm | SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d |
gdb-gdbserver-7.2-48.el6.i686.rpm | SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
s390x | |
gdb-7.2-48.el6.s390x.rpm | SHA-256: 0227a6392e3f64e6b9763b7f8ac824dec67d92af95a5149ac8c11de17bb690db |
gdb-debuginfo-7.2-48.el6.s390x.rpm | SHA-256: 80bcc9bddf7827a1ff495cc7261932194ac97ff50e50654cff8e171da760ac62 |
gdb-gdbserver-7.2-48.el6.s390x.rpm | SHA-256: bb64d7b92c0a77bdec9fcd83027fd4cd1ed5644df957fb1b7a2999af176a9bcf |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
ppc64 | |
gdb-7.2-48.el6.ppc64.rpm | SHA-256: 0824b2ce211ebf8407134836e1bb27f41d1267d8ba6b4309335ad97150c8dc34 |
gdb-debuginfo-7.2-48.el6.ppc64.rpm | SHA-256: 6ff4b7d96bce47447f5a748759fc85b571d8d17325709de60ce8377b4e4a1b1b |
gdb-gdbserver-7.2-48.el6.ppc64.rpm | SHA-256: f708ca4c2eaf681d7fcee74ff62aa0589a41a3bcaa55c3d11e6696a0281d3d8b |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
i386 | |
gdb-7.2-48.el6.i686.rpm | SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2 |
gdb-debuginfo-7.2-48.el6.i686.rpm | SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d |
gdb-gdbserver-7.2-48.el6.i686.rpm | SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
s390x | |
gdb-7.2-48.el6.s390x.rpm | SHA-256: 0227a6392e3f64e6b9763b7f8ac824dec67d92af95a5149ac8c11de17bb690db |
gdb-debuginfo-7.2-48.el6.s390x.rpm | SHA-256: 80bcc9bddf7827a1ff495cc7261932194ac97ff50e50654cff8e171da760ac62 |
gdb-gdbserver-7.2-48.el6.s390x.rpm | SHA-256: bb64d7b92c0a77bdec9fcd83027fd4cd1ed5644df957fb1b7a2999af176a9bcf |
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6
SRPM | |
---|---|
gdb-7.2-48.el6.src.rpm | SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421 |
x86_64 | |
gdb-7.2-48.el6.x86_64.rpm | SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c |
gdb-debuginfo-7.2-48.el6.x86_64.rpm | SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e |
gdb-gdbserver-7.2-48.el6.x86_64.rpm | SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.