Bug 600746 - Fix ADL anonymous type crash
Summary: Fix ADL anonymous type crash
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gdb   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Jan Kratochvil
QA Contact: Petr Muller
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-05 20:57 UTC by Jan Kratochvil
Modified: 2016-09-20 02:06 UTC (History)
5 users (show)

Fixed In Version: gdb-7.1-25.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 20:26:44 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Jan Kratochvil 2010-06-05 20:57:33 UTC
Description of problem:
There is a crash regression against RHEL-5.

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

How reproducible:

Steps to Reproduce:
runtest gdb.cp/koenig.exp # that is:
#test that lookup is not thwarted by anonymous types
gdb_test "p foo (p_union)" "Cannot resolve function foo to any overloaded instance"

Actual results:
ERROR: Process no longer exists

Expected results:
PASS: gdb.cp/koenig.exp: p foo (p_union)

Additional info:
There are more patches to make it working but the intended one is only to fix a crash.

Upstream fix:

There is no regression risk, just one new NULL check.

New testcase:
PASS: gdb.cp/koenig.exp: p foo (p_union)

Comment 1 RHEL Product and Program Management 2010-06-05 21:02:56 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Fedora Update System 2010-06-09 13:59:00 UTC
gdb-7.1-26.fc13 has been submitted as an update for Fedora 13.

Comment 3 Fedora Update System 2010-06-10 19:22:48 UTC
gdb-7.1-26.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Petr Muller 2010-08-03 14:53:01 UTC
# runtest --tool=gdb gdb.cp/namespace-koenig.exp; grep p_union gdb.log
p foo (p_union)
(gdb) PASS: gdb.cp/namespace-koenig.exp: p foo (p_union)

Comment 6 releng-rhel@redhat.com 2010-11-10 20:26:44 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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