Bug 438263

Summary: dwfl_module_getdwarf.c doesn't find debuginfo if there is a .dynsym
Product: Red Hat Enterprise Linux 5 Reporter: Stan Cox <scox>
Component: elfutilsAssignee: Roland McGrath <roland>
Status: CLOSED DEFERRED QA Contact: qe-baseos-tools-bugs
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: drepper
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-22 00:15:49 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: 173278    
Attachments:
Description Flags
reproducer source
none
sample reproducer makefile
none
Roland's patch none

Description Stan Cox 2008-03-19 21:49:35 UTC
Description of problem:
A chroot does not find the <file>.debug
for elfutils 0.133 whereas for elfutils 0.129 it would find <file>.debug.
I notice dwfl_module_getdwarf.c:load_symtab now notices when .dynsym is found
and subsequently causes DWFL_E_NO_SYMTAB to no longer be returned
to find_symtab and thus find_debuginfo never gets called.


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

How reproducible:

I'm working on a reproducer testcase.

Comment 1 Stan Cox 2008-03-20 15:22:39 UTC
Created attachment 298703 [details]
reproducer source

Comment 2 Stan Cox 2008-03-20 15:23:17 UTC
Created attachment 298704 [details]
sample reproducer makefile

Comment 3 Stan Cox 2008-03-25 16:33:31 UTC
Created attachment 299049 [details]
Roland's patch

Comment 4 Fedora Update System 2008-05-21 19:49:00 UTC
elfutils-0.135-1.fc7 has been submitted as an update for Fedora 7

Comment 5 Fedora Update System 2008-05-21 19:51:23 UTC
elfutils-0.135-1.fc8 has been submitted as an update for Fedora 8

Comment 6 Fedora Update System 2008-05-21 19:53:02 UTC
elfutils-0.135-1.fc9 has been submitted as an update for Fedora 9

Comment 7 Fedora Update System 2008-05-29 02:39:52 UTC
elfutils-0.135-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-4457

Comment 8 Fedora Update System 2008-07-30 20:08:34 UTC
elfutils-0.135-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2008-07-30 20:11:35 UTC
elfutils-0.135-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Roland McGrath 2010-04-22 00:15:49 UTC
This bug got wrongly listed in Fedora updates and so wound up in ON_QA state outside of proper RHEL5 procedures.  Reopen if there is really a need for a RHEL5 update to address this.  It's long been fixed upstream and thus for RHEL6.