From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5C69385782F; Sun, 27 Sep 2020 09:23:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5C69385782F From: "sourceware at sgoth dot de" To: libabigail@sourceware.org Subject: [Bug default/26315] abidiff segfaults from 9a113ce but works in 1.7 Date: Sun, 27 Sep 2020 09:23:33 +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: sourceware at sgoth dot de X-Bugzilla-Status: WAITING 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: Sun, 27 Sep 2020 09:23:33 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26315 --- Comment #6 from Sebastian Goth --- Hey. Sorry for the late reply but vacation happened. Sadly i can't attach the binary here but I'd be happy to help debug it. My attempts to create a test case failed so far.. A bit more info: - still happens in current master ( ebaf3305 ) - is unrelated to any actual change, comparing the same bins/includes crash= es - only crashes if called with '--drop-private-types' $ ./bin/abidiff /path/to/lib.so /path/to/lib.so --hd1 /path/to/hdr --hd2 /path/to/hdr $ ./bin/abidiff --drop-private-types /path/to/lib.so /path/to/lib.so --hd1 /path/to/hdr --hd2 /path/to/hdr Segmentation fault (core dumped) at same location: #0 abigail::ir::equals (l=3D..., r=3D..., k=3D0x0) at ../../src/abg-ir.cc:= 15819 #1 0x00007ffff7c456d9 in abigail::ir::try_canonical_compare (l=3D0x555557a18710, r=3D0x555555e1d8b0) at ../../src/abg-ir.cc:670 #2 0x00007ffff7c0efc6 in abigail::ir::typedef_decl::operator=3D=3D (this=3D0x555557a18710, o=3D...) at ../../src/abg-ir.cc:15842 #3 0x00007ffff7c0f041 in abigail::ir::typedef_decl::operator=3D=3D (this=3D0x555557a18710, o=3D...) at ../../src/abg-ir.cc:15857 #4 0x00007ffff7be9204 in abigail::ir::operator=3D=3D (l=3Dstd::shared_ptr (use count 4, weak count 11) = =3D {...}, r=3Dstd::shared_ptr (use count 9, weak count= 10) =3D {...}) at ../../src/abg-ir.cc:4322 #5 0x00007ffff7c0114c in abigail::ir::type_base::get_canonical_type_for (t=3Dstd::shared_ptr (use count 9, weak count 10) = =3D {...}) at ../../src/abg-ir.cc:12178 #6 0x00007ffff7c01808 in abigail::ir::canonicalize (t=3Dstd::shared_ptr (use count 9, weak count 10) = =3D {...}) at ../../src/abg-ir.cc:12301 #7 0x00007ffff7dfa1b1 in abigail::dwarf_reader::read_context::canonicalize_types_scheduled (this=3D0x555565bc2f50, source=3Dabigail::dwarf_reader::PRIMARY_DEBUG_INFO_DIE_SOURCE) at ../../src/abg-dwarf-reader.cc:4833 #8 0x00007ffff7dfa9b6 in abigail::dwarf_reader::read_context::perform_late_type_canonicalizing (this=3D0x555565bc2f50) at ../../src/abg-dwarf-reader.cc:4949 #9 0x00007ffff7deb4c7 in abigail::dwarf_reader::read_debug_info_into_corpus (ctxt=3D...) at ../../src/abg-dwarf-reader.cc:16024 #10 0x00007ffff7df00f6 in abigail::dwarf_reader::read_corpus_from_elf (ctxt=3D..., status=3D@0x7fffffffd05c: abigail::dwarf_reader::STATUS_UNKNOW= N) at ../../src/abg-dwarf-reader.cc:17149 #11 0x0000555555559c15 in main (argc=3D, argv=3D0x7fffffffd4= 88) at /usr/include/c++/10.2.0/bits/shared_ptr_base.h:1324 --=20 You are receiving this mail because: You are on the CC list for the bug.=