From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 972063857804; Mon, 30 Nov 2020 06:12:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 972063857804 From: "dodji at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/26908] libabigail's dwarf reader crashes while scanning a DW_TAG_partial_unit with no child node Date: Mon, 30 Nov 2020 06:12:59 +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: normal X-Bugzilla-Who: dodji at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 short_desc 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 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: Mon, 30 Nov 2020 06:12:59 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26908 dodji at redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Summary|abidw --abidiff |libabigail's dwarf reader |/lib64/libclang-cpp.so.11 |crashes while scanning a |crashes in dwarf_dieoffset |DW_TAG_partial_unit with no | |child node Status|NEW |RESOLVED --- Comment #5 from dodji at redhat dot com --- Okay, it turned out this wasn't that difficult to handle after all :-) This should be fixed by patch https://sourceware.org/git/?p=3Dlibabigail.git;a=3Dcommit;h=3D2417efb2b7619= ed2a2bd089d267833ee9d171eea, applied to the master branch. Note that just doing abidw --noout on the libclang-cpp.so binary takes 19 minutes and 11GB of RAM to complete. The full abidw --abidiff takes 5 hour= s to complete on a power7 box here. As I said in my comment earlier, it would t= ake a separate "project" to bring those numbers down for binaries with such a *huge* ABI surface as clang and the likes. Thanks for reporting this issue! --=20 You are receiving this mail because: You are on the CC list for the bug.=