From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C0885385380B; Mon, 7 Jun 2021 23:56:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0885385380B From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/27010] abort in abg-reader.cc:1287 when running on aarch64 Date: Mon, 07 Jun 2021 23:56:35 +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, 07 Jun 2021 23:56:35 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27010 --- Comment #6 from Ben Woodard --- The line number changed but this seems to be the same problem: Starting program: /home/ben/Shared/Work/test/libabigail-x86_64/bin/abidw --abidiff /usr/lib64/libgnutls-dane.so.0.4.1 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". abidw: ../../../libabigail/src/abg-reader.cc:1404: abigail::ir::type_base_s= ptr abigail::xml_reader::read_context::build_or_get_type_decl(const string&, bo= ol): Assertion `__abg_cond__' failed. Program received signal SIGABRT, Aborted. __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/raise.c:49 49 return ret; #0 __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/raise.c:= 49 #1 0x00007ffff74be8a4 in __GI_abort () at abort.c:79 #2 0x00007ffff74be789 in __assert_fail_base (fmt=3D, assertion=3D, file=3D, line=3D, function=3D) at assert.c:92 #3 0x00007ffff74cda16 in __GI___assert_fail (assertion=3D0x7ffff7f31301 "__abg_cond__", file=3D0x7ffff7f3c840 "../../../libabigail/src/abg-reader.c= c", line=3D1404, function=3D0x7ffff7f3caf8 "abigail::ir::type_base_sptr abigail::xml_reader::read_context::build_or_get_type_decl(const string&, bool)") at assert.c:101 #4 0x00007ffff7e9c33e in abigail::xml_reader::read_context::build_or_get_type_decl (this=3D0x577310, id=3D"", add_decl_to_scope=3D) at ../../../libabigail/src/abg-reader.cc:1404 #5 0x00007ffff7ea0d8e in abigail::xml_reader::build_var_decl (ctxt=3D..., node=3D0x8df540, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:3548 #6 0x00007ffff7ea7fa1 in abigail::xml_reader::build_class_decl (ctxt=3D..., node=3D, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:4813 #7 0x00007ffff7ea9319 in abigail::xml_reader::build_class_decl_if_not_suppressed (ctxt=3D..., node=3D0x8dc860, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:4493 #8 0x00007ffff7ea6099 in abigail::xml_reader::build_type (ctxt=3D..., node=3D0x8dc860, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:5698 #9 0x00007ffff7e9c1e7 in abigail::xml_reader::read_context::build_or_get_type_decl (this=3D0x577310, id=3D"", add_decl_to_scope=3D) at ../../../libabigail/src/abg-reader.cc:1403 #10 0x00007ffff7e9cff5 in abigail::xml_reader::build_pointer_type_def (ctxt=3D..., node=3D0x8eb370, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:3816 #11 0x00007ffff7ea5cf4 in abigail::xml_reader::build_type (ctxt=3D..., node=3D0x8eb370, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:5691 #12 0x00007ffff7e9c1e7 in abigail::xml_reader::read_context::build_or_get_type_decl (this=3D0x577310, id=3D"", add_decl_to_scope=3D) at ../../../libabigail/src/abg-reader.cc:1403 #13 0x00007ffff7ea099e in abigail::xml_reader::build_typedef_decl (ctxt=3D.= .., node=3D0x7fffffffc0e0, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:4469 #14 0x00007ffff7ead4b7 in abigail::xml_reader::handle_typedef_decl (add_to_current_scope=3Dtrue, node=3D0x8bfcb0, ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:5866 #15 abigail::xml_reader::handle_element_node (ctxt=3D..., node=3D0x8bfcb0, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:2285 #16 0x00007ffff7e98242 in abigail::xml_reader::read_translation_unit (node=3D, tu=3D..., ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:1503 #17 abigail::xml_reader::get_or_read_and_add_translation_unit (ctxt=3D..., node=3D) at ../../../libabigail/src/abg-reader.cc:1554 #18 0x00007ffff7e9bb1c in abigail::xml_reader::read_context::get_scope_for_= node (this=3D0x577310, node=3D, access=3D) at ../../../libabigail/src/abg-reader.cc:1346 #19 0x00007ffff7e9c098 in abigail::xml_reader::read_context::build_or_get_type_decl (this=3D0x577310, id=3D"type-id-12", add_decl_to_scope=3D) at ../../../libabigail/src/abg-reader.cc:1389 #20 0x00007ffff7e9fd3f in abigail::xml_reader::build_enum_type_decl (ctxt= =3D..., node=3D0x56b540, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:4390 #21 0x00007ffff7ea0269 in abigail::xml_reader::build_enum_type_decl_if_not_suppressed (ctxt=3D..., node=3D0x56b540, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:4293 #22 0x00007ffff7ea5f91 in abigail::xml_reader::build_type (ctxt=3D..., node=3D0x56b540, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:5695 #23 0x00007ffff7e9c1e7 in abigail::xml_reader::read_context::build_or_get_type_decl (this=3D0x577310, id=3D"", add_decl_to_scope=3D) at ../../../libabigail/src/abg-reader.cc:1403 #24 0x00007ffff7ea099e in abigail::xml_reader::build_typedef_decl (ctxt=3D.= .., node=3D0x7fffffffc930, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:4469 #25 0x00007ffff7ea600e in abigail::xml_reader::build_type (ctxt=3D..., node=3D0x58c7e0, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:5697 #26 0x00007ffff7e9c1e7 in abigail::xml_reader::read_context::build_or_get_type_decl (this=3D0x577310, id=3D"", add_decl_to_scope=3D) at ../../../libabigail/src/abg-reader.cc:1403 #27 0x00007ffff7e9db4f in abigail::xml_reader::build_function_parameter (ctxt=3D..., node=3D0x664d50) at ../../../libabigail/src/abg-reader.cc:3218 #28 0x00007ffff7ea15d2 in abigail::xml_reader::build_function_decl (ctxt=3D= ..., node=3D0x6643b0, as_method_decl=3Dstd::shared_ptr (empty) =3D {...}, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:3302 #29 0x00007ffff7ea23b2 in abigail::xml_reader::build_function_decl_if_not_suppressed (ctxt=3D..., node=3D0x6643b0, as_method_decl=3Dstd::shared_ptr (empty) =3D {...}, add_to_current_scope=3D) at ../../../libabigail/src/abg-reader.cc:3389 #30 0x00007ffff7eadc4f in abigail::xml_reader::handle_function_decl (add_to_current_scope=3Dtrue, node=3D0x6643b0, ctxt=3D...) at /usr/include/c++/11/bits/shared_ptr_base.h:731 #31 abigail::xml_reader::handle_element_node (ctxt=3D..., node=3D0x6643b0, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:2289 #32 0x00007ffff7e98242 in abigail::xml_reader::read_translation_unit (node=3D, tu=3D..., ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:1503 #33 abigail::xml_reader::get_or_read_and_add_translation_unit (ctxt=3D..., node=3D) at ../../../libabigail/src/abg-reader.cc:1554 #34 0x00007ffff7e98a2e in abigail::xml_reader::read_translation_unit_from_i= nput (ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:1611 #35 0x00007ffff7e998c4 in abigail::xml_reader::read_corpus_from_input (ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:2067 #36 0x0000000000405248 in load_corpus_and_write_abixml (opts=3D..., context=3Dstd::shared_ptr (empty) =3D = {...}, env=3Dstd::shared_ptr (use count 1, weak count 0)= =3D {...}, argv=3D0x7fffffffd978) at /usr/include/c++/11/bits/shared_ptr_base.h= :1295 #37 main (argc=3D, argv=3D0x7fffffffd978) at ../../../libabigail/tools/abidw.cc:890 This was with /usr/lib64/libgnutls-dane.so.0.4.1 from gnutls-dane-3.7.2-1.fc34.x86_64 with libabigail's trunk as of b00ba10e1deae4eae58cb783c01c69f384f392c1 --=20 You are receiving this mail because: You are on the CC list for the bug.=