From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BE1F8385AC0A; Thu, 18 Nov 2021 10:22:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE1F8385AC0A From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/28604] New: x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed. Date: Thu, 18 Nov 2021 10:22:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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, 18 Nov 2021 10:22:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28604 Bug ID: 28604 Summary: x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed. Product: gdb Version: 11.1 Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- [ FWIW, the internal-error from $subject has the same message as PR24454. ] On OBS I noticed this: ... (gdb) PASS: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=3Dhost: target-non-stop=3Don: non-stop=3Don: displaced=3Doff: iter 3: inferior 1 attach 16633^M Attaching to program: /usr/src/packages/BUILD/gdb-11.1/build-x86_64-suse-linux/gdb/testsuite.unix= .-m64.-fPIE.-pie/outputs/gdb.threads/detach-step-over/detach-step-over, process 16633^M [New LWP 16649]^M [New LWP 16652]^M [New LWP 16653]^M [New LWP 16654]^M [New LWP 16655]^M [New LWP 16656]^M [New LWP 16657]^M [New LWP 16659]^M [New LWP 16660]^M [New LWP 16661]^M ../../gdb/infrun.c:5886: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Quit this debugging session? (y or n) FAIL: gdb.threads/detach-step-over.ex= p: breakpoint-condition-evaluation=3Dhost: target-non-stop=3Don: non-stop=3Don: displaced=3Doff: iter 3: attach (GDB internal error) Resyncing due to internal error. n^M ^M This is a bug, please report it. For instructions, see:^M .^M ^M ../../gdb/infrun.c:5886: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Create a core file of GDB? (y or n) n^M Command aborted.^M (gdb) ../../gdb/infrun.c:5886: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Quit this debugging session? (y or n) n^M ^M This is a bug, please report it. For instructions, see:^M .^M ^M ../../gdb/infrun.c:5886: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Create a core file of GDB? (y or n) n^M Command aborted.^M (gdb) ../../gdb/infrun.c:5886: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Quit this debugging session? (y or n) n^M ^M This is a bug, please report it. For instructions, see:^M .^M ^M ../../gdb/infrun.c:5886: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Create a core file of GDB? (y or n) n^M Command aborted.^M (gdb) ../../gdb/nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp= )' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Quit this debugging session? (y or n) n^M ^M This is a bug, please report it. For instructions, see:^M .^M ^M ../../gdb/nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp= )' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M Create a core file of GDB? (y or n) ERROR: Could not resync from internal e= rror (resync count exceeded) killing 16633 ... So, we run into the internal error of PR26284, hit "Command aborted" and run into the same internal-error again. This repeats a couple of times, until = we hit a new internal-error, the one in $subject. --=20 You are receiving this mail because: You are on the CC list for the bug.=