From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AC6CB386F40C; Fri, 4 Dec 2020 03:58:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC6CB386F40C From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/27010] New: abort in abg-reader.cc:1287 when running on aarch64 Date: Fri, 04 Dec 2020 03:58:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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: Fri, 04 Dec 2020 03:58:18 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27010 Bug ID: 27010 Summary: abort in abg-reader.cc:1287 when running on aarch64 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: --- /lib64/libtbb.so.2 tbb-2020.3-2.fc33.aarch64 Before I gave up on my quest to break everything. I decided to take my test= s to aarch64 and I found some of the same old problems that we had to work throu= gh on x86_64. Starting program: /home/ben/Shared/Work/test/libabigail-aarch64/bin/abidw --abidiff /lib64/libtbb.so.2 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". abidw: ../../../libabigail/src/abg-reader.cc:1287: 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=3D6) at ../sysdeps/unix/sysv/linux/raise.c:49 49 return ret; #0 __GI_raise (sig=3D6) at ../sysdeps/unix/sysv/linux/raise.c:49 #1 0x0000fffff75965dc in __GI_abort () at abort.c:79 #2 0x0000fffff75a355c in __assert_fail_base (fmt=3D0xfffff76a7930 "%s%s%s:= %u: %s%sAssertion `%s' failed.\n%n", assertion=3Dassertion@entry=3D0xfffff7f26a= a0 "__abg_cond__", file=3Dfile@entry=3D0xfffff7f34b40 "../../../libabigail/src/abg-reader.cc", line=3Dline@entry=3D1287, function=3Dfunction@entry=3D0xfffff7f35090 "abigail::ir::type_base_sptr abigail::xml_reader::read_context::build_or_get_type_decl(const string&, bool)") at assert.c:92 #3 0x0000fffff75a35c4 in __GI___assert_fail (assertion=3Dassertion@entry=3D0xfffff7f26aa0 "__abg_cond__", file=3Dfile@entry=3D0xfffff7f34b40 "../../../libabigail/src/abg-reader.cc", line=3Dline@entry=3D1287, function=3Dfunction@entry=3D0xfffff7f35090 "abigail::ir::type_base_sptr abigail::xml_reader::read_context::build_or_get_type_decl(const string&, bool)") at assert.c:101 #4 0x0000fffff7ea3468 in abigail::xml_reader::read_context::build_or_get_type_decl (this=3Dthis@entry=3D0x45a6a0, id=3D"type-id-419", add_decl_to_scope=3Dadd_decl_to_scope@entry=3Dtrue) at ../../../libabigail/src/abg-reader.cc:1287 #5 0x0000fffff7ea50e4 in abigail::xml_reader::build_function_parameter (ctxt=3D..., node=3Dnode@entry=3D0xc980a0) at ../../../libabigail/src/abg-reader.cc:2987 #6 0x0000fffff7eaace0 in abigail::xml_reader::build_function_decl (ctxt=3D= ..., node=3Dnode@entry=3D0x1cd5780, as_method_decl=3Dstd::shared_ptr (use count 9,= weak count 3) =3D {...}, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:3072 #7 0x0000fffff7eab9b8 in abigail::xml_reader::build_function_decl_if_not_suppressed (ctxt=3D..., node=3Dnode@entry=3D0x1cd5780, as_method_decl=3Dstd::shared_ptr (use count 9,= weak count 3) =3D {...}, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:3160 #8 0x0000fffff7eae064 in abigail::xml_reader::build_class_decl (ctxt=3D..., node=3Dnode@entry=3D0xf23020, add_to_current_scope=3Dadd_to_current_scope@e= ntry=3Dtrue) at ../../../libabigail/src/abg-reader.cc:4644 #9 0x0000fffff7eaef58 in abigail::xml_reader::build_class_decl_if_not_suppressed (ctxt=3D..., node=3Dnode@entry=3D0xf23020, add_to_current_scope=3Dadd_to_current_scope@e= ntry=3Dtrue) at ../../../libabigail/src/abg-reader.cc:4269 #10 0x0000fffff7eb3574 in abigail::xml_reader::handle_class_decl (add_to_current_scope=3Dtrue, node=3D0xf23020, ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:5685 #11 abigail::xml_reader::handle_element_node (ctxt=3D..., node=3Dnode@entry=3D0xf23020, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:2150 #12 0x0000fffff7eb24e8 in abigail::xml_reader::build_namespace_decl (add_to_current_scope=3Dtrue, node=3D0xf22dc0, ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:2713 #13 abigail::xml_reader::handle_namespace_decl (add_to_current_scope=3Dtrue, node=3D0xf22dc0, ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:5522 #14 abigail::xml_reader::handle_element_node (ctxt=3D..., node=3Dnode@entry=3D0xf22dc0, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:2132 #15 0x0000fffff7eb24e8 in abigail::xml_reader::build_namespace_decl (add_to_current_scope=3Dtrue, node=3D0xf22bd0, ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:2713 #16 abigail::xml_reader::handle_namespace_decl (add_to_current_scope=3Dtrue, node=3D0xf22bd0, ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:5522 #17 abigail::xml_reader::handle_element_node (ctxt=3D..., node=3Dnode@entry=3D0xf22bd0, add_to_current_scope=3Dtrue) at ../../../libabigail/src/abg-reader.cc:2132 #18 0x0000fffff7e9f810 in abigail::xml_reader::read_translation_unit (node=3D0x45a6a0, tu=3D..., ctxt=3D...) at ../../../libabigail/src/abg-read= er.cc:1408 #19 abigail::xml_reader::get_or_read_and_add_translation_unit (ctxt=3D..., node=3Dnode@entry=3D0xf22620) at ../../../libabigail/src/abg-reader.cc:1460 #20 0x0000fffff7e9ff34 in abigail::xml_reader::read_translation_unit_from_i= nput (ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:1518 #21 0x0000fffff7ea0e84 in abigail::xml_reader::read_corpus_from_input (ctxt=3D...) at ../../../libabigail/src/abg-reader.cc:1932 #22 0x0000fffff7ea2b24 in abigail::xml_reader::read_corpus_from_native_xml_= file (path=3D"/tmp/libabigail-tmp-file-NOCcnM", env=3D) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #23 0x000000000040499c 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=3D0xffffffffe9f8) at /usr/include/c++/10/bits/shared_ptr_base.h= :1324 #24 main (argc=3D, argv=3D0xffffffffe9f8) at ../../../libabigail/tools/abidw.cc:866 --=20 You are receiving this mail because: You are on the CC list for the bug.=