public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29346] New: SIGFPE when doing abipkgdiff --self-check of aisleriot-debuginfo-3.22.21-1.fc36.aarch64.rpm
@ 2022-07-09 19:02 woodard at redhat dot com
  2022-07-09 20:13 ` [Bug default/29346] " mark at klomp dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: woodard at redhat dot com @ 2022-07-09 19:02 UTC (permalink / raw)
  To: libabigail

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.

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

end of thread, other threads:[~2022-10-14 18:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-09 19:02 [Bug default/29346] New: SIGFPE when doing abipkgdiff --self-check of aisleriot-debuginfo-3.22.21-1.fc36.aarch64.rpm woodard at redhat dot com
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

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