public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [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.
@ 2021-11-18 10:22 vries at gcc dot gnu.org
  2022-11-29 20:44 ` [Bug gdb/28604] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-11-18 10:22 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28604

            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=host: target-non-stop=on: non-stop=on:
displaced=off: 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.exp:
breakpoint-condition-evaluation=host: target-non-stop=on: non-stop=on:
displaced=off: 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
<http://bugs.opensuse.org/>.^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
<http://bugs.opensuse.org/>.^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
<http://bugs.opensuse.org/>.^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
<http://bugs.opensuse.org/>.^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 error
(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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/28604] x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed.
  2021-11-18 10:22 [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 vries at gcc dot gnu.org
@ 2022-11-29 20:44 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-11-29 20:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28604

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Maybe a dup of bug #26284?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-29 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 10:22 [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 vries at gcc dot gnu.org
2022-11-29 20:44 ` [Bug gdb/28604] " tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).