Bug 457521

Summary: opreport -l segfault
Product: [Fedora] Fedora Reporter: Sami Farin <hvtaifwkbgefbaei>
Component: oprofileAssignee: William Cohen <wcohen>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-12 14:14:02 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:

Description Sami Farin 2008-08-01 10:31:04 UTC
Description of problem:
v0.9.3 worked, v0.9.4 produces this:

Program received signal SIGSEGV, Segmentation fault.
0x000000000048c6c6 in op_bfd (this=0x7fff3ac9b9e0, fname=@0x7fd400a2ffd8,
symbol_filter=@0x7adb60, extra_images=@0x7fff3ac9bc18, 
    ok=@0x7fff3ac9bb8f) at op_bfd.cpp:156
156                     if (sect->flags & SEC_CODE) {
(gdb) bt
#0  0x000000000048c6c6 in op_bfd (this=0x7fff3ac9b9e0, fname=@0x7fd400a2ffd8,
symbol_filter=@0x7adb60, 
    extra_images=@0x7fff3ac9bc18, ok=@0x7fff3ac9bb8f) at op_bfd.cpp:156
#1  0x0000000000457669 in populate_for_image (samples=@0x7fff3ac9bbd0,
ip=@0x7fd400a2ffd8, symbol_filter=@0x7adb60, 
    has_debug_info=0x0) at populate.cpp:70
#2  0x0000000000414933 in opreport (spec=@0x7fff3ac9be60) at opreport.cpp:576
#3  0x0000000000423485 in run_pp_tool (argc=2, argv=0x7fff3ac9bfd8, fct=0x4143a0
<opreport>) at common_option.cpp:210
#4  0x000000000041291d in main (argc=2, argv=0x7fff3ac9bfd8) at opreport.cpp:590


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

How reproducible:
always

Steps to Reproduce:
1. opcontrol --start
2. opreport -l
3.
  
Actual results:
segfault

Expected results:
report

Additional info:

Comment 1 Sami Farin 2008-10-12 14:14:02 UTC
I had old versions of binutils headers at /usr/local/include .
8-(

Works now...