From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A4F7385B526; Thu, 1 Dec 2022 10:31:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A4F7385B526 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669890717; bh=OhH1x+qhrQrL7FjE81SbO69sqa7OGEbeCKPN1dEUP+w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SveAz/gWbm2bVbMUTod3gz1+lG88GreVplBeljt1qnMHjagDGY0mQn9PHx+lEidAU pH0oRp/zPF/Wj7Py+QV2aPaBaJurYqUAVIy3uScpo4ba+e5EYvKPFkC6TTmhhX5UhE AkiKlhIUWXl2dGaV6t48iJf7h7jdxM7IKyNkZNGM= From: "dodji at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/29829] abidiff coredump at abg-dwarf-reader.cc when read libxul.so Date: Thu, 01 Dec 2022 10:31:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: dodji at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: NOTABUG X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29829 dodji at redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTABUG Status|UNCONFIRMED |RESOLVED --- Comment #3 from dodji at redhat dot com --- I looked into this with the latest commit on the master branch: 4bdaf30b dwarf-reader: Avoid duplicating member functions Here is the correct way to use libabigail's abidiff on this. Create a directory named firefox-91.13.0-1.el7.centos.x86_64. cd into that directory. Unpack the packages firefox-91.13.0-1.el7.centos.x86_64.rpm AND firefox-debuginfo-91.13.0-1.el7.centos.x86_64.rpm into that directory. Then, run abidiff against usr/lib64/firefox/libxul.so (not the .debug file). You just have to tell abidiff where the debug info is using the --d{1,2} option. Where to find the debug info is the usr/lib/debug directory. So, here is the command line. [dodji@box firefox-91.13.0-1.el7.centos.x86_64]$ /usr/bin/time -v build/tools/abidiff --d1 usr/lib/debug --d2 usr/lib/debug usr/lib64/firefox/libxul.so usr/lib64/firefox/libxul.so Command being timed: "~/git/libabigail/master/build/tools/abidiff -= -d1 usr/lib/debug --d2 usr/lib/debug usr/lib64/firefox/libxul.so usr/lib64/firefox/libxul.so" User time (seconds): 2717.90 System time (seconds): 28.44 Percent of CPU this job got: 99% Elapsed (wall clock) time (h:mm:ss or m:ss): 45:46.45 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 45826624 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 3 Minor (reclaiming a frame) page faults: 22636614 Voluntary context switches: 47 Involuntary context switches: 3442 Swaps: 0 File system inputs: 12728 File system outputs: 1280 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 65536 Exit status: 0 [dodji@box firefox-91.13.0-1.el7.centos.x86_64]$ So, things appears to work correctly as far as I can tell. Thanks for taking time to report this. --=20 You are receiving this mail because: You are on the CC list for the bug.=