public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29897] New: [gdb, powerpc64le] displaced-stepping.c:53: internal-error: prepare: Assertion `buf.current_thread != thread' failed
@ 2022-12-13 10:37 vries at gcc dot gnu.org
  2022-12-13 16:54 ` [Bug gdb/29897] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2022-12-13 10:37 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29897
           Summary: [gdb, powerpc64le] displaced-stepping.c:53:
                    internal-error: prepare: Assertion `buf.current_thread
                    != thread' failed
           Product: gdb
           Version: 12.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

This is in OBS with gdb-12.1 based package, with patches added to reflect
gdb-12-branch:
...
start^M
Temporary breakpoint 2 at 0x10000760: file
/home/abuild/rpmbuild/BUILD/gdb-12.1/gdb/testsuite/gdb.base/run-control-while-bg-execution.c,
line 30.^M
Starting program:
/home/abuild/rpmbuild/BUILD/gdb-12.1/build-ppc64le-suse-linux/gdb/testsuite.unix.-m64.-fno-PIE.-no-pie/outputs/gdb.base/run-control-while-bg-execution/run-control-while-bg-execution
^M
../../gdb/displaced-stepping.c:53: internal-error: prepare: Assertion
`buf.current_thread != thread' failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
----- Backtrace -----^M
FAIL: gdb.base/run-control-while-bg-execution.exp: action1=none: action2=start:
start (GDB internal error)
...

Backtrace:
...
0x10fc38143 gdb_internal_backtrace_1
        ../../gdb/bt-utils.c:122
0x10fc38143 gdb_internal_backtrace()
        ../../gdb/bt-utils.c:168
0x110193b73 internal_vproblem
        ../../gdb/utils.c:394
0x110193daf internal_verror(char const*, int, char const*, char*)
        ../../gdb/utils.c:471
0x1103d656f internal_error(char const*, int, char const*, ...)
        ../../gdbsupport/errors.cc:55
0x10fd0dcc3 displaced_step_buffers::prepare(thread_info*, unsigned long&)
        ../../gdb/displaced-stepping.c:53
0x10ff51743 ppc_linux_displaced_step_prepare
        ../../gdb/ppc-linux-tdep.c:2040
0x10fba6c03 gdbarch_displaced_step_prepare(gdbarch*, thread_info*, unsigned
long&)
        ../../gdb/gdbarch.c:4048
0x10fe38ef7 displaced_step_prepare_throw
        ../../gdb/infrun.c:1675
0x10fe38ef7 displaced_step_prepare
        ../../gdb/infrun.c:1726
0x10fe38ef7 resume_1
        ../../gdb/infrun.c:2377
0x10fe38ef7 resume
        ../../gdb/infrun.c:2569
0x10fe398cf keep_going_pass_signal
        ../../gdb/infrun.c:8077
0x10fe3cc97 process_event_stop_test
        ../../gdb/infrun.c:6966
0x10fe3f7bf handle_signal_stop
        ../../gdb/infrun.c:6420
0x10fe40ebf handle_inferior_event
        ../../gdb/infrun.c:5681
0x10fe420cf fetch_inferior_event()
        ../../gdb/infrun.c:4085
0x10fe15df3 inferior_event_handler(inferior_event_type)
        ../../gdb/inf-loop.c:41
0x10fe6da9b handle_target_event
        ../../gdb/linux-nat.c:4154
0x1103d666f handle_file_event
        ../../gdbsupport/event-loop.cc:574
0x1103d71c3 gdb_wait_for_event
        ../../gdbsupport/event-loop.cc:700
0x1103d7467 gdb_do_one_event()
        ../../gdbsupport/event-loop.cc:212
0x10fea5323 start_event_loop
        ../../gdb/main.c:421
0x10fea5323 captured_command_loop
        ../../gdb/main.c:481
0x10fea73fb captured_main
        ../../gdb/main.c:1356
0x10fea7487 gdb_main(captured_main_args*)
        ../../gdb/main.c:1371
0x10fb0da43 main
        ../../gdb/gdb.c:32
...

-- 
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/29897] [gdb, powerpc64le] displaced-stepping.c:53: internal-error: prepare: Assertion `buf.current_thread != thread' failed
  2022-12-13 10:37 [Bug gdb/29897] New: [gdb, powerpc64le] displaced-stepping.c:53: internal-error: prepare: Assertion `buf.current_thread != thread' failed vries at gcc dot gnu.org
@ 2022-12-13 16:54 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2022-12-13 16:54 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I've exported the package sources, build them on SLE-15-SP3 ppc64le, and ran
the test-case 25 times.  The problem doesn't reproduce.

-- 
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-12-13 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 10:37 [Bug gdb/29897] New: [gdb, powerpc64le] displaced-stepping.c:53: internal-error: prepare: Assertion `buf.current_thread != thread' failed vries at gcc dot gnu.org
2022-12-13 16:54 ` [Bug gdb/29897] " vries at gcc dot gnu.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).