Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Context: "py-bt" command in gdb fails when debugging Python, see bz#1641686.
Comment 2Sergio Durigan Junior
2018-12-18 15:37:39 UTC
As discussed with Victor on IRC, the fix for this bug has already been pushed upstream:
commit 81fbbaf96216ed88973a069e4ed25379d7421ec8 (HEAD -> master, origin/master, origin/HEAD)
Author: Sergio Durigan Junior <sergiodj>
Date: Wed Nov 28 17:22:08 2018 -0500
Fix dwarf2read.c:dwarf2_find_containing_comp_unit's binary search
And has also been backported to F29 GDB, as can be checked on Bug 1639242. Therefore, the only thing needed to fix this issue is to backport the patch to RHEL8 GDB.
I know Keith has been working on a patch to synchronize RHEL8 GDB with F29 GDB, and he was just testing things to see if nothing breaks. Once this patch is pushed and a new RHEL8 GDB is built using it, the bug should be fixed.
Happy new year ;-)
"(...) the only thing needed to fix this issue is to backport the patch to RHEL8 GDB. (...) Once this patch is pushed and a new RHEL8 GDB is built using it, the bug should be fixed."
Good! Any update on that?
"gdb python3" and "gdb gdb" no longer crash. gdb is able to resolve symbols, put breakpoints, where works as expected, etc.
Does gdb-8.2-5.el8.x86_64 contain the fix? Maybe just close the issue as fixed in the current release?