public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-27010-9487@http.sourceware.org/bugzilla/> (raw)

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

            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 tests to
aarch64 and I found some of the same old problems that we had to work through
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_sptr
abigail::xml_reader::read_context::build_or_get_type_decl(const string&, bool):
Assertion `__abg_cond__' failed.

Program received signal SIGABRT, Aborted.
__GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49        return ret;
#0  __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x0000fffff75965dc in __GI_abort () at abort.c:79
#2  0x0000fffff75a355c in __assert_fail_base (fmt=0xfffff76a7930 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xfffff7f26aa0
"__abg_cond__", file=file@entry=0xfffff7f34b40
"../../../libabigail/src/abg-reader.cc", line=line@entry=1287,
function=function@entry=0xfffff7f35090 "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=assertion@entry=0xfffff7f26aa0 "__abg_cond__",
file=file@entry=0xfffff7f34b40 "../../../libabigail/src/abg-reader.cc",
line=line@entry=1287, function=function@entry=0xfffff7f35090
"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=this@entry=0x45a6a0, id="type-id-419",
add_decl_to_scope=add_decl_to_scope@entry=true) at
../../../libabigail/src/abg-reader.cc:1287
#5  0x0000fffff7ea50e4 in abigail::xml_reader::build_function_parameter
(ctxt=..., node=node@entry=0xc980a0) at
../../../libabigail/src/abg-reader.cc:2987
#6  0x0000fffff7eaace0 in abigail::xml_reader::build_function_decl (ctxt=...,
node=node@entry=0x1cd5780,
as_method_decl=std::shared_ptr<abigail::ir::class_or_union> (use count 9, weak
count 3) = {...}, add_to_current_scope=true) at
../../../libabigail/src/abg-reader.cc:3072
#7  0x0000fffff7eab9b8 in
abigail::xml_reader::build_function_decl_if_not_suppressed (ctxt=...,
node=node@entry=0x1cd5780,
as_method_decl=std::shared_ptr<abigail::ir::class_or_union> (use count 9, weak
count 3) = {...}, add_to_current_scope=true) at
../../../libabigail/src/abg-reader.cc:3160
#8  0x0000fffff7eae064 in abigail::xml_reader::build_class_decl (ctxt=...,
node=node@entry=0xf23020, add_to_current_scope=add_to_current_scope@entry=true)
at ../../../libabigail/src/abg-reader.cc:4644
#9  0x0000fffff7eaef58 in
abigail::xml_reader::build_class_decl_if_not_suppressed (ctxt=...,
node=node@entry=0xf23020, add_to_current_scope=add_to_current_scope@entry=true)
at ../../../libabigail/src/abg-reader.cc:4269
#10 0x0000fffff7eb3574 in abigail::xml_reader::handle_class_decl
(add_to_current_scope=true, node=0xf23020, ctxt=...) at
../../../libabigail/src/abg-reader.cc:5685
#11 abigail::xml_reader::handle_element_node (ctxt=...,
node=node@entry=0xf23020, add_to_current_scope=true) at
../../../libabigail/src/abg-reader.cc:2150
#12 0x0000fffff7eb24e8 in abigail::xml_reader::build_namespace_decl
(add_to_current_scope=true, node=0xf22dc0, ctxt=...) at
../../../libabigail/src/abg-reader.cc:2713
#13 abigail::xml_reader::handle_namespace_decl (add_to_current_scope=true,
node=0xf22dc0, ctxt=...) at ../../../libabigail/src/abg-reader.cc:5522
#14 abigail::xml_reader::handle_element_node (ctxt=...,
node=node@entry=0xf22dc0, add_to_current_scope=true) at
../../../libabigail/src/abg-reader.cc:2132
#15 0x0000fffff7eb24e8 in abigail::xml_reader::build_namespace_decl
(add_to_current_scope=true, node=0xf22bd0, ctxt=...) at
../../../libabigail/src/abg-reader.cc:2713
#16 abigail::xml_reader::handle_namespace_decl (add_to_current_scope=true,
node=0xf22bd0, ctxt=...) at ../../../libabigail/src/abg-reader.cc:5522
#17 abigail::xml_reader::handle_element_node (ctxt=...,
node=node@entry=0xf22bd0, add_to_current_scope=true) at
../../../libabigail/src/abg-reader.cc:2132
#18 0x0000fffff7e9f810 in abigail::xml_reader::read_translation_unit
(node=0x45a6a0, tu=..., ctxt=...) at ../../../libabigail/src/abg-reader.cc:1408
#19 abigail::xml_reader::get_or_read_and_add_translation_unit (ctxt=...,
node=node@entry=0xf22620) at ../../../libabigail/src/abg-reader.cc:1460
#20 0x0000fffff7e9ff34 in abigail::xml_reader::read_translation_unit_from_input
(ctxt=...) at ../../../libabigail/src/abg-reader.cc:1518
#21 0x0000fffff7ea0e84 in abigail::xml_reader::read_corpus_from_input
(ctxt=...) at ../../../libabigail/src/abg-reader.cc:1932
#22 0x0000fffff7ea2b24 in abigail::xml_reader::read_corpus_from_native_xml_file
(path="/tmp/libabigail-tmp-file-NOCcnM", env=<optimized out>) at
/usr/include/c++/10/bits/shared_ptr_base.h:1324
#23 0x000000000040499c in load_corpus_and_write_abixml (opts=...,
context=std::shared_ptr<abigail::dwarf_reader::read_context> (empty) = {...},
env=std::shared_ptr<abigail::ir::environment> (use count 1, weak count 0) =
{...}, argv=0xffffffffe9f8) at /usr/include/c++/10/bits/shared_ptr_base.h:1324
#24 main (argc=<optimized out>, argv=0xffffffffe9f8) at
../../../libabigail/tools/abidw.cc:866

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

             reply	other threads:[~2020-12-04  3:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04  3:58 woodard at redhat dot com [this message]
2020-12-04  4:16 ` [Bug default/27010] " woodard at redhat dot com
2020-12-04 18:19 ` woodard at redhat dot com
2020-12-04 18:36 ` woodard at redhat dot com
2020-12-04 18:47 ` woodard at redhat dot com
2021-04-13 20:22 ` woodard at redhat dot com
2021-04-13 21:09 ` woodard at redhat dot com
2021-06-07 23:56 ` woodard at redhat dot com
2021-06-08 17:34 ` woodard at redhat dot com
2021-06-16 17:21 ` woodard at redhat dot com
2021-06-16 17:31 ` woodard at redhat dot com
2021-09-09 14:07 ` woodard at redhat dot com
2023-05-12 14:17 ` greenwildebeest at mail dot com
2023-05-19 16:54 ` woodard at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27010-9487@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).