RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1664456 - SYMBOL_LANGUAGE assertion in dwarf2read.c
Summary: SYMBOL_LANGUAGE assertion in dwarf2read.c
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gdb
Version: 8.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Keith Seitz
QA Contact: Michal Kolar
Vladimír Slávik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-08 21:16 UTC by Keith Seitz
Modified: 2019-06-14 01:40 UTC (History)
8 users (show)

Fixed In Version: gdb-8.2-5
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-14 01:40:23 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1560010 0 unspecified CLOSED Assertion `SYMBOL_LANGUAGE (sym) == DICT_LANGUAGE (dict)->la_language' failed. 2021-02-22 00:41:40 UTC
Sourceware 23010 0 None None None 2019-04-24 13:41:41 UTC
Sourceware 23712 0 None None None 2019-04-24 13:41:41 UTC

Description Keith Seitz 2019-01-08 21:16:03 UTC
Description of problem:

Assertion while reading symbols

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

GDB-8.2.x

How reproducible:

Always

Steps to Reproduce:
   See upstream gdb/23010, gdb/23712 or related Fedora bugs 1560010 et al.
   This is another instance of hitting the assertion through binaries
   compiled with LTO.

Actual results:

$ gdb -q ../../obj3/gcc/build/genchecksum
Reading symbols from ../../obj3/gcc/build/genchecksum...done.
../../gdb/dwarf2read.c:9730: internal-error: void dw2_add_symbol_to_list(symbol*, pending**): Assertion `(*listhead) == NULL || (SYMBOL_LANGUAGE ((*listhead)->symbol[0]) == SYMBOL_LANGUAGE (symbol))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) 

Expected results:

No assertion

Additional info:

Comment 1 Keith Seitz 2019-01-08 21:23:24 UTC
One thing I forgot to mention... This problem could potentially cause a flood of bug reports from abrt, which uses gdb to gather backtraces.

Comment 6 Michal Kolar 2019-01-22 14:49:15 UTC
Reproduced against gdb-8.2-3.el8 and verified against gdb-8.2-5.el8.

Tested by reproducer of Sourceware/23010.


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