From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id oPaOI0PWHGlgqxAAWB0awg (envelope-from ) for ; Tue, 18 Nov 2025 15:25:39 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=nXcMbJdc; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 736BC1E0B6; Tue, 18 Nov 2025 15:25: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 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 CDEB51E048 for ; Tue, 18 Nov 2025 15:25:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6D3F43857039 for ; Tue, 18 Nov 2025 20:25:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D3F43857039 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1763497538; bh=y/5zSPCwvSV9rmCU+vyJL+cOmP/O9/VTEafYyZ94MvQ=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nXcMbJdc/ZJ7GPBAcxglmSRm5PVUpIpSBPhKxDNr7kwip2pJ3MTGoI5MzO0OLVFfE B7EB/oyotAe7acMK8wUMPvhgOvgEnXk463+pvl1vmnnb+efgC1DMc2jOqIFsZqTckj nwpqIiNswL5foL9yEugUjORV0uh/XThCXFR0QNLs= Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id BD0E03858C98 for ; Tue, 18 Nov 2025 20:24:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD0E03858C98 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BD0E03858C98 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763497491; cv=none; b=aC7hvi3e5zXNSWxZVj130APGGSSmTROweFcohNLsEwVYAyTmadk0f9C6+Juo1YheqZyhsL/IbZsw3ohvgJXQOVChYdCBNJAEDHv07rRIP0Xxp41s7RrgMjCvvemwcJmOFOpVBPTX+r9nc9aHOJa4/0YSumMuLeEePjrrz8oOnjI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763497491; c=relaxed/simple; bh=OFryNNPZERfbci8l50UnJZ10Df/aIl5k+A6K5Zwq8ms=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=BV29XuUoMFKDBgGrPYwLBaBfYsSkpL6B+RgqnpSVFxC/Xoo5VkrjDVKeOGQ96cLalvSr4ZEBJCw633CF0BotEJH2sucnMv9V2ZwrnBBsuxHXpPUwgEtsTiiV+M2Nir/Md8XzFCmWFQdHnw5BUfHMl81HdGBeMR+mGnPXm4Qrf7M= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD0E03858C98 Received: by simark.ca (Postfix) id 17A181E048; Tue, 18 Nov 2025 15:24:50 -0500 (EST) Message-ID: Date: Tue, 18 Nov 2025 15:24:50 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: GDB 15/16 crashing in add_thread_silent() To: psmith@gnu.org, Tom Tromey , gdb@sourceware.org References: <78bf54fc9dfbb57d3434d8435e94b091e1fa6785.camel@gnu.org> <9a1b77f25cab8eb7433476918a9c5be29091856c.camel@gnu.org> <24d8355f-0233-4fbd-ac6e-8cda3f61916e@simark.ca> <87seegtlsg.fsf@tromey.com> <6c6b248a1b5385f0fec590e475934d207d7ef71e.camel@gnu.org> <0acb00caa135109f9994faaf97753b0024af8072.camel@gnu.org> <87h5urry0c.fsf@tromey.com> <8c367ecdc19782c16d9631d62b26635200e849f8.camel@gnu.org> Content-Language: fr In-Reply-To: <8c367ecdc19782c16d9631d62b26635200e849f8.camel@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Simon Marchi via Gdb Reply-To: Simon Marchi Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 11/18/25 2:30 PM, Paul Smith via Gdb wrote: > On Tue, 2025-11-18 at 11:33 -0700, Tom Tromey wrote: >>>>>>> "Paul" == Paul Smith via Gdb writes: >> >> [...] >> Paul> So, there appears to be some difference in binutils where it can't >> Paul> parse this core file properly...? >> >> Yes, interesting find. >> Unfortunately the next step is probably to bisect binutils to find >> the offending patch. Or I guess debug and try to find what's going >> wrong. > > Yeah. Unfortunately I will need to gird myself for that and I have a > lot of other things happening. Bisecting will be a big job since we're > jumping from binutils 2.30 (known to work) to binutils 2.43 (known to > not work). > > It's probably worthwhile making some effort at debugging, to try to > narrow down the locations in the code to consider during bisecting. It > looks like somehow we cannot determine the PID / TID properly in this > core file in newer binutils, while the older binutils can still dig it > out. Unfortunately I've never looked at any of this code before but > hopefully it will be tractable. > > Maybe this weekend I can spend a bit of time on this. The beauty of bisecting is that the number of steps grows logarthmically with the number of commits, so it's not that long :). If you are allowed to share the core file, I wouldn't mind giving it a try. Bisecting stuff is one of my favorite pastimes. Simo