From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/29346] New: SIGFPE when doing abipkgdiff --self-check of aisleriot-debuginfo-3.22.21-1.fc36.aarch64.rpm
Date: Sat, 09 Jul 2022 19:02:55 +0000 [thread overview]
Message-ID: <bug-29346-9487@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=29346
Bug ID: 29346
Summary: SIGFPE when doing abipkgdiff --self-check of
aisleriot-debuginfo-3.22.21-1.fc36.aarch64.rpm
Product: libabigail
Version: unspecified
Status: NEW
Severity: minor
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 is a strange one, it looks like there is an unhandled situation reading
the ELF file.
$ gdb `which abipkgdiff`
(gdb) set args --self-check --d1
/home/ben/.cache/fedabipkgdiff/downloads/aisleriot-debuginfo-3.22.21-1.fc36.aarch64.rpm
/home/ben/.cache/fedabipkgdiff/downloads/aisleriot-3.22.21-1.fc36.aarch64.rpm
(gdb) r
Starting program: /home/ben/Shared/Work/test/libabigail-x86_64/bin/abipkgdiff
--self-check --d1
/home/ben/.cache/fedabipkgdiff/downloads/aisleriot-debuginfo-3.22.21-1.fc36.aarch64.rpm
/home/ben/.cache/fedabipkgdiff/downloads/aisleriot-3.22.21-1.fc36.aarch64.rpm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff71ff640 (LWP 3130292)]
[New Thread 0x7ffff69fe640 (LWP 3130293)]
[Detaching after vfork from child process 3130295]
[Detaching after vfork from child process 3130294]
[Thread 0x7ffff71ff640 (LWP 3130292) exited]
[Thread 0x7ffff69fe640 (LWP 3130293) exited]
[Detaching after vfork from child process 3130302]
Thread 1 "abipkgdiff" received signal SIGFPE, Arithmetic exception.
0x00007ffff7e37aa3 in abigail::dwarf_reader::get_soname_of_elf_file
(path="/home/ben/.cache/libabigail/abipkgdiff-tmp-dir-ipFB18/package1/usr/lib64/aisleriot/guile/3.0/yield.go",
soname="") at ../../../libabigail/src/abg-dwarf-reader.cc:16638
16638 ? shdr->sh_size / shdr->sh_entsize : INT_MAX);
(gdb) bt
#0 0x00007ffff7e37aa3 in abigail::dwarf_reader::get_soname_of_elf_file (
path="/home/ben/.cache/libabigail/abipkgdiff-tmp-dir-ipFB18/package1/usr/lib64/aisleriot/guile/3.0/yield.go",
soname="")
at ../../../libabigail/src/abg-dwarf-reader.cc:16638
#1 0x00000000004136e1 in elf_file::elf_file (
path="/home/ben/.cache/libabigail/abipkgdiff-tmp-dir-ipFB18/package1/usr/lib64/aisleriot/guile/3.0/yield.go",
this=0x43e240)
at ../../../libabigail/tools/abipkgdiff.cc:289
#2 create_maps_of_package_content (opts=..., package=...) at
../../../libabigail/tools/abipkgdiff.cc:2357
#3 extract_package_and_map_its_content (pkg=std::shared_ptr<package> (use
count 3, weak count 0) = {...}, opts=...)
at ../../../libabigail/tools/abipkgdiff.cc:2529
#4 0x0000000000409093 in prepare_package (opts=...,
pkg=std::shared_ptr<package> (use count 3, weak count 0) = {...})
at ../../../libabigail/tools/abipkgdiff.cc:2592
#5 compare_to_self (opts=..., pkg=std::shared_ptr<package> (use count 3, weak
count 0) = {...}) at ../../../libabigail/tools/abipkgdiff.cc:3184
#6 main (argc=<optimized out>, argv=<optimized out>) at
../../../libabigail/tools/abipkgdiff.cc:3694
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2022-07-09 19:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-09 19:02 woodard at redhat dot com [this message]
2022-07-09 20:13 ` [Bug default/29346] " mark at klomp dot org
2022-07-09 20:29 ` mark at klomp dot org
2022-07-20 9:35 ` mark at klomp dot org
2022-07-26 20:17 ` woodard at redhat dot com
2022-07-28 22:01 ` woodard at redhat dot com
2022-07-29 22:51 ` woodard at redhat dot com
2022-07-29 23:21 ` woodard at redhat dot com
2022-10-14 18:53 ` 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-29346-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).