From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C710A3858405; Thu, 28 Jul 2022 21:21:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C710A3858405 From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/29429] New: abipkgdiff --self-check crashes when run against golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm Date: Thu, 28 Jul 2022 21:21:39 +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: Thu, 28 Jul 2022 21:21:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29429 Bug ID: 29429 Summary: abipkgdiff --self-check crashes when run against golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm 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 fedabipkgdiff --self-compare -a --from fc36 golang-sigs-k8s-kustomize exits with an error. $ fedabipkgdiff --self-compare -a --from fc36 golang-sigs-k8s-kustomize Comparing the ABI of binaries between golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm and golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm: Comparing the ABI of binaries between golang-sigs-k8s-kustomize-4.0.3-2.fc36.armv7hl.rpm and golang-sigs-k8s-kustomize-4.0.3-2.fc36.armv7hl.rpm: Comparing the ABI of binaries between golang-sigs-k8s-kustomize-4.0.3-2.fc36.i686.rpm and golang-sigs-k8s-kustomize-4.0.3-2.fc36.i686.rpm: Comparing the ABI of binaries between golang-sigs-k8s-kustomize-4.0.3-2.fc36.ppc64le.rpm and golang-sigs-k8s-kustomize-4.0.3-2.fc36.ppc64le.rpm: Comparing the ABI of binaries between golang-sigs-k8s-kustomize-4.0.3-2.fc36.s390x.rpm and golang-sigs-k8s-kustomize-4.0.3-2.fc36.s390x.rpm: Comparing the ABI of binaries between golang-sigs-k8s-kustomize-4.0.3-2.fc36.x86_64.rpm and golang-sigs-k8s-kustomize-4.0.3-2.fc36.x86_64.rpm: [ben@alien scripts]$ echo $? 245 Digging a bit deeper: [ben@alien scripts]$ fedabipkgdiff --dry-run --self-compare -a --from fc36 golang-sigs-k8s-kustomize DRY-RUN: abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.aarch64.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.aarch64.rpm DRY-RUN: abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.armv7hl.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.armv7hl.rpm DRY-RUN: abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.i686.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.i686.rpm DRY-RUN: abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.ppc64le.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.ppc64le.rpm DRY-RUN: abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.s390x.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.s390x.rpm DRY-RUN: abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.x86_64.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.x86_64.rpm bad operand type for abs(): 'NoneType' [ben@alien scripts]$ abipkgdiff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.aarch64.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.aarch64.rpm Segmentation fault (core dumped) (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/ben/Shared/Work/test/libabigail-x86_64/bin/abipkgdi= ff --self-check --d1 /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginf= o-4.0.3-2.fc36.aarch64.rpm /home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.= fc36.aarch64.rpm [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff71ff640 (LWP 1879706)] [New Thread 0x7ffff69fe640 (LWP 1879707)] [Detaching after vfork from child process 1879708] [Detaching after vfork from child process 1879709] [Thread 0x7ffff71ff640 (LWP 1879706) exited] [Thread 0x7ffff69fe640 (LWP 1879707) exited] [Detaching after vfork from child process 1879716] [New Thread 0x7ffff69fe640 (LWP 1879719)] Thread 4 "abipkgdiff" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff69fe640 (LWP 1879719)] 0x00007ffff7a29649 in __libdw_findcu (dbg=3D0x7fffe8007260, start=3D378718, v4_debug_types=3Dfalse) at /usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/libdw_findcu.c:236 236 struct Dwarf_CU fake =3D { .start =3D start, .end =3D 0 }; The backtrace is pretty extensive: #1 0x00007ffff7a0dc07 in __libdw_offdie (debug_types=3Dfalse, result=3D0x7ffff61ff2f0, offset=3D, dbg=3D) at /usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/dwarf_offdie.c:61 #2 dwarf_offdie (dbg=3D, offset=3D, result=3D0x7ffff61ff2f0) at /usr/src/debug/elfutils-0.187-4.fc36.x86_64/libdw/dwarf_offdie.c:76 #3 0x00007ffff7e1f2a0 in abigail::dwarf_reader::get_parent_die (ctxt=3D..., die=3Ddie@entry=3D0x7ffff61ff500, parent_die=3D..., where_offset=3Dwhere_offset@entry=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:11524 #4 0x00007ffff7e219a9 in abigail::dwarf_reader::get_scope_die (ctxt=3D..., die=3D0x7ffff61ff500, where_offset=3D0, scope_die=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:11609 #5 0x00007ffff7e1c519 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff61ff500, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9228 #6 0x00007ffff7e1cd42 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff61ffac0, where_offset=3D) at ../../../libabigail/src/abg-dwarf-reader.cc:9362 #7 0x00007ffff7e10336 in abigail::dwarf_reader::read_context::get_die_qualified_type_name (this=3D0x7fffe8001000, die=3D0x7ffff61ffac0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3330 #8 0x00007ffff7e1e4fc in abigail::dwarf_reader::die_pretty_print_type (ctxt=3D..., die=3D0x7ffff61ffac0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9929 #9 0x00007ffff7e0f008 in abigail::dwarf_reader::die_pretty_print (where_offset=3D0, die=3D, ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:10102 #10 abigail::dwarf_reader::read_context::get_die_pretty_representation (this=3D0x7fffe8001000, die=3D, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3410 #11 0x00007ffff7e73661 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, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::vector, std::allocator >, std::allocator, std::allocator > > >&, bool&, bool&) [clone .constprop.0] (ctxt=3D..., die=3Ddie@entry=3D0x7ffff61ffe00, where_offset=3Dwhere_offset@entry=3D0, pretty_print=3Dpretty_print@entry=3D= true,=20 return_type_name=3D"void", class_name=3D"", parm_names=3Dstd::vector of= length 1, capacity 1 =3D {...}, is_const=3D@0x7ffff61ffbd0: false, is_static=3D@0x7ff= ff61ffbcc: false) at ../../../libabigail/src/abg-dwarf-reader.cc:9716 #12 0x00007ffff7e1c971 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff61ffe00, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9428 #13 0x00007ffff7e1cfd3 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff61ffff0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9265 #14 0x00007ffff7e1cd42 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62005b0, where_offset=3D) at ../../../libabigail/src/abg-dwarf-reader.cc:9362 #15 0x00007ffff7e10336 in abigail::dwarf_reader::read_context::get_die_qualified_type_name (this=3D0x7fffe8001000, die=3D0x7ffff62005b0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3330 #16 0x00007ffff7e1e4fc in abigail::dwarf_reader::die_pretty_print_type (ctxt=3D..., die=3D0x7ffff62005b0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9929 #17 0x00007ffff7e0f008 in abigail::dwarf_reader::die_pretty_print (where_offset=3D0, die=3D, ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:10102 #18 abigail::dwarf_reader::read_context::get_die_pretty_representation (this=3D0x7fffe8001000, die=3D, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3410 #19 0x00007ffff7e73661 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, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::vector, std::allocator >, std::allocator, std::allocator > > >&, bool&, bool&) [clone .constprop.0] (ctxt=3D..., die=3Ddie@entry=3D0x7ffff62008f0, where_offset=3Dwhere_offset@entry=3D0, pretty_print=3Dpretty_print@entry=3D= true,=20 return_type_name=3D"void", class_name=3D"", parm_names=3Dstd::vector of= length 1, capacity 1 =3D {...}, is_const=3D@0x7ffff62006c0: false, is_static=3D@0x7ff= ff62006bc: false) at ../../../libabigail/src/abg-dwarf-reader.cc:9716 #20 0x00007ffff7e1c971 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62008f0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9428 #21 0x00007ffff7e1cfd3 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff6200ae0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9265 #22 0x00007ffff7e1cd42 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62010a0, where_offset=3D) at ../../../libabigail/src/abg-dwarf-reader.cc:9362 #23 0x00007ffff7e10336 in abigail::dwarf_reader::read_context::get_die_qualified_type_name (this=3D0x7fffe8001000, die=3D0x7ffff62010a0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3330 #24 0x00007ffff7e1e4fc in abigail::dwarf_reader::die_pretty_print_type (ctxt=3D..., die=3D0x7ffff62010a0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9929 #25 0x00007ffff7e0f008 in abigail::dwarf_reader::die_pretty_print (where_offset=3D0, die=3D, ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:10102 #26 abigail::dwarf_reader::read_context::get_die_pretty_representation (this=3D0x7fffe8001000, die=3D, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3410 #27 0x00007ffff7e73661 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, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::vector, std::allocator >, std::allocator, std::allocator > > >&, bool&, bool&) [clone .constprop.0] (ctxt=3D..., die=3Ddie@entry=3D0x7ffff62013e0, where_offset=3Dwhere_offset@entry=3D0, pretty_print=3Dpretty_print@entry=3D= true,=20 return_type_name=3D"void", class_name=3D"", parm_names=3Dstd::vector of= length 1, capacity 1 =3D {...}, is_const=3D@0x7ffff62011b0: false, is_static=3D@0x7ff= ff62011ac: false) at ../../../libabigail/src/abg-dwarf-reader.cc:9716 #28 0x00007ffff7e1c971 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62013e0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9428 #29 0x00007ffff7e1cfd3 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62015d0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9265 #30 0x00007ffff7e1cd42 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff6201b90, where_offset=3D) at ../../../libabigail/src/abg-dwarf-reader.cc:9362 #31 0x00007ffff7e10336 in abigail::dwarf_reader::read_context::get_die_qualified_type_name (this=3D0x7fffe8001000, die=3D0x7ffff6201b90, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3330 #32 0x00007ffff7e1e4fc in abigail::dwarf_reader::die_pretty_print_type (ctxt=3D..., die=3D0x7ffff6201b90, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9929 #33 0x00007ffff7e0f008 in abigail::dwarf_reader::die_pretty_print (where_offset=3D0, die=3D, ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:10102 #34 abigail::dwarf_reader::read_context::get_die_pretty_representation (this=3D0x7fffe8001000, die=3D, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3410 #35 0x00007ffff7e73661 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, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::vector, std::allocator >, std::allocator, std::allocator > > >&, bool&, bool&) [clone .constprop.0] (ctxt=3D..., die=3Ddie@entry=3D0x7ffff6201ed0, where_offset=3Dwhere_offset@entry=3D0, pretty_print=3Dpretty_print@entry=3D= true,=20 return_type_name=3D"void", class_name=3D"", parm_names=3Dstd::vector of= length 1, capacity 1 =3D {...}, is_const=3D@0x7ffff6201ca0: false, is_static=3D@0x7ff= ff6201c9c: false) at ../../../libabigail/src/abg-dwarf-reader.cc:9716 #36 0x00007ffff7e1c971 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff6201ed0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9428 #37 0x00007ffff7e1cfd3 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62020c0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9265 #38 0x00007ffff7e1cd42 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff6202680, where_offset=3D) at ../../../libabigail/src/abg-dwarf-reader.cc:9362 #39 0x00007ffff7e10336 in abigail::dwarf_reader::read_context::get_die_qualified_type_name (this=3D0x7fffe8001000, die=3D0x7ffff6202680, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3330 #40 0x00007ffff7e1e4fc in abigail::dwarf_reader::die_pretty_print_type (ctxt=3D..., die=3D0x7ffff6202680, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9929 #41 0x00007ffff7e0f008 in abigail::dwarf_reader::die_pretty_print (where_offset=3D0, die=3D, ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:10102 #42 abigail::dwarf_reader::read_context::get_die_pretty_representation (this=3D0x7fffe8001000, die=3D, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3410 #43 0x00007ffff7e73661 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, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::vector, std::allocator >, std::allocator, std::allocator > > >&, bool&, bool&) [clone .constprop.0] (ctxt=3D..., die=3Ddie@entry=3D0x7ffff62029c0, where_offset=3Dwhere_offset@entry=3D0, pretty_print=3Dpretty_print@entry=3D= true,=20 return_type_name=3D"void", class_name=3D"", parm_names=3Dstd::vector of= length 1, capacity 1 =3D {...}, is_const=3D@0x7ffff6202790: false, is_static=3D@0x7ff= ff620278c: false) at ../../../libabigail/src/abg-dwarf-reader.cc:9716 #44 0x00007ffff7e1c971 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff62029c0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9428 #45 0x00007ffff7e1cfd3 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff6202bb0, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9265 #46 0x00007ffff7e1cd42 in abigail::dwarf_reader::die_qualified_type_name (ctxt=3D..., die=3D0x7ffff6203170, where_offset=3D) at ../../../libabigail/src/abg-dwarf-reader.cc:9362 #47 0x00007ffff7e10336 in abigail::dwarf_reader::read_context::get_die_qualified_type_name (this=3D0x7fffe8001000, die=3D0x7ffff6203170, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3330 #48 0x00007ffff7e1e4fc in abigail::dwarf_reader::die_pretty_print_type (ctxt=3D..., die=3D0x7ffff6203170, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:9929 #49 0x00007ffff7e0f008 in abigail::dwarf_reader::die_pretty_print (where_offset=3D0, die=3D, ctxt=3D...) at ../../../libabigail/src/abg-dwarf-reader.cc:10102 #50 abigail::dwarf_reader::read_context::get_die_pretty_representation (this=3D0x7fffe8001000, die=3D, where_offset=3D0) at ../../../libabigail/src/abg-dwarf-reader.cc:3410 --=20 You are receiving this mail because: You are on the CC list for the bug.=