#183 Segfault in opreport

closed-rejected
None
5
2014-12-27
2009-05-30
No

acompneu openlierox # opreport --symbols bin/openlierox
CPU: Core 2, speed 3166.3 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
Segmentation fault (core dumped)

acompneu ~ # gdb /usr/bin/opreport /var/tmp/core_opreport_9789_0_1243641600
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...

warning: exec file is newer than core file.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libpopt.so.0...Reading symbols from /usr/lib/debug/usr/lib/libpopt.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /usr/i686-pc-linux-gnu/lib/libbfd-2.18.so...done.
Loaded symbols for /usr/i686-pc-linux-gnu/lib/libbfd-2.18.so
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.8.so.debug...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6.0.10.debug...done.
done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.8.so.debug...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1.debug...done.
done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.8.so.debug...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.8.so.debug...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `opreport --exclude-dependent --demangle=smart --symbols bin/openlierox'.
Program terminated with signal 11, Segmentation fault.
[New process 9789]
#0 0x080a97ef in op_bfd (this=0xbfecff18, archive=@0x80cf7d0,
fname=@0x844bec0, symbol_filter=@0x80cf7e0, ok=@0xbfecffeb)
at op_bfd.cpp:138
138 op_bfd.cpp: No such file or directory.
in op_bfd.cpp
(gdb) bt full
#0 0x080a97ef in op_bfd (this=0xbfecff18, archive=@0x80cf7d0,
fname=@0x844bec0, symbol_filter=@0x80cf7e0, ok=@0xbfecffeb)
at op_bfd.cpp:138
No locals.
#1 0x08081c92 in populate_for_image (archive_path=@0x80cf7d0,
samples=@0xbfed0184, ip=@0x844bec0, symbol_filter=@0x80cf7e0,
has_debug_info=0x0) at populate.cpp:68
ok = true
abfd = {
syms = {<std::_Vector_base<op_bfd_symbol, std::allocator<op_bfd_symbol> >> = {_M_impl = {<std::allocator<op_bfd_symbol>> = {<__gnu_cxx::new_allocator<op_bfd_symbol>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
_M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
filename = {static npos = 4294967295,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x84526bc "/home/az/Programmierung/openlierox/bin/openlierox"}},
archive_path = {static npos = 4294967295,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80cf74c ""}},
file_size = 67424888, debug_filename = {static npos = 4294967295,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80cf74c ""}}, debug_info = {
---Type <return> to continue, or q <return> to quit---
value = 204, set = false}, ibfd = {abfd = 0x8453c30, syms = {p_ = 0x0},
nr_syms = 0, synth_syms = 0x0}, dbfd = {abfd = 0x0, syms = {p_ = 0x0},
nr_syms = 0, synth_syms = 0x0}, filepos_map = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfecff5c,
_M_right = 0xbfecff5c}, _M_node_count = 0}}}, embedding_filename = {
static npos = 4294967295,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80cf74c ""}}}
header = {magic = "\230??", version = 3083687046,
cpu_type = 3084529984, ctr_event = 48, ctr_um = 3084529984,
ctr_count = 138723008, is_kernel = 3085668340,
cpu_speed = 2.3715151000379834e-322, mtime = -1074987064,
cg_to_is_kernel = 3085487962, spu_profile = 48,
embedded_offset = 4294967297, anon_start = 13829712384505462456,
cg_to_anon_start = 13829709858925969408, reserved1 = {3219980676}}
---Type <return> to continue, or q <return> to quit---
found = <value optimized out>
#2 0x0805565c in opreport (spec=@0xbfed0280) at opreport.cpp:573
samples = {<noncopyable> = {<No data fields>}, symbols = {
p_ = 0x8452720}, samples = {p_ = 0x84520b8}, total_count = {container = {
_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {
_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfed0190,
_M_right = 0xbfed0190}, _M_node_count = 0}}}}, debug_info = false,
need_details = false}
multiple_apps = false
iprofiles = {<std::_List_base<inverted_profile, std::allocator<inverted_profile> >> = {
_M_impl = {<std::allocator<std::_List_node<inverted_profile> >> = {<__gnu_cxx::new_allocator<std::_List_node<inverted_profile> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x844beb8,
_M_prev = 0x844beb8}}}, <No data fields>}
#3 0x0805c8d6 in run_pp_tool (argc=5, argv=0xbfed0364,
fct=0x8054a0e <opreport>) at common_option.cpp:208
---Type <return> to continue, or q <return> to quit---
No locals.
#4 0x0804ce5b in main (argc=-1208575011, argv=0x5) at opreport.cpp:587
No locals.
(gdb)

I always have this segfault, wasn't be able to use opreport yet.

Discussion

  • Albert Zeyer

    Albert Zeyer - 2009-05-30

    Btw., this was with 0.9.3.

     
  • Albert Zeyer

    Albert Zeyer - 2009-05-30

    Same thing in 0.9.4:

    acompneu openlierox # opreport --symbols bin/openlierox
    CPU: Core 2, speed 3166.3 MHz (estimated)
    Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
    Segmentation fault (core dumped)
    acompneu openlierox # gdb /usr/bin/opreport /var/tmp/core_opreport_24182_0_1243679725
    GNU gdb 6.8
    Copyright (C) 2008 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-pc-linux-gnu"...

    warning: Can't read pathname for load map: Input/output error.
    Reading symbols from /usr/lib/libpopt.so.0...Reading symbols from /usr/lib/debug/usr/lib/libpopt.so.0.0.0.debug...done.
    done.
    Loaded symbols for /usr/lib/libpopt.so.0
    Reading symbols from /usr/lib/binutils/i686-pc-linux-gnu/2.18/libbfd-2.18.so...Reading symbols from /usr/lib/debug/usr/lib/binutils/i686-pc-linux-gnu/2.18/libbfd-2.18.so.debug...done.
    done.
    Loaded symbols for /usr/lib/binutils/i686-pc-linux-gnu/2.18/libbfd-2.18.so
    Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.8.so.debug...done.
    done.
    Loaded symbols for /lib/libdl.so.2
    Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6.0.10.debug...done.
    done.
    Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6
    Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.8.so.debug...done.
    done.
    Loaded symbols for /lib/libm.so.6
    Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1...Reading symbols from /usr/lib/debug/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1.debug...done.
    done.
    Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
    Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.8.so.debug...done.
    done.
    Loaded symbols for /lib/libc.so.6
    Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.8.so.debug...done.
    done.
    Loaded symbols for /lib/ld-linux.so.2
    Core was generated by `opreport --symbols bin/openlierox'.
    Program terminated with signal 11, Segmentation fault.
    [New process 24182]
    #0 op_bfd (this=0xbfb30310, fname=@0x82bad88, symbol_filter=@0x80d3824,
    extra_images=@0xbfb305a4, ok=@0xbfb303fb) at op_bfd.cpp:156
    156 op_bfd.cpp: No such file or directory.
    in op_bfd.cpp
    (gdb) bt full
    #0 op_bfd (this=0xbfb30310, fname=@0x82bad88, symbol_filter=@0x80d3824,
    extra_images=@0xbfb305a4, ok=@0xbfb303fb) at op_bfd.cpp:156
    No locals.
    #1 0x0808415e in populate_for_image (samples=@0xbfb30580, ip=@0x82bad88,
    symbol_filter=@0x80d3824, has_debug_info=0x0) at populate.cpp:70
    ok = true
    abfd = {
    syms = {<std::_Vector_base<op_bfd_symbol, std::allocator<op_bfd_symbol> >> = {_M_impl = {<std::allocator<op_bfd_symbol>> = {<__gnu_cxx::new_allocator<op_bfd_symbol>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
    _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
    filename = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    _M_p = 0x82cbd74 "/home/az/Programmierung/openlierox/bin/openlierox"}},
    archive_path = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d374c ""}},
    extra_found_images = @0xbfb305a4, file_size = 67424888, debug_filename = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d374c ""}}, debug_info = {
    value = true, set = false}, ibfd = {abfd = 0x82c6290, syms = {p_ = 0x0},
    ---Type <return> to continue, or q <return> to quit---
    nr_syms = 0, synth_syms = 0x0}, dbfd = {abfd = 0x0, syms = {p_ = 0x0},
    nr_syms = 0, synth_syms = 0x0},
    filtered_section = {<std::_Vector_base<const asection*, std::allocator<const asection*> >> = {
    _M_impl = {<std::allocator<const asection*>> = {<__gnu_cxx::new_allocator<const asection*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
    _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
    filepos_map = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfb30364,
    _M_right = 0xbfb30364}, _M_node_count = 0}}}, embedding_filename = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d374c ""}}, anon_obj = false}
    header = {magic = "0\000\000", version = 3216180136,
    cpu_type = 3083031686, ctr_event = 3083874624, ctr_um = 48,
    ---Type <return> to continue, or q <return> to quit---
    ctr_count = 3083874624, is_kernel = 137080200,
    cpu_speed = 1.033799968967254e-312, mtime = 135083960,
    cg_to_is_kernel = 3216180184, spu_profile = 3084696056,
    embedded_offset = 580181190414172208, anon_start = 588754941569400833,
    cg_to_anon_start = 580181193630353056, reserved1 = {3216180200}}
    found = <value optimized out>
    #2 0x08055690 in opreport (spec=@0xbfb306f0) at opreport.cpp:576
    samples = {<noncopyable> = {<No data fields>}, symbols = {
    p_ = 0x82c61e8}, samples = {p_ = 0x82c6220}, total_count = {container = {
    _M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {
    _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfb3058c,
    _M_right = 0xbfb3058c}, _M_node_count = 0}}}}, debug_info = false,
    need_details = false, extra_found_images = {images = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_tr---Type <return> to continue, or q <return> to quit---
    aits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfb305a8,
    _M_right = 0xbfb305a8}, _M_node_count = 0}}}, archive_path = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d374c ""}}, root_path = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d374c ""}}, uid = 3,
    static suid = 4}}
    multiple_apps = false
    iprofiles = {<std::_List_base<inverted_profile, std::allocator<inverted_profile> >> = {
    _M_impl = {<std::allocator<std::_List_node<inverted_profile> >> = {<__gnu_cxx::new_allocator<std::_List_node<inverted_profile> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x82bad80,
    _M_prev = 0x82bad80}}}, <No data fields>}
    #3 0x0805c956 in run_pp_tool (argc=3, argv=0xbfb307d4,
    fct=0x8054a9e <opreport>) at common_option.cpp:210
    ---Type <return> to continue, or q <return> to quit---
    No locals.
    #4 0x0804cf6b in main (argc=0, argv=0x0) at opreport.cpp:590
    No locals.
    (gdb) q

     
  • Albert Zeyer

    Albert Zeyer - 2009-05-30

    I played a bit with GDB and this seems wrong to me:

    (gdb) print ibfd.abfd->sections
    $4 = (bfd_section *) 0x24

    Here is the full abfd structure:

    (gdb) print ibfd.abfd
    $2 = (bfd *) 0x826e328
    (gdb) print *ibfd.abfd
    $3 = {id = 0,
    filename = 0x8270f04 "/home/az/Programmierung/openlierox/bin/openlierox",
    xvec = 0xb7f196e0, iostream = 0x826d5c0, iovec = 0xb7f15014, lru_prev = 0x0,
    lru_next = 0x1, where = 587406562493391656, mtime = 66627463, ifd = 0,
    format = bfd_object, direction = bfd::no_direction, flags = 0,
    origin = 4294967296, proxy_origin = 1176821039105, section_htab = {
    table = 0x0, newfunc = 0, memory = 0x0, size = 136789896,
    count = 3085483262, entsize = 136762624, frozen = 1}, sections = 0x24,
    section_last = 0xbc, section_count = 0, start_address = 136785836,
    symcount = 136819636, outsymbols = 0x24, dynsymcount = 135420176,
    arch_info = 0x0, arelt_data = 0x0, my_archive = 0x0, archive_next = 0x0,
    archive_head = 0xb7f1bc40, nested_archives = 0x0, link_next = 0x0,
    archive_pass = 0, tdata = {aout_data = 0x0, aout_ar_data = 0x0,
    oasys_obj_data = 0x0, oasys_ar_data = 0x0, coff_obj_data = 0x0,
    pe_obj_data = 0x0, xcoff_obj_data = 0x0, ecoff_obj_data = 0x0,
    ieee_data = 0x0, ieee_ar_data = 0x0, srec_data = 0x0, ihex_data = 0x0,
    tekhex_data = 0x0, elf_obj_data = 0x0, nlm_obj_data = 0x0,
    bout_data = 0x0, mmo_data = 0x0, sun_core_data = 0x0,
    sco5_core_data = 0x0, trad_core_data = 0x0, som_data = 0x0,
    hpux_core_data = 0x0, hppabsd_core_data = 0x0, sgi_core_data = 0x0,
    lynx_core_data = 0x0, osf_core_data = 0x0, cisco_core_data = 0x0,
    versados_data = 0x0, netbsd_core_data = 0x0, mach_o_data = 0x0,
    mach_o_fat_data = 0x0, pef_data = 0x0, pef_xlib_data = 0x0,
    ---Type <return> to continue, or q <return> to quit---
    sym_data = 0x0, any = 0x0}, usrdata = 0x0, memory = 0x0, cacheable = 0,
    target_defaulted = 0, opened_once = 0, mtime_set = 0, no_export = 0,
    output_has_begun = 0, has_armap = 0, is_thin_archive = 0}

    I guess bfd_fdopenr is doing something wrong. So probably not an oprofile problem.

     
  • Albert Zeyer

    Albert Zeyer - 2009-05-30

    I tried with libbfd from binutils-2.19, and I got a slightly different segfault:

    acompneu ~ # ldd /usr/bin/opreport
    linux-gate.so.1 => (0xffffe000)
    libpopt.so.0 => /usr/lib/libpopt.so.0 (0xb7f0d000)
    libbfd-2.19.1.so => /usr/lib/binutils/i686-pc-linux-gnu/2.19.1/libbfd-2.19.1.so (0xb7e3f000)
    libz.so.1 => /lib/libz.so.1 (0xb7e2c000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7e28000)
    libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6 (0xb7d42000)
    libm.so.6 => /lib/libm.so.6 (0xb7d1b000)
    libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1 (0xb7d0e000)
    libc.so.6 => /lib/libc.so.6 (0xb7bce000)
    /lib/ld-linux.so.2 (0xb7f43000)
    acompneu ~ # opreport --symbols /home/az/Programmierung/openlierox/bin/openlierox
    CPU: Core 2, speed 3166.3 MHz (estimated)
    Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
    Segmentation fault (core dumped)
    acompneu ~ # gdb --args opreport --symbols /home/az/Programmierung/openlierox/bin/openlierox
    GNU gdb 6.8
    Copyright (C) 2008 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-pc-linux-gnu"...
    (gdb) r
    Starting program: /usr/bin/opreport --symbols /home/az/Programmierung/openlierox/bin/openlierox
    CPU: Core 2, speed 3166.3 MHz (estimated)
    Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000

    Program received signal SIGSEGV, Segmentation fault.
    0x080c9dd8 in interesting_symbol (sym=0xb7afa010) at bfd_support.cpp:343
    343 bfd_support.cpp: No such file or directory.
    in bfd_support.cpp
    (gdb) info locals
    No locals.
    (gdb) print sym
    $1 = (asymbol *) 0xb7afa010
    (gdb) print sym->section
    $2 = (bfd_section *) 0x109
    (gdb) print *sym
    $3 = {the_bfd = 0x9e65328, name = 0x9e6899b ".interp", value = 0, flags = 0,
    section = 0x109, udata = {p = 0x9e69fac, i = 166109100}}
    (gdb) bt full
    #0 0x080c9dd8 in interesting_symbol (sym=0xb7afa010) at bfd_support.cpp:343
    No locals.
    #1 0x080c4f8d in op_bfd::get_symbols (this=0xbfb774b4, symbols=@0xbfb77448)
    at op_bfd.cpp:217
    i = 0
    it = {_M_node = 0xbfb77508}
    #2 0x080c6038 in op_bfd (this=0xbfb774b4, fname=@0x9e5f0d0,
    symbol_filter=@0x80fa6c4, extra_images=@0xbfb77620, ok=@0xbfb775a6)
    at op_bfd.cpp:171
    No locals.
    #3 0x080943ee in populate_for_image (samples=@0xbfb775fc, ip=@0x9e5f0d0,
    symbol_filter=@0x80fa6c4, has_debug_info=0x0) at populate.cpp:70
    ok = true
    abfd = {
    syms = {<std::_Vector_base<op_bfd_symbol, std::allocator<op_bfd_symbol> >> = {_M_impl = {<std::allocator<op_bfd_symbol>> = {<__gnu_cxx::new_allocator<op_bfd_symbol>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
    _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
    filename = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    _M_p = 0x9e6523c "/home/az/Programmierung/openlierox/bin/openlierox"}},
    archive_path = {static npos = 4294967295,
    ---Type <return> to continue, or q <return> to quit---
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb7e3e694 ""}},
    extra_found_images = @0xbfb77620, file_size = 67424888, debug_filename = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb7e3e694 ""}}, debug_info = {
    value = true, set = true}, ibfd = {abfd = 0x9e65328, syms = {
    p_ = 0x9e739c8}, nr_syms = 10072, synth_syms = 0x0}, dbfd = {abfd = 0x0,
    syms = {p_ = 0x0}, nr_syms = 0, synth_syms = 0x0},
    filtered_section = {<std::_Vector_base<const asection*, std::allocator<const asection*> >> = {
    _M_impl = {<std::allocator<const asection*>> = {<__gnu_cxx::new_allocator<const asection*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
    _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
    filepos_map = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, ---Type <return> to continue, or q <return> to quit---
    _M_header = {_M_color = std::_S_red, _M_parent = 0x9e67f48,
    _M_left = 0x9e64b50, _M_right = 0x9e653e0}, _M_node_count = 4}}},
    embedding_filename = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb7e3e694 ""}},
    anon_obj = false}
    header = {magic = "X?\017\b", version = 135243352,
    cpu_type = 3084839416, ctr_event = 48, ctr_um = 3216471384,
    ctr_count = 3216471368, is_kernel = 134574333,
    cpu_speed = 6.9408425408309029e-270, mtime = -1078495912,
    cg_to_is_kernel = 134851392, spu_profile = 3216471584,
    embedded_offset = 13814639609124388488, anon_start = 13814640382187252620,
    cg_to_anon_start = 13814639540374054516, reserved1 = {134574453}}
    found = 191
    #4 0x0805600e in opreport (spec=@0xbfb77724) at opreport.cpp:576
    samples = {<noncopyable> = {<No data fields>}, symbols = {
    p_ = 0x9e67da8}, samples = {p_ = 0x9e67e88}, total_count = {container = {
    _M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<unsigned int, unsigned int, bo---Type <return> to continue, or q <return> to quit---
    ol>> = {<No data fields>}, <No data fields>}, _M_header = {
    _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfb77608,
    _M_right = 0xbfb77608}, _M_node_count = 0}}}}, debug_info = false,
    need_details = false, extra_found_images = {images = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfb77624,
    _M_right = 0xbfb77624}, _M_node_count = 0}}}, archive_path = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb7e3e694 ""}}, root_path = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb7e3e694 ""}}, uid = 3,
    static suid = 4}}
    it = {_M_node = 0x9e5f0c8}
    ---Type <return> to continue, or q <return> to quit---
    end = {_M_node = 0xbfb776cc}
    multiple_apps = false
    iprofiles = {<std::_List_base<inverted_profile, std::allocator<inverted_profile> >> = {
    _M_impl = {<std::allocator<std::_List_node<inverted_profile> >> = {<__gnu_cxx::new_allocator<std::_List_node<inverted_profile> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x9e5f0c8,
    _M_prev = 0x9e5f0c8}}}, <No data fields>}
    #5 0x08063a07 in run_pp_tool (argc=3, argv=0xbfb77814,
    fct=0x8055a6b <opreport>) at common_option.cpp:210
    No locals.
    #6 0x08054114 in main (argc=3, argv=0xbfb77814) at opreport.cpp:590
    No locals.
    (gdb)

    This time, the sym structure seems messed up (at least the sym->section).

     
  • Albert Zeyer

    Albert Zeyer - 2009-05-30

    More data to the last crash:

    (gdb) print *sym->the_bfd
    $6 = {id = 0,
    filename = 0x9e67f04 "/home/az/Programmierung/openlierox/bin/openlierox",
    xvec = 0xb7f1f220, iostream = 0x9e645c0, iovec = 0xb7f19f14,
    lru_prev = 0x9e65328, lru_next = 0x9e65328, where = 67424888, mtime = 0,
    ifd = 0, format = bfd_object, direction = bfd::read_direction, flags = 274,
    origin = 0, proxy_origin = 0, section_htab = {table = 0x9e6af88,
    newfunc = 0xb7e809c2 <bfd_section_hash_newfunc>, memory = 0x9e64500,
    size = 4051, count = 36, entsize = 188, frozen = 0}, sections = 0x9e69fac,
    section_last = 0x9e72454, section_count = 36, start_address = 135420176,
    symcount = 0, outsymbols = 0x2758, dynsymcount = 0, arch_info = 0x0,
    arelt_data = 0xb7f21c40, my_archive = 0x0, archive_next = 0x0,
    archive_head = 0x0, nested_archives = 0x0, link_next = 0x0,
    archive_pass = 0, tdata = {aout_data = 0x0, aout_ar_data = 0x0,
    oasys_obj_data = 0x0, oasys_ar_data = 0x0, coff_obj_data = 0x0,
    pe_obj_data = 0x0, xcoff_obj_data = 0x0, ecoff_obj_data = 0x0,
    ieee_data = 0x0, ieee_ar_data = 0x0, srec_data = 0x0, ihex_data = 0x0,
    tekhex_data = 0x0, elf_obj_data = 0x0, nlm_obj_data = 0x0,
    bout_data = 0x0, mmo_data = 0x0, sun_core_data = 0x0,
    sco5_core_data = 0x0, trad_core_data = 0x0, som_data = 0x0,
    hpux_core_data = 0x0, hppabsd_core_data = 0x0, sgi_core_data = 0x0,
    lynx_core_data = 0x0, osf_core_data = 0x0, cisco_core_data = 0x0,
    versados_data = 0x0, netbsd_core_data = 0x0, mach_o_data = 0x0,
    mach_o_fat_data = 0x0, pef_data = 0x0, pef_xlib_data = 0x0,
    ---Type <return> to continue, or q <return> to quit---
    sym_data = 0x0, any = 0x0}, usrdata = 0x9e67fd0, memory = 0x0,
    cacheable = 0, target_defaulted = 0, opened_once = 0, mtime_set = 0,
    no_export = 0, output_has_begun = 1, has_armap = 1, is_thin_archive = 0}

    (gdb) frame 1
    #1 0x080c4f8d in op_bfd::get_symbols (this=0xbfb774b4, symbols=@0xbfb77448)
    at op_bfd.cpp:217
    217 op_bfd.cpp: No such file or directory.
    in op_bfd.cpp
    (gdb) print symbols
    $10 = (class std::list<op_bfd_symbol, std::allocator<op_bfd_symbol> >
    &) @0xbfb77448: {<std::_List_base<op_bfd_symbol, std::allocator<op_bfd_symbol> >> = {
    _M_impl = {<std::allocator<std::_List_node<op_bfd_symbol> >> = {<__gnu_cxx::new_allocator<std::_List_node<op_bfd_symbol> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0xbfb77448,
    _M_prev = 0xbfb77448}}}, <No data fields>}
    (gdb) print i
    $11 = 0
    (gdb) print ibfd.nr_syms
    $12 = 10072
    (gdb) print ibfd.syms[1]
    $13 = (asymbol *&) @0x9e739cc: 0xb7afa054
    (gdb) print *ibfd.syms[1]
    $14 = {the_bfd = 0x9e65328, name = 0x9e689a3 ".note.ABI-tag", value = 0,
    flags = 0, section = 0x109, udata = {p = 0x9e6a068, i = 166109288}}
    (gdb) print *ibfd.syms[2]
    $15 = {the_bfd = 0x9e65328, name = 0x9e689b5 ".hash", value = 0, flags = 0,
    section = 0x109, udata = {p = 0x9e6a124, i = 166109476}}
    (gdb) print *ibfd.syms[3]
    $16 = {the_bfd = 0x9e65328, name = 0x9e689b1 ".gnu.hash", value = 0,
    flags = 0, section = 0x109, udata = {p = 0x9e6a1e0, i = 166109664}}
    (gdb) print *ibfd.syms[100]
    $17 = {the_bfd = 0x9e65328, name = 0xb7a5f861 "_ZZN7XHelperC1EvE5C.125",
    value = 16764, flags = 0, section = 0x10001, udata = {p = 0x9e6a9f4,
    i = 166111732}}
    (gdb) print *ibfd.syms[1000]
    $18 = {the_bfd = 0x9e65328,
    name = 0xb7a65280 "_Z12fread_endianIssEjP8_IO_FILERT0_", value = 1776597,
    flags = 0, section = 0x11, udata = {p = 0x9e6a87c, i = 166111356}}
    (gdb) print ibfd
    $19 = {abfd = 0x9e65328, syms = {p_ = 0x9e739c8}, nr_syms = 10072,
    synth_syms = 0x0}

     
  • Albert Zeyer

    Albert Zeyer - 2009-06-01

    Yes, I recompiled it against binutils 2.19 and still have the error (my last build was already compiled against 2.19).

    I tried current CVS now and also have the same crash:

    az@acompneu ~/Programmierung/oprofile $ gdb --args /usr/local/bin/opreport --symbols ../openlierox/bin/openlierox
    GNU gdb 6.8
    Copyright (C) 2008 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-pc-linux-gnu"...
    (gdb) r
    Starting program: /usr/local/bin/opreport --symbols ../openlierox/bin/openlierox
    CPU: Core 2, speed 3166.3 MHz (estimated)
    Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000

    Program received signal SIGSEGV, Segmentation fault.
    interesting_symbol (sym=0xb7abd010) at bfd_support.cpp:343
    343 if (!(sym->section->flags & SEC_CODE))
    (gdb) bt full
    #0 interesting_symbol (sym=0xb7abd010) at bfd_support.cpp:343
    No locals.
    #1 0x080ab4b1 in op_bfd::get_symbols (this=0xbf9427ac, symbols=@0xbf942704)
    at op_bfd.cpp:223
    i = 0
    #2 0x080ac266 in op_bfd (this=0xbf9427ac, fname=@0x9dfb720,
    symbol_filter=@0x80d49e4, extra_images=@0xbf942a4c, ok=@0xbf94289f)
    at op_bfd.cpp:176
    fd = <value optimized out>
    symbols = {<std::_List_base<op_bfd_symbol, std::allocator<op_bfd_symbol> >> = {
    _M_impl = {<std::allocator<std::_List_node<op_bfd_symbol> >> = {<__gnu_cxx::new_allocator<std::_List_node<op_bfd_symbol> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0xbf942704,
    _M_prev = 0xbf942704}}}, <No data fields>}
    img_ok = image_ok
    st = {st_dev = 2086, __pad1 = 0, st_ino = 316018, st_mode = 33261,
    st_nlink = 1, st_uid = 1000, st_gid = 100, st_rdev = 0, __pad2 = 0,
    st_size = 73293538, st_blksize = 4096, st_blocks = 143291, st_atim = {
    tv_sec = 1243695646, tv_nsec = 0}, st_mtim = {tv_sec = 1243695649,
    tv_nsec = 0}, st_ctim = {tv_sec = 1243695649, tv_nsec = 0}, __unused4 = 0,
    __unused5 = 0}
    sect = (const asection *) 0x0
    ---Type <return> to continue, or q <return> to quit---
    suf = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x9dfbf44 ".jo"}}
    image_path = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    _M_p = 0x9dfc15c "/home/az/Programmierung/openlierox/bin/openlierox"}}
    pos = <value optimized out>
    #3 0x080847ce in populate_for_image (samples=@0xbf942a28, ip=@0x9dfb720,
    symbol_filter=@0x80d49e4, has_debug_info=0x0) at populate.cpp:70
    ok = true
    abfd = {
    syms = {<std::_Vector_base<op_bfd_symbol, std::allocator<op_bfd_symbol> >> = {_M_impl = {<std::allocator<op_bfd_symbol>> = {<__gnu_cxx::new_allocator<op_bfd_symbol>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
    _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
    filename = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    _M_p = 0x9e00f5c "/home/az/Programmierung/openlierox/bin/openlierox"}},
    archive_path = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d48cc ""}},
    ---Type <return> to continue, or q <return> to quit---
    extra_found_images = @0xbf942a4c, file_size = 73293538, debug_filename = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d48cc ""}}, debug_info = {
    value = true, set = true}, ibfd = {abfd = 0x9dfcf58, syms = {
    p_ = 0x9e15898}, nr_syms = 9626, synth_syms = 0x0,
    image_bfd_info = 0x0}, dbfd = {abfd = 0x0, syms = {p_ = 0x0}, nr_syms = 0,
    synth_syms = 0x0, image_bfd_info = 0xbf9427d0},
    filtered_section = {<std::_Vector_base<const asection*, std::allocator<const asection*> >> = {
    _M_impl = {<std::allocator<const asection*>> = {<__gnu_cxx::new_allocator<const asection*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
    _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
    filepos_map = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x9dfbf18,
    ---Type <return> to continue, or q <return> to quit---
    _M_left = 0x9e07490, _M_right = 0x9e07698}, _M_node_count = 4}}},
    embedding_filename = {static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d48cc ""}}, anon_obj = false}
    header = {magic = "H(\224?", version = 3082880134,
    cpu_type = 3083723072, ctr_event = 48, ctr_um = 3083723072,
    ctr_count = 165656352, is_kernel = 3084931060,
    cpu_speed = 2.3715151000379834e-322, mtime = -1080809352,
    cg_to_is_kernel = 3084602280, spu_profile = 48,
    embedded_offset = 13255219610637188264, anon_start = 13804706346170140512,
    cg_to_anon_start = 13804703322513164664, reserved1 = {3214158376}}
    found = 183
    #4 0x080542f9 in opreport (spec=@0xbf942bb4) at opreport.cpp:576
    samples = {<noncopyable> = {<No data fields>}, symbols = {
    p_ = 0x9e12e18}, samples = {p_ = 0x9e074f8}, total_count = {container = {
    _M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, long long unsigned int> > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {
    _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbf942a34,
    ---Type <return> to continue, or q <return> to quit---
    _M_right = 0xbf942a34}, _M_node_count = 0}}}}, debug_info = false,
    need_details = false, extra_found_images = {images = {_M_t = {
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<No data fields>}, <No data fields>},
    _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbf942a50,
    _M_right = 0xbf942a50}, _M_node_count = 0}}}, archive_path = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d48cc ""}}, root_path = {
    static npos = 4294967295,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80d48cc ""}}, uid = 3,
    static suid = 4}}
    multiple_apps = false
    iprofiles = {<std::_List_base<inverted_profile, std::allocator<inverted_profile> >> = {
    ---Type <return> to continue, or q <return> to quit---
    _M_impl = {<std::allocator<std::_List_node<inverted_profile> >> = {<__gnu_cxx::new_allocator<std::_List_node<inverted_profile> >> = {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x9dfb718,
    _M_prev = 0x9dfb718}}}, <No data fields>}
    #5 0x0805b621 in run_pp_tool (argc=3, argv=0xbf942c94,
    fct=0x8053b50 <opreport>) at common_option.cpp:210
    No locals.
    #6 0x0804c93d in main (argc=3, argv=0xbf942c94) at opreport.cpp:590
    No locals.
    (gdb)

    I still think that this is a libbfd problem actually and not an oprofile problem.

    Again, I have also this:

    (gdb) print *sym
    $1 = {the_bfd = 0x9dfcf58, name = 0x9dfd9df ".interp", value = 0, flags = 0,
    section = 0x109, udata = {p = 0x9e087ac, i = 165709740}}

    section again seems to be wrong.

     
  • Albert Zeyer

    Albert Zeyer - 2009-06-01

    I filled in a bugreport for binutils here:
    http://sourceware.org/bugzilla/show_bug.cgi?id=10223

    Let's see if they can say something about this.

    Perhaps you can give some more information there if needed (I am not that familiar with more details of the oprofile code).

     
  • Maynard Johnson

    Maynard Johnson - 2009-06-26

    Looking at the binutils bug you opened (http://sourceware.org/bugzilla/show_bug.cgi?id=10223), it appears Alan Modra was able to help you fix a build environment problem so that oprofile built properly with binutils. So I will close this bug. Please reopen if necessary.

     
  • Maynard Johnson

    Maynard Johnson - 2009-06-26
    • assigned_to: nobody --> maynardj
    • status: open --> open-rejected
     
  • Maynard Johnson

    Maynard Johnson - 2009-10-19
    • status: open-rejected --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks