public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29347] New: abipkgdiff SEGV's on apptainer.
@ 2022-07-09 19:32 woodard at redhat dot com
  2022-07-09 20:40 ` [Bug default/29347] " woodard at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2022-07-09 19:32 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 29347
           Summary: abipkgdiff SEGV's on apptainer.
           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: ---

First of all fedabipkgdiff exits non-zero with no apparent error:

$  fedabipkgdiff --self-compare -a --from fc36 apptainer
Comparing the ABI of binaries between apptainer-1.0.3-1.fc36.aarch64.rpm and
apptainer-1.0.3-1.fc36.aarch64.rpm:


Comparing the ABI of binaries between apptainer-1.0.3-1.fc36.armv7hl.rpm and
apptainer-1.0.3-1.fc36.armv7hl.rpm:


Comparing the ABI of binaries between apptainer-1.0.3-1.fc36.i686.rpm and
apptainer-1.0.3-1.fc36.i686.rpm:


Comparing the ABI of binaries between apptainer-1.0.3-1.fc36.ppc64le.rpm and
apptainer-1.0.3-1.fc36.ppc64le.rpm:


Comparing the ABI of binaries between apptainer-1.0.3-1.fc36.s390x.rpm and
apptainer-1.0.3-1.fc36.s390x.rpm:


Comparing the ABI of binaries between apptainer-1.0.3-1.fc36.x86_64.rpm and
apptainer-1.0.3-1.fc36.x86_64.rpm:


$ echo $?
245

Looking more carefully:

$ abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/apptainer-debuginfo-1.0.3-1.fc36.x86_64.rpm
/home/ben/.cache/fedabipkgdiff/downloads/apptainer-1.0.3-1.fc36.x86_64.rpm
Segmentation fault (core dumped)

The backtrace is insanely long but here is the beginning of it:

Thread 7 "abipkgdiff" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff59fc640 (LWP 3141187)]
0x00007ffff7a29649 in __libdw_findcu (dbg=0x7ffff0006990, start=626634,
v4_debug_types=false) at
/usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/libdw_findcu.c:236
236       struct Dwarf_CU fake = { .start = start, .end = 0 };
#0  0x00007ffff7a29649 in __libdw_findcu (dbg=0x7ffff0006990, start=626634,
v4_debug_types=false) at
/usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/libdw_findcu.c:236
#1  0x00007ffff7a0dc07 in __libdw_offdie (debug_types=false,
result=0x7ffff51fd2d0, offset=<optimized out>, dbg=<optimized out>) at
/usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/dwarf_offdie.c:61
#2  dwarf_offdie (dbg=<optimized out>, offset=<optimized out>,
result=0x7ffff51fd2d0) at
/usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/dwarf_offdie.c:76
#3  0x00007ffff7e1c8a0 in abigail::dwarf_reader::get_parent_die (ctxt=...,
die=die@entry=0x7ffff51fd4e0, parent_die=...,
where_offset=where_offset@entry=0) at
../../../libabigail/src/abg-dwarf-reader.cc:11536
#4  0x00007ffff7e1efa9 in abigail::dwarf_reader::get_scope_die (ctxt=...,
die=0x7ffff51fd4e0, where_offset=0, scope_die=...) at
../../../libabigail/src/abg-dwarf-reader.cc:11621
#5  0x00007ffff7e19be9 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51fd4e0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9240
#6  0x00007ffff7e1a412 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51fdaa0, where_offset=<optimized out>) at
../../../libabigail/src/abg-dwarf-reader.cc:9374
#7  0x00007ffff7e0d9c6 in
abigail::dwarf_reader::read_context::get_die_qualified_type_name
(this=0x7ffff0001050, die=0x7ffff51fdaa0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:3330
#8  0x00007ffff7e1bafc in abigail::dwarf_reader::die_pretty_print_type
(ctxt=..., die=0x7ffff51fdaa0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9941
#9  0x00007ffff7e0c698 in abigail::dwarf_reader::die_pretty_print
(where_offset=0, die=<optimized out>, ctxt=...) at
../../../libabigail/src/abg-dwarf-reader.cc:10114
#10 abigail::dwarf_reader::read_context::get_die_pretty_representation
(this=0x7ffff0001050, die=<optimized out>, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:3410
#11 0x00007ffff7e70ce1 in
abigail::dwarf_reader::die_return_and_parm_names_from_fn_type_die(abigail::dwarf_reader::read_context
const&, Dwarf_Die const*, unsigned long, bool, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, bool&, bool&) [clone
.constprop.0] (ctxt=..., die=die@entry=0x7ffff51fdde0,
where_offset=where_offset@entry=0, pretty_print=pretty_print@entry=true,
return_type_name="void", class_name="", parm_names=std::vector of length 1,
capacity 1 = {...}, is_const=@0x7ffff51fdbb0: false, is_static=@0x7ffff51fdbac:
false) at ../../../libabigail/src/abg-dwarf-reader.cc:9728
#12 0x00007ffff7e1a041 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51fdde0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9440
#13 0x00007ffff7e1a6a3 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51fdfd0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9277
#14 0x00007ffff7e1a412 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51fe590, where_offset=<optimized out>) at
../../../libabigail/src/abg-dwarf-reader.cc:9374
#15 0x00007ffff7e0d9c6 in
abigail::dwarf_reader::read_context::get_die_qualified_type_name
(this=0x7ffff0001050, die=0x7ffff51fe590, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:3330
#16 0x00007ffff7e1bafc in abigail::dwarf_reader::die_pretty_print_type
(ctxt=..., die=0x7ffff51fe590, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9941
#17 0x00007ffff7e0c698 in abigail::dwarf_reader::die_pretty_print
(where_offset=0, die=<optimized out>, ctxt=...) at
../../../libabigail/src/abg-dwarf-reader.cc:10114
#18 abigail::dwarf_reader::read_context::get_die_pretty_representation
(this=0x7ffff0001050, die=<optimized out>, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:3410
#19 0x00007ffff7e70ce1 in
abigail::dwarf_reader::die_return_and_parm_names_from_fn_type_die(abigail::dwarf_reader::read_context
const&, Dwarf_Die const*, unsigned long, bool, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, bool&, bool&) [clone
.constprop.0] (ctxt=..., die=die@entry=0x7ffff51fe8d0,
where_offset=where_offset@entry=0, pretty_print=pretty_print@entry=true,
return_type_name="void", class_name="", parm_names=std::vector of length 1,
capacity 1 = {...}, is_const=@0x7ffff51fe6a0: false, is_static=@0x7ffff51fe69c:
false) at ../../../libabigail/src/abg-dwarf-reader.cc:9728
#20 0x00007ffff7e1a041 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51fe8d0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9440
#21 0x00007ffff7e1a6a3 in abigail::dwarf_reader::die_qualified_type_name
(ctxt=..., die=0x7ffff51feac0, where_offset=0) at
../../../libabigail/src/abg-dwarf-reader.cc:9277

-- 
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-07-28 21:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-09 19:32 [Bug default/29347] New: abipkgdiff SEGV's on apptainer woodard at redhat dot com
2022-07-09 20:40 ` [Bug default/29347] " woodard at redhat dot com
2022-07-09 21:48 ` mark at klomp dot org
2022-07-28 21:56 ` woodard at redhat dot com
2022-07-28 21: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).