From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F2B83385734A; Sat, 9 Jul 2022 19:02:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2B83385734A From: "woodard at redhat dot com" 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 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: minor 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: Sat, 09 Jul 2022 19:02:56 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29346 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.r= pm (gdb) r Starting program: /home/ben/Shared/Work/test/libabigail-x86_64/bin/abipkgdi= ff --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.r= pm [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=3D"/home/ben/.cache/libabigail/abipkgdiff-tmp-dir-ipFB18/package1/usr= /lib64/aisleriot/guile/3.0/yield.go", soname=3D"") at ../../../libabigail/src/abg-dwarf-reader.cc:16638 16638 ? shdr->sh_size / shdr->sh_entsize : INT_MA= X); (gdb) bt #0 0x00007ffff7e37aa3 in abigail::dwarf_reader::get_soname_of_elf_file ( =20=20=20 path=3D"/home/ben/.cache/libabigail/abipkgdiff-tmp-dir-ipFB18/package1/usr/= lib64/aisleriot/guile/3.0/yield.go", soname=3D"") at ../../../libabigail/src/abg-dwarf-reader.cc:16638 #1 0x00000000004136e1 in elf_file::elf_file ( =20=20=20 path=3D"/home/ben/.cache/libabigail/abipkgdiff-tmp-dir-ipFB18/package1/usr/= lib64/aisleriot/guile/3.0/yield.go", this=3D0x43e240) at ../../../libabigail/tools/abipkgdiff.cc:289 #2 create_maps_of_package_content (opts=3D..., package=3D...) at ../../../libabigail/tools/abipkgdiff.cc:2357 #3 extract_package_and_map_its_content (pkg=3Dstd::shared_ptr (use count 3, weak count 0) =3D {...}, opts=3D...) at ../../../libabigail/tools/abipkgdiff.cc:2529 #4 0x0000000000409093 in prepare_package (opts=3D..., pkg=3Dstd::shared_ptr (use count 3, weak count 0) =3D {...}) at ../../../libabigail/tools/abipkgdiff.cc:2592 #5 compare_to_self (opts=3D..., pkg=3Dstd::shared_ptr (use count = 3, weak count 0) =3D {...}) at ../../../libabigail/tools/abipkgdiff.cc:3184 #6 main (argc=3D, argv=3D) at ../../../libabigail/tools/abipkgdiff.cc:3694 (gdb) --=20 You are receiving this mail because: You are on the CC list for the bug.=