From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3782C3858D34; Sat, 23 Nov 2024 22:57:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3782C3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1732402633; bh=LDbrSHizkrXjmokaJubj9BiKzwxERJLebvtZS1yYHV0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ewm/BBMEahbWxj9/GT+YWoRh+quK4+eJDQ9ANu3eyujGid07RoD59mpX+3lJ7JwjV a/DBfd6HTfWlwKpAwZsamVrY1nOYqyMuB9vPb112oBzeVMRzg9Fr194V/+cliZaTXZ B7XFjo/lhzxN3HblevQNMEp8NzCRx0bV3pBW2+lA= From: "grazfather at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug remote/31303] attach calls python hooks which can crash gdb Date: Sat, 23 Nov 2024 22:57:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: grazfather at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31303 --- Comment #2 from grazfather at gmail dot com --- Just confirmed that this issue still exists on GDB 15.2. =E2=9D=AF gdb -q --nx --ex "source hook_attach.py" --ex "tar ext x:1234" --= ex "attach 1608809"Remote debugging using x:1234 Attaching to process 1608809 ../../gdb/thread.c:87: internal-error: inferior_thread: Assertion `current_thread_ !=3D nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ----- Backtrace ----- --------------------- ../../gdb/thread.c:87: internal-error: inferior_thread: Assertion `current_thread_ !=3D nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y This is a bug, please report it. For instructions, see: . ../../gdb/thread.c:87: internal-error: inferior_thread: Assertion `current_thread_ !=3D nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n --=20 You are receiving this mail because: You are on the CC list for the bug.=