<65c00>   DW_AT_external    : 1
    <65c00>   DW_AT_name        : (indirect string, offset: 0x1d277): 
_M_get_allocator
    <65c04>   DW_AT_decl_file   : 2
    <65c05>   DW_AT_decl_line   : 290
    <65c07>   DW_AT_decl_column : 7
    <65c08>   DW_AT_linkage_name: (indirect string, offset: 0xdb15): 
_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_get_allocatorEv

Program received signal SIGSEGV, Segmentation fault.
0x56596128 in read_leb128 (data=0x87a81712 <error: Cannot access memory at 
address 0x87a81712>, length_return=0xffffd014, sign=0, end=0xf7dbecef "") at 
../../binutils/dwarf.c:336
336     ../../binutils/dwarf.c: No such file or directory.
(gdb) bt full
#0  0x56596128 in read_leb128 (data=0x87a81712 <error: Cannot access memory at 
address 0x87a81712>, length_return=0xffffd014, sign=0, end=0xf7dbecef "") at 
../../binutils/dwarf.c:336
        result = 0
        num_read = 0
        shift = 0
        byte = 0 '\000'
#1  0x56599e50 in read_uleb128 (end=0xf7dbecef "", length_return=<optimized 
out>, data=0x87a81711 <error: Cannot access memory at address 0x87a81711>) at 
../../binutils/dwarf.c:2005
No locals.
#2  get_type_signedness (start=start@entry=0xf7cd1010 "\266X\006", 
data=0x87a81711 <error: Cannot access memory at address 0x87a81711>, 
end=end@entry=0xf7dbecef "", pointer_size=4, offset_size=4, 
    dwarf_version=4, is_signed=0xffffd190, is_nested=1) at 
../../binutils/dwarf.c:2005
        abbrev_number = <optimized out>
        bytes_read = 0
        entry = <optimized out>
        attr = <optimized out>
#3  0x56599f50 in get_type_signedness (start=start@entry=0xf7cd1010 
"\266X\006", data=0xf7ce1238 "", end=end@entry=0xf7dbecef "", pointer_size=4, 
offset_size=4, dwarf_version=4, is_signed=0xffffd190, 
    is_nested=0) at ../../binutils/dwarf.c:2045
        uvalue = <optimized out>
        abbrev_number = <optimized out>
        bytes_read = 1
        entry = <optimized out>
        attr = 0x56640530
#4  0x5659b968 in read_and_display_attr_value (attribute=attribute@entry=73, 
form=form@entry=19, implicit_const=-1, start=0xf7cd1010 "\266X\006", 
data=<optimized out>, end=0xf7dbecef "", 
    cu_offset=415930, pointer_size=4, offset_size=4, dwarf_version=<optimized 
out>, debug_info_p=0x0, do_loc=<optimized out>, section=0x56617880 
<debug_displays+192>, this_set=0x0, 
    delimiter=<optimized out>, level=<optimized out>) at 
../../binutils/dwarf.c:2732
        is_signed = 0
        uvalue = 66082
        block_start = <optimized out>
        orig_data = 0xf7d36c1c "\"\002\001"
        bytes_read = 4160392480
        __PRETTY_FUNCTION__ = "read_and_display_attr_value"
#5  0x5659efb4 in read_and_display_attr (level=<optimized out>, this_set=0x0, 
section=0x56617880 <debug_displays+192>, do_loc=0, debug_info_p=0x0, 
dwarf_version=4, offset_size=<optimized out>, 
    pointer_size=4, cu_offset=415930, end=0xf7dbecef "", data=0xf7d36c1c 
"\"\002\001", start=0xf7cd1010 "\266X\006", implicit_const=<optimized out>, 
form=19, attribute=<optimized out>)
    at ../../binutils/dwarf.c:3119
