This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/19229] New: Crash/internal error on target remote: decode_frame_entry_1: Assertion `fde->cie != NULL' failed.


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

            Bug ID: 19229
           Summary: Crash/internal error on target remote:
                    decode_frame_entry_1: Assertion `fde->cie != NULL'
                    failed.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dev@michael-fiedler.net
  Target Milestone: ---

Created attachment 8775
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8775&action=edit
test case

I am doing some operating system development using QEMU and GDB for
testing/debugging and some of my code triggers the following internal GDB
error.


Steps to reproduce:

1. Build the attached test case by running ./build.sh or:
   gcc -g -ffreestanding -m64 -nostdlib -lgcc -T test.ld main.c -o test.elf

2. Start a QEMU GDB stub, listening on port 1234 on localhost:
   qemu-system-x86_64 -nographic -s

3. Start GDB using the generated ELF file:
   gdb test.elf

4. Attach GDB to QEMU:
   target remote localhost:1234

5. GDB crashes with message
   dwarf2-frame.c:2104: internal-error: decode_frame_entry_1: Assertion
`fde->cie != NULL' failed.


Affected versions:

  current master HEAD 6e7675a70f5a375159f94354fb6f38519303a73d
  7.7.1 from Ubuntu 14.04 (earliest version tested)


Environment:

Ubuntu Linux 14.04 x86_64

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]