public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/28324] New: assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64
@ 2021-09-09 14:16 woodard at redhat dot com
  2021-09-09 14:20 ` [Bug default/28324] " woodard at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-09-09 14:16 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 28324
           Summary: assert in abg-dwarf-reader.cc:11930 when doing self
                    compare on libuno_salhelpergcc3.so.3 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: ---

This was with the trunk as of 7488c8df3bf10750ce059a0ec1d44d8149149c86

This only happens on aarch64 it did not happen on x86_64.

/usr/lib64/libreoffice/program/libuno_salhelpergcc3.so.3 from
libreoffice-ure-7.1.6.2-1.fc34.aarch64

Starting program: /home/ben/Shared/Work/test/libabigail-aarch64/bin/abidw
--abidiff /usr/lib64/libreoffice/program/libuno_salhelpergcc3.so.3
Downloading separate debug info for
/home/ben/Shared/Work/BuildSI/build-abi-tests/libabigail/system-supplied DSO at
0xfffff7ffb000...
Downloading separate debug info for /lib64/libpthread.so.0...
Downloading separate debug info for
/home/ben/.cache/debuginfod_client/0b63b1f8064f7fd638332ea91684bfc9c525286a/debuginfo...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Downloading separate debug info for /lib64/libelf.so.1...
Downloading separate debug info for
/home/ben/.cache/debuginfod_client/e397c60bbdc5baafa2c2146a26a6c25eaf115991/debuginfo...
Downloading separate debug info for /lib64/libdw.so.1...
Downloading separate debug info for /lib64/libm.so.6...
Downloading separate debug info for /lib64/libc.so.6...
Downloading separate debug info for /lib64/libdl.so.2...
Downloading separate debug info for /lib64/libdebuginfod.so.1...
Downloading separate debug info for /lib64/libresolv.so.2...
abidw: ../../../libabigail/src/abg-dwarf-reader.cc:11930:
abigail::ir::method_decl_sptr
abigail::dwarf_reader::is_function_for_die_a_member_of_class(abigail::dwarf_reader::read_context&,
Dwarf_Die*, const class_or_union_sptr&): Assertion `__abg_cond__' failed.

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
Downloading source file
/usr/src/debug/glibc-2.33-20.fc34.aarch64/signal/../sysdeps/unix/sysv/linux/raise.c...
49        return ret;
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x0000fffff759a7dc in __GI_abort () at abort.c:79
#2  0x0000fffff75a79c8 in __assert_fail_base (fmt=0xfffff76aa1e0 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xfffff7f26118
"__abg_cond__", file=file@entry=0xfffff7f3b0e8
"../../../libabigail/src/abg-dwarf-reader.cc", line=line@entry=11930,
function=function@entry=0xfffff7f3e0c0 "abigail::ir::method_decl_sptr
abigail::dwarf_reader::is_function_for_die_a_member_of_class(abigail::dwarf_reader::read_context&,
Dwarf_Die*, const class_or_union_sptr&)") at assert.c:92
#3  0x0000fffff75a7a40 in __GI___assert_fail (assertion=0xfffff7f26118
"__abg_cond__", file=0xfffff7f3b0e8
"../../../libabigail/src/abg-dwarf-reader.cc", line=11930,
function=0xfffff7f3e0c0 "abigail::ir::method_decl_sptr
abigail::dwarf_reader::is_function_for_die_a_member_of_class(abigail::dwarf_reader::read_context&,
Dwarf_Die*, const class_or_union_sptr&)") at assert.c:101
#4  0x0000fffff7ec53ac in
abigail::dwarf_reader::is_function_for_die_a_member_of_class
(class_type=std::shared_ptr<abigail::ir::class_or_union> (use count 8, weak
count 3) = {...}, function_die=0xffffffffc188, ctxt=...) at
../../../libabigail/src/abg-dwarf-reader.cc:11930
#5  abigail::dwarf_reader::add_or_update_member_function (where_offset=607,
called_from_public_decl=true,
class_type=std::shared_ptr<abigail::ir::class_or_union> (use count 8, weak
count 3) = {...}, function_die=0xffffffffc188, ctxt=...) at
../../../libabigail/src/abg-dwarf-reader.cc:11974
#6  abigail::dwarf_reader::add_or_update_class_type (ctxt=...,
die=0xffffffffc6e8, scope=<optimized out>, is_struct=<optimized out>,
klass=..., called_from_public_decl=true, where_offset=607,
is_declaration_only=<optimized out>) at
../../../libabigail/src/abg-dwarf-reader.cc:12342
#7  0x0000fffff7ecdc94 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=die@entry=0xffffffffc6e8, scope=<optimized out>,
called_from_public_decl=called_from_public_decl@entry=true,
where_offset=where_offset@entry=607, is_declaration_only=false,
is_declaration_only@entry=true,
is_required_decl_spec=is_required_decl_spec@entry=false) at
../../../libabigail/src/abg-dwarf-reader.cc:14903
#8  0x0000fffff7ecfc88 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0xffffffffc6e8, called_from_public_decl=<optimized out>,
where_offset=607) at /usr/include/c++/11/bits/shared_ptr_base.h:1295
#9  0x0000fffff7ec13b4 in abigail::dwarf_reader::build_pointer_type_def
(ctxt=..., die=0xffffffffcd68, called_from_public_decl=<optimized out>,
where_offset=607) at ../../../libabigail/src/abg-dwarf-reader.cc:12920
#10 0x0000fffff7eccc84 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=die@entry=0xffffffffcd68, scope=<optimized out>,
called_from_public_decl=called_from_public_decl@entry=true,
where_offset=where_offset@entry=607, is_declaration_only=false,
is_declaration_only@entry=true,
is_required_decl_spec=is_required_decl_spec@entry=false) at
../../../libabigail/src/abg-dwarf-reader.cc:14759
#11 0x0000fffff7ecfc88 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=die@entry=0xffffffffcd68,
called_from_public_decl=called_from_public_decl@entry=true,
where_offset=where_offset@entry=607) at
/usr/include/c++/11/bits/shared_ptr_base.h:1295
#12 0x0000fffff7ecc464 in abigail::dwarf_reader::build_qualified_type
(where_offset=607, called_from_public_decl=true, die=0xffffffffd048, ctxt=...)
at ../../../libabigail/src/abg-dwarf-reader.cc:12691
#13 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=die@entry=0xffffffffd048, scope=<optimized out>,
called_from_public_decl=called_from_public_decl@entry=true,
where_offset=where_offset@entry=607, is_declaration_only=<optimized out>,
is_declaration_only@entry=true,
is_required_decl_spec=is_required_decl_spec@entry=false) at
../../../libabigail/src/abg-dwarf-reader.cc:14798
#14 0x0000fffff7ecfc88 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0xffffffffd048, called_from_public_decl=<optimized out>,
where_offset=607) at /usr/include/c++/11/bits/shared_ptr_base.h:1295
#15 0x0000fffff7ec832c in abigail::dwarf_reader::build_function_type (ctxt=...,
die=die@entry=0xffffffffd868,
is_method=std::shared_ptr<abigail::ir::class_or_union> (empty) = {...},
where_offset=where_offset@entry=607) at
../../../libabigail/src/abg-dwarf-reader.cc:13184
#16 0x0000fffff7ec9310 in abigail::dwarf_reader::build_function_decl (ctxt=...,
die=0xffffffffd868, where_offset=607,
fn=std::shared_ptr<abigail::ir::function_decl> (empty) = {...}) at
../../../libabigail/src/abg-dwarf-reader.cc:14177
#17 0x0000fffff7ecd2ec in
abigail::dwarf_reader::build_or_get_fn_decl_if_not_suppressed (result=...,
is_declaration_only=<optimized out>, where_offset=607, fn_die=0xffffffffd868,
scope=<optimized out>, ctxt=...) at
../../../libabigail/src/abg-dwarf-reader.cc:13850
#18 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=die@entry=0xffffffffd868, scope=<optimized out>,
called_from_public_decl=called_from_public_decl@entry=false,
where_offset=where_offset@entry=607, is_declaration_only=<optimized out>,
is_declaration_only@entry=true,
is_required_decl_spec=is_required_decl_spec@entry=false) at
../../../libabigail/src/abg-dwarf-reader.cc:15142
#19 0x0000fffff7ecfc88 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=die@entry=0xffffffffd868,
called_from_public_decl=called_from_public_decl@entry=false,
where_offset=where_offset@entry=607) at
/usr/include/c++/11/bits/shared_ptr_base.h:1295
#20 0x0000fffff7ecdf04 in
abigail::dwarf_reader::build_namespace_decl_and_add_to_ir (where_offset=607,
die=0xffffffffda80, ctxt=...) at
../../../libabigail/src/abg-dwarf-reader.cc:11400
#21 abigail::dwarf_reader::build_ir_node_from_die (ctxt=...,
die=die@entry=0xffffffffda80, scope=<optimized out>,
called_from_public_decl=called_from_public_decl@entry=false,
where_offset=where_offset@entry=607, is_declaration_only=<optimized out>,
is_declaration_only@entry=true,
is_required_decl_spec=is_required_decl_spec@entry=false) at
../../../libabigail/src/abg-dwarf-reader.cc:15005
#22 0x0000fffff7ecfc88 in abigail::dwarf_reader::build_ir_node_from_die
(ctxt=..., die=0xffffffffda80, called_from_public_decl=<optimized out>,
where_offset=607) at /usr/include/c++/11/bits/shared_ptr_base.h:1295
#23 0x0000fffff7ec2000 in
abigail::dwarf_reader::build_translation_unit_and_add_to_ir (ctxt=...,
die=<optimized out>, address_size=<optimized out>) at
../../../libabigail/src/abg-dwarf-reader.cc:6697
#24 0x0000fffff7ed160c in abigail::dwarf_reader::read_debug_info_into_corpus
(ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:14332
#25 abigail::dwarf_reader::read_corpus_from_elf (ctxt=...,
status=@0xffffffffe05c: abigail::dwarf_reader::STATUS_UNKNOWN) at
../../../libabigail/src/abg-dwarf-reader.cc:15581
#26 0x00000000004041b8 in load_corpus_and_write_abixml (opts=...,
context=std::shared_ptr<abigail::dwarf_reader::read_context> (use count 1, weak
count 0) = {...}, env=std::shared_ptr<abigail::ir::environment> (use count 1,
weak count 0) = {...}, argv=0xffffffffe5f8) at
../../../libabigail/tools/abidw.cc:505
#27 main (argc=<optimized out>, argv=0xffffffffe5f8) at
../../../libabigail/tools/abidw.cc:893

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug default/28324] assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64
  2021-09-09 14:16 [Bug default/28324] New: assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64 woodard at redhat dot com
