public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/29841] New: [gdb, s390] regcache.c:600: internal-error: raw_read: Assertion `buf != NULL' failed
@ 2022-12-02 12:38 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2022-12-02 12:38 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29841
           Summary: [gdb, s390] regcache.c:600: internal-error: raw_read:
                    Assertion `buf != NULL' failed
           Product: gdb
           Version: 12.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

In OBS, with a gdb 12.1 based package, on s390-linux with target board
unix/-m31 I run into:
...
(gdb) PASS: gdb.reverse/fstatat-reverse.exp: set breakpoint at marker1
reverse-continue^M
Continuing.^M
../../gdb/regcache.c:600: internal-error: raw_read: Assertion `buf != NULL'
failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
----- Backtrace -----^M
FAIL: gdb.reverse/fstatat-reverse.exp: reverse to marker1 (GDB internal error)
Resyncing due to internal error.
0x4e025b gdb_internal_backtrace_1^M
        ../../gdb/bt-utils.c:122^M
0x4e025b _Z22gdb_internal_backtracev^M
        ../../gdb/bt-utils.c:168^M
0x869b1b internal_vproblem^M
        ../../gdb/utils.c:394^M
0x869e4f _Z15internal_verrorPKciS0_P13__va_list_tag^M
        ../../gdb/utils.c:471^M
0xa1fb4d _Z14internal_errorPKciS0_z^M
        ../../gdbsupport/errors.cc:55^M
0x753511 _ZN17readable_regcache8raw_readEiPh^M
        ../../gdb/regcache.c:600^M
0x74dd29 record_full_exec_insn^M
        ../../gdb/record-full.c:833^M
0x74dd29 record_full_wait_1^M
        ../../gdb/record-full.c:1340^M
0x74dd29
_ZN23record_full_base_target4waitE6ptid_tP17target_waitstatus10enum_flagsI16target_wait_flagE^M
        ../../gdb/record-full.c:1459^M
0x827135
_Z11target_wait6ptid_tP17target_waitstatus10enum_flagsI16target_wait_flagE^M
        ../../gdb/target.c:2621^M
0x6410fb do_target_wait_1^M
        ../../gdb/infrun.c:3632^M
0x64d791 operator()^M
        ../../gdb/infrun.c:3691^M
0x64d791 do_target_wait^M
        ../../gdb/infrun.c:3710^M
0x64d791 _Z20fetch_inferior_eventv^M
        ../../gdb/infrun.c:4055^M
0x4a7b6b _Z26check_async_event_handlersv^M
        ../../gdb/async-event.c:335^M
0xa20589 _Z16gdb_do_one_eventv^M
        ../../gdbsupport/event-loop.cc:216^M
0x68b927 start_event_loop^M
        ../../gdb/main.c:421^M
0x68b927 captured_command_loop^M
        ../../gdb/main.c:481^M
0x68c3e5 captured_main^M
        ../../gdb/main.c:1356^M
0x68d10d _Z8gdb_mainP18captured_main_args^M
        ../../gdb/main.c:1371^M
0x41c6c3 main^M
        ../../gdb/gdb.c:32^M
...

Likewise with a gdb 11.1-based package.

I haven't been able to reproduce this outside of OBS.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-02 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 12:38 [Bug tdep/29841] New: [gdb, s390] regcache.c:600: internal-error: raw_read: Assertion `buf != NULL' failed 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).