From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id /swYB5vJHGm2hhAAWB0awg (envelope-from ) for ; Tue, 18 Nov 2025 14:31: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=IKQsXeWT; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 0DC4A1E0B6; Tue, 18 Nov 2025 14:31: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 586651E048 for ; Tue, 18 Nov 2025 14:31:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E2FC2385AC1E for ; Tue, 18 Nov 2025 19:31:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2FC2385AC1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1763494297; bh=K9sWKIYQLvIYwGvkGxxYmvM6GLcrEkh7BKCSi4AXG2g=; h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=IKQsXeWTk1Ubv/54YLwBw+DW0ICqEkDbJUyDsWm4TKpncBC+zgP/ebfYBCdodKIXi Lb2taXWQ3hEyB6bBXF4NSRFoVLCFaR8xrXwbN7SjXt/H7mJMi/RT5XrQHy7za7050i PKmMx8ZATbnLfGuF3IWnWpYkcTXwsmmrDvAKgBTY= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 24DED3858C98 for ; Tue, 18 Nov 2025 19:30:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 24DED3858C98 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 24DED3858C98 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763494249; cv=none; b=uWMP3ASPLPyaiTSV4PnNLcM9LhmIHAuyd0QeG8iaY6sxNYuSO/rEb8DzLv3LFj/D7lYVaabgIU5GOT4/xOxCxelebCbl9NhJe9C2ykRfAk0go5rgpGes5y3IsfGzRo2NUoob+Kds+ElzOlEeUkYLKUnOinlNA+kzR9C8+pSa1Io= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763494249; c=relaxed/simple; bh=9q7WUbEgOaztB5Zoc9mznL1y9WHK96zB1vnvdWdY7S4=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=v5q4uLABT9HVr7ZLSZnEoxlQfx4uoOK0cOk9NwZcSeYV/UK2n9frd6hBxGA6zhkG/aBlgYr6AHB1QkeUA2gzlz1rRDilHGmGAFXm7BgYM7l1uiLsSICFAnJey5lBCH4b1QvEdHyhfj/VIjbedLb6HvHYwloX6z1saUhV1FP4cP8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24DED3858C98 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vLRPc-0002OK-Gg; Tue, 18 Nov 2025 14:30:48 -0500 Message-ID: <8c367ecdc19782c16d9631d62b26635200e849f8.camel@gnu.org> Subject: Re: GDB 15/16 crashing in add_thread_silent() To: Tom Tromey , gdb@sourceware.org Date: Tue, 18 Nov 2025 14:30:47 -0500 In-Reply-To: <87h5urry0c.fsf@tromey.com> 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> Organization: GNU's Not UNIX! Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.1 (by Flathub.org) MIME-Version: 1.0 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: Paul Smith via Gdb Reply-To: psmith@gnu.org Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Tue, 2025-11-18 at 11:33 -0700, Tom Tromey wrote: > > > > > > "Paul" =3D=3D Paul Smith via Gdb writes: >=20 > [...] > Paul> So, there appears to be some difference in binutils where it can't > Paul> parse this core file properly...? >=20 > Yes, interesting find. > Unfortunately the next step is probably to bisect binutils to find > the offending patch.=C2=A0 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.