Bug 438263 - dwfl_module_getdwarf.c doesn't find debuginfo if there is a .dynsym
Summary: dwfl_module_getdwarf.c doesn't find debuginfo if there is a .dynsym
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: elfutils
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Roland McGrath
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 173278
TreeView+ depends on / blocked
 
Reported: 2008-03-19 21:49 UTC by Stan Cox
Modified: 2011-05-13 13:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-22 00:15:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproducer source (1.52 KB, text/x-csrc)
2008-03-20 15:22 UTC, Stan Cox
no flags Details
sample reproducer makefile (417 bytes, application/octet-stream)
2008-03-20 15:23 UTC, Stan Cox
no flags Details
Roland's patch (1.66 KB, text/x-patch)
2008-03-25 16:33 UTC, Stan Cox
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Sourceware 5953 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.