dump_syms aborted for dwarf2reader::ByteReader::SetAddressSize(uint8): Assertion `size == 4 || size == 8' failed

42 views
Skip to first unread message

eva DING

unread,
Nov 17, 2023, 9:19:26 AM11/17/23
to Google Breakpad Discuss
Hello, all

I am trying to dump a symbols from cross compiled ARM based object on an build server(x86). But failed as attached below. 

Very appreciated your any help and comments!


Thanks

Eva

 

$ /dump_syms -v /libatopology.so.2.0.0

dump_syms: ./../breakpad/src/common/dwarf/bytereader.cc:58: void dwarf2reader::ByteReader::SetAddressSize(uint8): Assertion `size == 4 || size == 8' failed.

Aborted

 

$ file /dump_syms

/dump_syms: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=39f4abf3dd1901de48e53ae532958d4f0a796df6, for GNU/Linux 3.2.0, not stripped

 

$ file /libatopology.so.2.0.0

/libatopology.so.2.0.0: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), statically linked, with debug_info, not stripped

$

eva DING

unread,
Nov 23, 2023, 4:33:17 AM11/23/23
to Google Breakpad Discuss
Update: issue resolved by upgrading breakpad to latest version. It seems that the older breakpad I used before doesn't support dwarf4/5.

BR
Eva

Reply all
Reply to author
Forward
0 new messages