From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 66D08383301F; Mon, 16 Nov 2020 21:17:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66D08383301F From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/26908] abidw --abidiff /lib64/libclang-cpp.so.11 crashes in dwarf_dieoffset Date: Mon, 16 Nov 2020 21:17:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: woodard at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2020 21:17:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26908 --- Comment #1 from Ben Woodard --- Program received signal SIGSEGV, Segmentation fault. dwarf_diecu (die=3D0x7fffffffd540, result=3D0x7fffffffd560, address_sizep= =3D0x0, offset_sizep=3D0x0) at libdwP.h:947 Downloading source file /usr/src/debug/elfutils-0.182-1.fc33.x86_64/libdw/libdwP.h... 947 return cu->sec_idx; This one is from /lib64/libclang.so.11 also from clang-libs-11.0.0-2.fc33.x86_64 Even though the backtrace is different at level 0 and 1, #2 is the same. #0 dwarf_diecu (die=3D0x7fffffffd540, result=3D0x7fffffffd560, address_siz= ep=3D0x0, offset_sizep=3D0x0) at libdwP.h:947 #1 0x00007ffff7ef1e74 in abigail::dwarf_reader::imported_unit_point::imported_unit_point (from=3D4294956352, imported_die=3D..., import_off=3D, this=3D0x7fffffffd580) at ../../../libabigail/src/abg-dwarf-reader.cc:271 #2 abigail::dwarf_reader::read_context::build_die_parent_relations_under (this=3D0x442c40, die=3D0x7fffffffd650, source=3Dabigail::dwarf_reader::PRIMARY_DEBUG_INFO_DIE_SOURCE, imported_units=3Dstd::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=3Dthis@entry=3D0x442c40) at ../../../libabigail/src/abg-dwarf-reader.= cc:7819 #4 0x00007ffff7ee4d57 in abigail::dwarf_reader::read_debug_info_into_corpus (ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:15895 #5 abigail::dwarf_reader::read_corpus_from_elf (ctxt=3D..., status=3D@0x7fffffffd80c: abigail::dwarf_reader::STATUS_UNKNOWN) at ../../../libabigail/src/abg-dwarf-reader.cc:17149 #6 0x0000000000405c93 in load_corpus_and_write_abixml (opts=3D..., context=3Dstd::shared_ptr (use count 1= , weak count 0) =3D {...}, env=3Dstd::shared_ptr (use co= unt 1, weak count 0) =3D {...}, argv=3D0x7fffffffdd58) at ../../../libabigail/tools/abidw.cc:494 #7 main (argc=3D, argv=3D0x7fffffffdd58) at ../../../libabigail/tools/abidw.cc:866 --=20 You are receiving this mail because: You are on the CC list for the bug.=