From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wXIbL29XnGmXMQcAWB0awg (envelope-from ) for ; Mon, 23 Feb 2026 08:34:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1771853679; bh=E0WLev1VTqiOnFiCPN+bStrLQo1EKW9LKl/nb2pByyI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=qvEIYMtFWbjleWtGXhtqZToPTK2S2dhjwFU1FrVkJjWsbLIikz2Xzi10q67ZOPcMg lGSU+EqyZYJW9wzW2VRZNDF8t3EWxKiXfV7kEJ44gb4ZJG4A5lmY5B4kpZ/gtmHL8A 6CDt6+8MieQQluS1Ihrz96W7xa3RY8S5loLerfvQ= Received: by simark.ca (Postfix, from userid 112) id AF4C11E089; Mon, 23 Feb 2026 08:34:39 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=m4I3mmUt; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8F9821E089 for ; Mon, 23 Feb 2026 08:34:38 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id CCB114BA23F4 for ; Mon, 23 Feb 2026 13:34:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCB114BA23F4 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=m4I3mmUt Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 550EA4BA2E13 for ; Mon, 23 Feb 2026 13:34:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 550EA4BA2E13 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 550EA4BA2E13 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771853651; cv=none; b=Ci4bDHFDHt989U9b0pcXqpeNPukGVImURHZdzW7sIONMUsR3svUn4iy8CMM6old970wBQQ+Zuoj3c1q9vqaeq89H39SR9ZLnXif9DE6RbXhK+JRdAQgXH1bnNXclQdsg+qHmpW410Qcd1vte/x8Z6PDRim8siMDuI2pjCoF38ZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771853651; c=relaxed/simple; bh=E0WLev1VTqiOnFiCPN+bStrLQo1EKW9LKl/nb2pByyI=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=SVaXsCrAGmRAfBma7BbWPbl5J80q6ZqUjhsj6zSnfyIQ+cf7JsrQUdMUwN5tJd2H4ts6GGjp4HtBV4AxYJ6MaYdGQS1gh44RvPxW5zoWh7fr95YeKLiXFbTvbNNZLNOMkLByPlAngNy4eTDjxoGNNIExfTO9v8hEVGmv0s7uf20= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 550EA4BA2E13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1771853649; bh=E0WLev1VTqiOnFiCPN+bStrLQo1EKW9LKl/nb2pByyI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=m4I3mmUtWqmkRgtfHHbk9fi5SO76daPc7H/9OeUH+8IvM5eg27u3D5wD/Ejnb2oUm b0+O8RXFF1SgMKbOSdHoNulYEgZV2rJQkoIpAPbuAFWDUkvQTVjk35/PvlcXU358hl kAdqkwJwCeTPSsAkg+m/yv5lZ6smR7eaNlidfm2k= Received: by simark.ca (Postfix) id AACA11E089; Mon, 23 Feb 2026 08:34:09 -0500 (EST) Message-ID: <79a477ec-dace-4893-9145-be2a0ccd6cd1@simark.ca> Date: Mon, 23 Feb 2026 08:34:09 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/8] Correctly handle inline functions with dwz To: Sam James , Tom Tromey Cc: gdb-patches@sourceware.org, Eli Zaretskii References: <20260220-dw-inline-fixup-pr-symtab-30728-2-v3-0-98ae8ab28fab@tromey.com> <87ldgjmvtv.fsf@gentoo.org> Content-Language: en-US From: Simon Marchi In-Reply-To: <87ldgjmvtv.fsf@gentoo.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 2026-02-23 08:30, Sam James wrote: > Tom Tromey writes: > >> The new indexer does not correctly handle inline functions when 'dwz' >> is used to compress the DWARF. This series fixes the bug, cleaning up >> a number of other things on the way. >> >> I've separately regression tested each patch in this series on x86-64 >> Fedora 41. I've also regression tested the series as a whole with the >> dwz, gdb-index, and debug-names boards. >> >> Even with that I messed up somehow, so v1 didn't actually fix the bug >> in question. I must have modified the patches after testing..? >> >> Anyway in v2 I've moved the line recording the CU inclusion and added >> a comment explaining the placement. I re-ran the aformentioned tests >> and didn't touch anything. > > With this, I get a crash when creating an index: > ``` > $ /usr/bin/gdb --batch -nx -iex set\ auto-load\ no -iex set\ debuginfod\ > enabled\ off -ex file\ > \'/var/tmp/portage/dev-debug/gdb-9999/image/usr/bin/gdb\' -ex save\ > gdb-index\ -dwarf-5\ > \'/var/tmp/portage/dev-debug/gdb-9999/image/usr/bin\' > dwarf2/index-write.c:818: internal-error: build: Assertion `offset_inserted' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > ----- Backtrace ----- > 0x561db97db67e ??? > 0x561db9fd8a04 ??? > 0x561dba59b487 ??? > 0x561db9918fe0 ??? > 0x561db991fb47 ??? > 0x561db9927e99 ??? > 0x561db99282e0 ??? > 0x561db9f12f56 ??? > 0x561db9b6612c ??? > 0x561db9b6cbfb ??? > 0x561db9644baf ??? > 0x7f8b51c03649 ??? > 0x7f8b51c03765 ??? > 0x561db96648d0 ??? > 0xffffffffffffffff ??? > --------------------- > dwarf2/index-write.c:818: internal-error: build: Assertion `offset_inserted' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) [answered Y; input not from terminal] > > This is a bug, please report it. For instructions, see: > . > > dwarf2/index-write.c:818: internal-error: build: Assertion `offset_inserted' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Create a core file of GDB? (y or n) [answered Y; input not from > terminal] > ``` Are you able to share the binary? Simon