public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/26908] New: abidw --abidiff /lib64/libclang-cpp.so.11  crashes in dwarf_dieoffset
@ 2020-11-16 20:43 woodard at redhat dot com
  2020-11-16 21:17 ` [Bug default/26908] " woodard at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: woodard at redhat dot com @ 2020-11-16 20:43 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=26908

            Bug ID: 26908
           Summary: abidw --abidiff /lib64/libclang-cpp.so.11  crashes in
                    dwarf_dieoffset
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

This one appears different than 26771
It I reran my tests with dodji/PR26769 through commit
9ab30d86bd853b4561a9490898b65fc1fd5a203e and this appears to be a new problem:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a346e1 in dwarf_dieoffset (die=0x7fffffffd540) at
dwarf_dieoffset.c:43
Downloading source file
/usr/src/debug/elfutils-0.182-1.fc33.x86_64/libdw/dwarf_dieoffset.c...
43                : (Dwarf_Off) (die->addr - die->cu->startp +
die->cu->start));
#0  0x00007ffff7a346e1 in dwarf_dieoffset (die=0x7fffffffd540) at
dwarf_dieoffset.c:43
#1  0x00007ffff7ef1e53 in
abigail::dwarf_reader::imported_unit_point::imported_unit_point
(from=4294956352, imported_die=..., import_off=<optimized out>,
this=0x7fffffffd580) at ../../../libabigail/src/abg-dwarf-reader.cc:265
#2  abigail::dwarf_reader::read_context::build_die_parent_relations_under
(this=0x442c40, die=0x7fffffffd650,
source=abigail::dwarf_reader::PRIMARY_DEBUG_INFO_DIE_SOURCE,
imported_units=std::vector of length 0, capacity 0) at
../../../libabigail/src/abg-dwarf-reader.cc:7686
#3  0x00007ffff7ef22ab in
abigail::dwarf_reader::read_context::build_die_parent_maps
(this=this@entry=0x442c40) at ../../../libabigail/src/abg-dwarf-reader.cc:7819
#4  0x00007ffff7ee4d57 in abigail::dwarf_reader::read_debug_info_into_corpus
(ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:15895
#5  abigail::dwarf_reader::read_corpus_from_elf (ctxt=...,
status=@0x7fffffffd80c: abigail::dwarf_reader::STATUS_UNKNOWN) at
../../../libabigail/src/abg-dwarf-reader.cc:17149
#6  0x0000000000405c93 in load_corpus_and_write_abixml (opts=...,
context=std::shared_ptr<abigail::dwarf_reader::read_context> (use count 1, weak
count 0) = {...}, env=std::shared_ptr<abigail::ir::environment> (use count 1,
weak count 0) = {...}, argv=0x7fffffffdd58) at
../../../libabigail/tools/abidw.cc:494
#7  main (argc=<optimized out>, argv=0x7fffffffdd58) at
../../../libabigail/tools/abidw.cc:866

$ rpm -qf /lib64/libclang-cpp.so.11
clang-libs-11.0.0-2.fc33.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-30  6:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 20:43 [Bug default/26908] New: abidw --abidiff /lib64/libclang-cpp.so.11 crashes in dwarf_dieoffset woodard at redhat dot com
2020-11-16 21:17 ` [Bug default/26908] " woodard at redhat dot com
2020-11-21  0:34 ` woodard at redhat dot com
2020-11-23 17:51 ` woodard at redhat dot com
2020-11-28 20:51 ` dodji at redhat dot com
2020-11-30  6:12 ` [Bug default/26908] libabigail's dwarf reader crashes while scanning a DW_TAG_partial_unit with no child node dodji at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).