Discussion:
[Bug remote/23514] New: target.c: default_thread_architecture: Assertion failed, while trying to record remote x86_64
emil.gedda at emilgedda dot se
2018-08-11 13:50:11 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23514

Bug ID: 23514
Summary: target.c: default_thread_architecture: Assertion
failed, while trying to record remote x86_64
Product: gdb
Version: 8.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: remote
Assignee: unassigned at sourceware dot org
Reporter: emil.gedda at emilgedda dot se
Target Milestone: ---

Created attachment 11180
--> https://sourceware.org/bugzilla/attachment.cgi?id=11180&action=edit
gdb coredump

By setting `record-full` on a remote qemu-system-x86_64 target and then
continuing, gdb crashes with:

target.c:3132: internal-error: gdbarch*
default_thread_architecture(target_ops*, ptid_t): Assertion `inf != NULL'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it. For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

target.c:3132: internal-error: gdbarch*
default_thread_architecture(target_ops*, ptid_t): Assertion `inf != NULL'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.


How to reproduce:

$ qemu-system-x86_64 -S -s &
$ gdb -q
(gdb) target remote :1234
...
(gdb) target record-full
(gdb) c


Which will crash gdb 8.1.1. This happens regardless of what disk image is given
to qemy-system-x86_64
Attached is a lz4 compressed coredump of gdb.
--
You are receiving this mail because:
You are on the CC list for the bug.
emil.gedda at emilgedda dot se
2018-08-11 14:02:11 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23514

Emil Gedda <emil.gedda at emilgedda dot se> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |emil.gedda at emilgedda dot se
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...