From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0DB63987878; Wed, 11 Nov 2020 09:31:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0DB63987878 From: "gprocida+abigail at google dot com" To: libabigail@sourceware.org Subject: [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 Date: Wed, 11 Nov 2020 09:31:09 +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: gprocida+abigail at google dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: gprocida+abigail at google dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Wed, 11 Nov 2020 09:31:09 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26771 --- Comment #9 from Giuliano Procida -= -- I got as far as finding the scopes / canonical types weren't looking right. This is with the libabigail.so to start off with. In particular, typedef std::allocator_traits >::allocator_type was not a canonical type in the scope containing ...::size_type and was bei= ng omitted from the XML. I also found I was getting 2 scopes / classes for the same thing. With your commit (and my debug output), I see that while allocator_type is = now being emitted, the type has been split into two separate scopes: typedef std::allocator_traits >::const_pointer typedef std::allocator_traits >::difference_type typedef std::allocator_traits >::value_type typedef std::allocator_traits >::const_void_pointer typedef std::allocator_traits >::size_type typedef std::allocator_traits >::pointer and typedef std::allocator_traits >::rebind_alloc typedef std::allocator_traits >::allocator_type Anyway, this is almost certainly a duplicate of what you're looking at. I'll leave libabigail.so to you and see if I can make progress on libclang-cpp.so which is the real subject of this bug. --=20 You are receiving this mail because: You are on the CC list for the bug.=