From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 29FEC3858C39; Thu, 16 Sep 2021 01:24:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29FEC3858C39 From: "parke.nexus at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug remote/24825] find_inferior_pid(int): Assertion `pid != 0' failed for valrgind target Date: Thu, 16 Sep 2021 01:24:11 +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: 8.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: parke.nexus at gmail dot com X-Bugzilla-Status: NEW 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: cc 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: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2021 01:24:12 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24825 Parke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |parke.nexus at gmail dot c= om --- Comment #2 from Parke --- Possibly related: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27682 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26761 Fyi, the error message changes depending on the version of gdb. With version 9.2 (Ubuntu 20.04): /build/gdb-OxeNvS/gdb-9.2/gdb/inferior.c:283: internal-error: inferior* find_inferior_pid(int): Assertion `pid !=3D 0' failed. With version 10.2 (Arch Linux): ../../gdb/thread.c:95: internal-error: thread_info* inferior_thread(): Assertion `current_thread_ !=3D nullptr' failed. --=20 You are receiving this mail because: You are on the CC list for the bug.=