@ 2021-09-09 14:20 ` woodard at redhat dot com
  2021-09-21 21:00 ` woodard at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-09-09 14:20 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |27019

--- Comment #1 from Ben Woodard <woodard at redhat dot com> ---
having the x86_64 version of the libabigail's abidw go after the aarch64
version of the library produces the same assert.

$ abidw --abidiff libuno_salhelpergcc3.so.3 
Downloading from https://debuginfod.fedoraproject.org/ 13815
Downloading from https://debuginfod.fedoraproject.org/ 3446339
abidw: ../../../libabigail/src/abg-dwarf-reader.cc:11930:
abigail::ir::method_decl_sptr
abigail::dwarf_reader::is_function_for_die_a_member_of_class(abigail::dwarf_reader::read_context&,
Dwarf_Die*, const class_or_union_sptr&): Assertion `__abg_cond__' failed.
Aborted (core dumped)


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27019
[Bug 27019] BUILD metabug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug default/28324] assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64
  2021-09-09 14:16 [Bug default/28324] New: assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64 woodard at redhat dot com
  2021-09-09 14:20 ` [Bug default/28324] " woodard at redhat dot com
@ 2021-09-21 21:00 ` woodard at redhat dot com
  2022-01-12  2:50 ` woodard at redhat dot com
  2022-06-29 18:58 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-09-21 21:00 UTC (permalink / raw)
  To: libabigail

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

