Bug 729019

Summary: Failed to find the .debug_info section in debuginfo files
Product: Red Hat Enterprise Linux 6 Reporter: Karel Klíč <kklic>
Component: ibutilsAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: low Docs Contact:
Priority: medium    
Version: 6.3CC: borgan, pbenas, pstehlik, rvokal, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:33:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 727919    

Description Karel Klíč 2011-08-08 15:19:43 UTC
A problem related to debuginfo was found in the ibutils-1.5.4-3.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/ibnlparse.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibis.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibmsquit.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibdmchk.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/lib/ibdm1.5.4/libibdm.so.1.5.4.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/lib/libibmscli.so.1.0.0.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibdmtr.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibmssh.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibdmsh.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/lib/libibdmcom.so.1.1.1.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/lib/ibis1.5.4/libibis.so.1.5.4.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/bin/ibtopodiff.debug
  package: ibutils-debuginfo-1.5.4-3.el6.i686
- path: /usr/lib/debug/usr/lib/libibsysapi.so.1.0.0.debug
  package: ibutils-debuginfo-1.5.4-3.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 5 Petr Beňas 2011-08-30 12:47:45 UTC
Reproduced in ibutils-debuginfo-1.5.7-1.el6.x86_64 and verified in ibutils-debuginfo-1.5.7-2.el6.x86_64.

Comment 6 errata-xmlrpc 2011-12-06 15:33:36 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/RHEA-2011-1639.html