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.

Bug 980534

Summary: /usr/lib/debug CRC mismatch without build-id
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kratochvil <jan.kratochvil>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED CURRENTRELEASE QA Contact: Aleš Mareček <amarecek>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: amarecek, ffesti, gbenson, jakub, jan.kratochvil, jzeleny, mjw, novyjindrich, packaging-team-maint, palves, pknirsch, pmatilai, pmuldoon, sergiodj, tromey
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rpm-4.11.1-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 971119 Environment:
Last Closed: 2014-06-13 09:39:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 971119    
Bug Blocks:    

Description Jan Kratochvil 2013-07-02 16:02:47 UTC
Tracker for F-18-filed Bug with a patch:

+++ This bug was initially created as a clone of Bug #971119 +++

Description of problem:
rm -rf /usr/lib/debug/.build-id
GDB stops working.

Version-Release number of selected component (if applicable):
gdb-7.5.1-38.fc18.x86_64

How reproducible:
On one system.

Steps to Reproduce:
gdb cal

Actual results:
warning: the debug information found in "/usr/lib/debug//usr/bin/cal.debug" does not match "/usr/bin/cal" (CRC mismatch).

Expected results:
Reading symbols from /usr/bin/cal...Reading symbols from /usr/lib/debug/usr/bin/cal.debug...done.

Additional info:

--- Additional comment from Jan Kratochvil on 2013-06-13 15:38:07 CEST ---

The cal problem is due to dwz: Changing .debug file CRC not updating it in the main file referencing it.

Comment 1 Panu Matilainen 2013-07-05 09:50:22 UTC
Fixed in rpm >= 4.11.1-2.el7

Comment 3 Jan Kratochvil 2013-07-11 15:24:35 UTC
This bug is about /usr/lib/rpm/sepdebugcrcfix .

The missing top level symlinks is Bug 974130 which is also fixed now.

So it is best to test them now together and any /usr/lib/debug/**.debug file should load fine, even with deleted /usr/lib/debug/.build-id/ .

The correct loading is for example:
Reading symbols from /usr/bin/cal...Reading symbols from /usr/lib/debug/usr/bin/cal.debug...done.

I see I messed up a bit Comment 0 of this Bug.

Comment 8 Ludek Smid 2014-06-13 09:39:59 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.