public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27317] New: gdb crashes upon target remote :1234
@ 2021-02-02 17:26 r.kloos at campus dot tu-berlin.de
  2021-02-02 17:29 ` [Bug gdb/27317] " r.kloos at campus dot tu-berlin.de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: r.kloos at campus dot tu-berlin.de @ 2021-02-02 17:26 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27317
           Summary: gdb crashes upon target remote :1234
           Product: gdb
           Version: 9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: r.kloos at campus dot tu-berlin.de
  Target Milestone: ---

Created attachment 13196
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13196&action=edit
core dump of gdb after described error

The following output is given after trying to use gdb with a symbol file and
trying to execute target remote :1234 :


Reading symbols from kernel_debug...
DW_FORM_strp pointing outside of .debug_str section [in module /<PATH TO FILE
OMITTED>/kernel_debug]
(No debugging symbols found in kernel_debug)
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
../../gdb-9.2/gdb/dwarf2-frame.c:2004: internal-error: const gdb_byte*
decode_frame_entry_1(comp_unit*, const gdb_byte*, int, dwarf2_cie_table&,
dwarf2_fde_table*, eh_frame_type): Assertion `fde->cie != 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/>.

../../gdb-9.2/gdb/dwarf2-frame.c:2004: internal-error: const gdb_byte*
decode_frame_entry_1(comp_unit*, const gdb_byte*, int, dwarf2_cie_table&,
dwarf2_fde_table*, eh_frame_type): Assertion `fde->cie != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Aborted (core dumped)


The symbol file should work, however I don't get why gdb would crash if it
didn't either.
I have included the core dump

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

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

end of thread, other threads:[~2022-03-06 18:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 17:26 [Bug gdb/27317] New: gdb crashes upon target remote :1234 r.kloos at campus dot tu-berlin.de
2021-02-02 17:29 ` [Bug gdb/27317] " r.kloos at campus dot tu-berlin.de
2021-02-02 17:30 ` r.kloos at campus dot tu-berlin.de
2022-03-06 17:41 ` tromey at sourceware dot org
2022-03-06 18:26 ` r.kloos at campus dot tu-berlin.de
2022-03-06 18:30 ` r.kloos at campus dot tu-berlin.de

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).