-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
To InvestigateFeature/bug needs initial investigation to understand involved workFeature/bug needs initial investigation to understand involved work
Description
Is there an existing issue for this?
- I have searched the existing issues
Unusable feature
The entire debugger since it crashes at a breakpoint.
Current Behavior
I'm using ARM GNU GDB version 14.3 (also tested with 13.2.rel1). When I hit a breakpoint in a specific file, the debugger crashes. The debug console shows the following output:
/data/jenkins/workspace/GNU-toolchain/arm-14-5/src/binutils-gdb--gdb/gdb/frame.c:659: internal-error: get_frame_id: Assertion `stashed' 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. For instructions, see:
<https://bugs.linaro.org/>.
/data/jenkins/workspace/GNU-toolchain/arm-14-5/src/binutils-gdb--gdb/gdb/frame.c:659: internal-error: get_frame_id: Assertion `stashed' 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]
0010026 W Client 1: Packet IO connection unexpectedly closed during receive: ([WinError 10054] Eine vorhandene Verbindung wurde vom Remotehost geschlossen) [packet_io]
gdb exited with code 3
gdbserver killed by signal SIGTERM
gdbserver stopped
This makes the debugger unusable. The file where this occurs is compiled with -O3. However, this should not normally be an issue, as debugging works with other interfaces.
Furthernore I get the warnings/errors in the debug console:
Failed to read peripheral GPIOA: Error: readMemory failed @ 0x48000000 for 24 bytes: CodeExpectedError: Unable to read memory., session=a94c29ac-0a40-4e7a-9ded-79c337f435b2
Failed to read peripheral GPIOA: Error: readMemory failed @ 0x4800001c for 12 bytes: CodeExpectedError: Unable to read memory., session=a94c29ac-0a40-4e7a-9ded-79c337f435b2
Internal error: Failed to update peripheral GPIOA after memory reads: Attempt to access memory outside buffer bounds
where I don't know why and if they have something to do with my issue.
Expected Behavior
Debugger just stops at breakpoint and continues after a click on continue or when stepping further.
Steps To Reproduce
No response
Affected operating systems
- all
- Windows amd64
- Linux amd64
- Linux arm64
- MacOS arm64
Environment
No response
Metadata
Metadata
Assignees
Labels
To InvestigateFeature/bug needs initial investigation to understand involved workFeature/bug needs initial investigation to understand involved work
Type
Projects
Status
Backlog