No locals.
#6  process_debug_info (section=0x56617880 <debug_displays+192>, 
file=<optimized out>, abbrev_sec=abbrev, do_loc=0, do_types=<optimized out>) at 
../../binutils/dwarf.c:3646
        bytes_read = 1
        die_offset = <optimized out>
        do_printing = 1
        abbrev_number = <optimized out>
        entry = 0x5663e9b0
        attr = <optimized out>
        debug_info_p = <optimized out>
        hdrptr = <optimized out>
        sec_off = <optimized out>
        offset_size = 4
        signature_low = 0
        tags = 0xf7d36c1c "\"\002\001"
        signature_high = 0
        this_set = 0x0
        abbrev_base = <optimized out>
        abbrev_size = <optimized out>
        initial_length_size = <optimized out>
        compunit = {cu_length = <optimized out>, cu_version = 4, 
cu_abbrev_offset = <optimized out>, cu_pointer_size = <optimized out>, 
cu_unit_type = <optimized out>}
        level = <optimized out>
        last_level = 4
        saved_level = -1
        cu_offset = 415930
        type_offset = <optimized out>
        start = <optimized out>
        end = 0xf7dbecef ""
        section_begin = <optimized out>
        unit = 1
        num_units = <optimized out>
        __PRETTY_FUNCTION__ = "process_debug_info"
#7  0x5658b464 in display_debug_section (filedata=<optimized out>, 
section=0x566202b0, shndx=30) at ../../binutils/readelf.c:14291
        secondary = <optimized out>
        id = info
        display = 0x56617880 <debug_displays+192>
        sec = 0x56617880 <debug_displays+192>
        length = <optimized out>
        i = 3
        name = <optimized out>
        print_name = <optimized out>
        result = 1
        name = <optimized out>
        print_name = <optimized out>
        length = <optimized out>
        result = <optimized out>
        i = <optimized out>
        id = <optimized out>
        display = <optimized out>
        sec = <optimized out>
        secondary = <optimized out>
#8  process_section_contents (filedata=<optimized out>) at 
../../binutils/readelf.c:14382
        dump = 4 '\004'
        section = 0x566202b0
        i = 30
        res = 1
#9  0x5658c915 in process_section_contents (filedata=0x5661e1d0) at 
../../binutils/readelf.c:19999
        section = <optimized out>
        i = <optimized out>
        res = 1
        section = <optimized out>
        i = <optimized out>
        res = <optimized out>
        dump = <optimized out>
#10 process_object (filedata=<optimized out>) at ../../binutils/readelf.c:19999
        have_separate_files = 0
        i = <optimized out>
        res = 1
        have_separate_files = <optimized out>
        i = <optimized out>
        res = <optimized out>
        __PRETTY_FUNCTION__ = "process_object"
        d = <optimized out>
        g = <optimized out>
        next = <optimized out>
#11 process_object (filedata=<optimized out>) at ../../binutils/readelf.c:19915
        have_separate_files = <optimized out>
        i = <optimized out>
        __PRETTY_FUNCTION__ = "process_object"
        d = <optimized out>
        g = <optimized out>
        next = <optimized out>
#12 0x5655a2a5 in process_file (file_name=0xffffdae6 "libjsoncpp.so.1.8.1") at 
../../binutils/readelf.c:20429
        filedata = 0x5661e1d0
        statbuf = {st_dev = 66306, __pad1 = 1, __st_ino = 2393533, st_mode = 
33188, st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 39680, 
st_size = 2316140, st_blksize = 4096, st_blocks = 4528, st_atim = {tv_sec = 
1568630072, tv_nsec = 756767631}, st_mtim = {tv_sec = 1568630063, tv_nsec = 
792762404}, st_ctim = {tv_sec = 1568630063, tv_nsec = 792762404}, st_ino = 
2393533}
        armag = "\177ELF\001\001\001"
        ret = 1
        filedata = <optimized out>
        statbuf = <optimized out>
        armag = <optimized out>
        ret = <optimized out>
#13 main (argc=<optimized out>, argv=<optimized out>) at 
../../binutils/readelf.c:20488
        err = <optimized out>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils package in Ubuntu:
  Confirmed
Status in glibc package in Ubuntu:
  Invalid

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils                2.32.51.20190905-0ubuntu1   i386         GNU 
assembler, linker and binary utilities
  ii  binutils-common:i386    2.32.51.20190905-0ubuntu1   i386         Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386         GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i386        2.32.51.20190905-0ubuntu1   i386         GNU 
binary utilities (private shared library)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1844119/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to