GDB crashes

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

GDB crashes

Postby BuddyCasino » Tue May 09, 2017 2:40 pm

This happens when I try to suspend all threads to inspect the stacks, using the Eclipse GDB / OpenOCD frontend:

Code: Select all

[New Thread 1073507752]
[New Thread 1073539112]
[New Thread 1073543336]
[New Thread 1073517664]
[New Thread 1073492000]
[New Thread 1073606624]
[New Thread 1073545860]
[New Thread 1073503932]
[New Thread 1073511872]

Program received signal SIGINT, Interrupt.
[Switching to Thread 1073413048]
0x400d12d8 in esp_vApplicationIdleHook () at /Users/michaelboeckling/git/esp-idf/components/esp32/./freertos_hooks.c:52
52	        asm("waiti 0");
/Users/ivan/e/ESPTools/crosstool-NG/.build/src/gdb-7.10/gdb/inline-frame.c:171: internal-error: void inline_frame_this_id(struct frame_info *, void **, struct frame_id *): Assertion `!frame_id_eq (*this_id, outer_frame_id)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

This is a bug, please report it./Users/ivan/e/ESPTools/crosstool-NG/.build/src/gdb-7.10/gdb/inline-frame.c:171: internal-error: void inline_frame_this_id(struct frame_info *, void **, struct frame_id *): Assertion `!frame_id_eq (*this_id, outer_frame_id)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.
Only in one of my projects and not the others. Where should I report this?

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: GDB crashes

Postby BuddyCasino » Tue May 09, 2017 4:34 pm

Ok, seems setting release mode to "Debug" fixes this. A weird way to fail though.

Who is online

Users browsing this forum: Baidu [Spider] and 136 guests