--- Comment #2 from Ben Woodard <woodard at redhat dot com> ---
This continues to be a problem with trunk as of commit
1115e3f08e8f30e7e412294a563a78a15d0373c1

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug default/28324] assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64
  2021-09-09 14:16 [Bug default/28324] New: assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64 woodard at redhat dot com
  2021-09-09 14:20 ` [Bug default/28324] " woodard at redhat dot com
  2021-09-21 21:00 ` woodard at redhat dot com
@ 2022-01-12  2:50 ` woodard at redhat dot com
  2022-06-29 18:58 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2022-01-12  2:50 UTC (permalink / raw)
  To: libabigail

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

--- Comment #3 from Ben Woodard <woodard at redhat dot com> ---
this continues to happen with the trunk as of
71633a7c0c7c96c03db8c18826afea26da0f7b4b

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug default/28324] assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64
  2021-09-09 14:16 [Bug default/28324] New: assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64 woodard at redhat dot com
                   ` (2 preceding siblings ...)
  2022-01-12  2:50 ` woodard at redhat dot com
@ 2022-06-29 18:58 ` woodard at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2022-06-29 18:58 UTC (permalink / raw)
  To: libabigail

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

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Ben Woodard <woodard at redhat dot com> ---
This no longer reproduces with the latest trunk as of
7006c5f3c49b92f066a8f415e87b35a5c2afd32c

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-29 18:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 14:16 [Bug default/28324] New: assert in abg-dwarf-reader.cc:11930 when doing self compare on libuno_salhelpergcc3.so.3 on aarch64 woodard at redhat dot com
2021-09-09 14:20 ` [Bug default/28324] " woodard at redhat dot com
2021-09-21 21:00 ` woodard at redhat dot com
2022-01-12  2:50 ` woodard at redhat dot com
2022-06-29 18:58 ` woodard at redhat dot com

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).