From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C70AA3857C71; Fri, 16 Apr 2021 20:14:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C70AA3857C71 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/11967] ../../src/gdb/thread.c:583: internal-error: set_running: Assertion `tp->state_ != THREAD_EXITED' failed. Date: Fri, 16 Apr 2021 20:14:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca 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: 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: Fri, 16 Apr 2021 20:14:47 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D11967 --- Comment #4 from Simon Marchi --- (In reply to Simon Marchi from comment #2) > This still exists today. I did >=20 > ./gdb -nx -q --data-directory=3Ddata-directory t -ex "catch exec" -ex "set > follow-exec-mode new" -ex "set non-stop on" -ex "run" >=20 > Where t is compiled from the following program: >=20 > #include > #include > #include >=20 > int > main (void) > { > char *exec_args[] =3D { "/bin/ls", "ppp", NULL }; > execve (exec_args[0], exec_args, NULL); > } This toy test case passes now, I bisected and the failure disappeared with 080363310650c93ad8e93018bcb6760ba5d32d1c Per-inferior thread list, thread ranges/iterators, down with ALL_THREADS, etc.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 Do you want to try your original reproducer again, or can this be closed? --=20 You are receiving this mail because: You are on the CC list for the bug.=