public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.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	[thread overview]
Message-ID: <bug-28604-4717@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2021-11-18 10:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 10:22 vries at gcc dot gnu.org [this message]
2022-11-29 20:44 ` [Bug gdb/28604] " tromey at sourceware dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28604-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).