Bug 729011

Summary: Failed to find the .debug_info section in a debuginfo file
Product: Red Hat Enterprise Linux 6 Reporter: Karel Klíč <kklic>
Component: ricciAssignee: Chris Feist <cfeist>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: cluster-maint, rsteiger, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ricci-0.16.2-48.el6 Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 14:13:21 UTC Type: ---
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:    
Bug Blocks: 727919, 756082    

Description Karel Klíč 2011-08-08 15:19:23 UTC
A problem related to debuginfo was found in the ricci-0.16.2-35.el6 package. This issue might affect crash analysis done by Automatic Bug Reporting Tool and its retrace server, and also prevent proper debugging of crashes via GDB.

When a binary is compiled without gcc's -g option, no debugging information is generated and rpmbuild creates almost-empty debuginfo file, which cannot be used for debugging. Please fix the package build process to use $RPM_OPT_FLAGS, which include the -g option among others.

path: /usr/lib/debug/usr/bin/ccs_sync.debug
package: ricci-debuginfo-0.16.2-35.el6.i686

This issue can be investigated and tested by using eu-readelf tool from the elfutils package. Use `eu-readelf --section-headers /usr/lib/debug/usr/bin/<debuginfofile>.debug` to see if debuginfo file contains .debug_info section. It is supposed to be there.

(This bug was detected and filed by a script.)

Comment 2 Chris Feist 2011-08-08 19:56:46 UTC
Too late for 6.2, bumping to 6.3.

Comment 5 Chris Feist 2012-02-08 00:54:24 UTC
Before fix:
[root@ask-03 ~]# eu-readelf --section-headers /usr/lib/debug/usr/bin/ccs_sync.debug | grep info
[root@ask-03 ~]# 


After Fix:

[root@ask-03 ~]# eu-readelf --section-headers /usr/lib/debug/usr/bin/ccs_sync.debug | grep info
[29] .debug_info          PROGBITS     0000000000000000 00000696 00008b1d  0        0   0  1

Git commit here: http://git.fedorahosted.org/git/?p=conga.git;a=commitdiff;h=9719140d8de12ba5f65f4f2cb18da6132a92a699

Comment 6 Chris Feist 2012-02-28 00:12:30 UTC
Testing with ricci-0.16.2-48.el6:


[root@ask-04 ~]# eu-readelf --section-headers /usr/lib/debug/usr/bin/ccs_sync.debug | grep info
[29] .debug_info          PROGBITS     0000000000000000 00000696 00008b47  0        0   0  1

Comment 8 Chris Feist 2012-03-15 19:42:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No Documentation Needed

Comment 10 errata-xmlrpc 2012-06-20 14:13:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0898.html