Bug 1053583 - -e static_exec && --core does not read symbols
Summary: -e static_exec && --core does not read symbols
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-15 12:54 UTC by Jan Kratochvil
Modified: 2023-07-09 12:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 10:53:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
static exec (1.42 KB, application/octet-stream)
2014-01-15 12:56 UTC, Jan Kratochvil
no flags Details
core (160.00 KB, application/octet-stream)
2014-01-15 12:56 UTC, Jan Kratochvil
no flags Details

Description Jan Kratochvil 2014-01-15 12:54:18 UTC
Description of problem:
elfutils does not read symbols as:
 * dwfl_link_map_report() does not find DT_DEBUG so r_debug_info is left empty
 * dwfl_segment_report_module() reports only the LOAD segment size so .symtab is stripped out

Version-Release number of selected component (if applicable):
GIT HEAD: e1b6b9d3131f32ef54932388c814adc02ca6a329

How reproducible:
Always.

Steps to Reproduce:
src/stack -e testfile-backtrace-demangle --core testfile-backtrace-demangle.core -lm

Actual results:
PID 9630 - core module memory map
0x0000000000400000-0x0000000000401000 [exe]
  [068bd5513e4d2ee0826d096ac37aed546e5eae6f]
  -
0x00007fff0abe4000-0x00007fff0abe5000 linux-vdso.so.1
  [7477f9f5440ccc99718deb2b55e7bb8f6d042710]
  -
  /usr/lib/debug/lib/modules/3.12.6-300.fc20.x86_64/vdso/vdso.so.debug
PID 9630 - core
TID 9630:
#0  0x0000000000400118 - [exe]
#1  0x000000000040012e - [exe]
#2  0x0000000000400139 - [exe]
#3  0x0000000000000001
../src/stack: dwfl_thread_getframes tid 9630 at 0x0 in <unknown>: No DWARF information found

Expected results:
[...]
#0  0x0000000000400118 cxxfunc(int)
#1  0x000000000040012e f
#2  0x0000000000400139 _start
[...]

Additional info:

Comment 1 Jan Kratochvil 2014-01-15 12:56:04 UTC
Created attachment 850484 [details]
static exec

Comment 2 Jan Kratochvil 2014-01-15 12:56:37 UTC
Created attachment 850485 [details]
core

Comment 3 Jaroslav Reznik 2015-03-03 15:23:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 4 Fedora End Of Life 2016-07-19 10:53:01 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Mark Wielaard 2016-07-19 11:00:27 UTC
This should have stayed open. Changing version to rawhide (it already has FutureFeature keyword) hopefully that helps.


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