public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/26019] New: FreeRTOS task breakpoint causes core dump
@ 2020-05-21  3:08 jeff at jkent dot net
  2020-05-21  3:20 ` [Bug breakpoints/26019] " jeff at jkent dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jeff at jkent dot net @ 2020-05-21  3:08 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26019
           Summary: FreeRTOS task breakpoint causes core dump
           Product: gdb
           Version: 9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: jeff at jkent dot net
  Target Milestone: ---

Created attachment 12559
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12559&action=edit
Core dump from GDB 9.1

While debugging FreeRTOS on an ARM926EJ-S platform. I ran across a repeatable
GDB crash.  It happens with two different toolchains:

GNU gdb (GNU Tools for Arm Embedded Processors 9-2019-q4-major)
8.3.0.20190709-git
GNU gdb (crosstool-NG 1.24.0.105_5659366) 9.1

I am using Visual Studio Code as a frontend for GDB.  I am also using
JLinkGDBServer.  To rule out that it is a GDB server issue, I also tried using
OpenOCD.  The crash still occurred.

To reproducing the problem is an issue, because it requires specific hardware. 
If needed I can provide GDB server and target reset access by appointment. The
source of the project can be found at
https://github.com/jkent/pollux-baremetal/tree/gdb-bug .

  I think the next task would be to build GDB with debug symbols so the core
dump can provide a useful backtrace.  I do not know how to do this -- is there
a ./Configure option that can be passed to enable debugging?  This would be the
easiest route, to build a new toolchain with crosstool-ng.  Attached is the
core dump.

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

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

end of thread, other threads:[~2020-06-11 22:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21  3:08 [Bug breakpoints/26019] New: FreeRTOS task breakpoint causes core dump jeff at jkent dot net
2020-05-21  3:20 ` [Bug breakpoints/26019] " jeff at jkent dot net
2020-05-21 19:00 ` keiths at redhat dot com
2020-05-21 20:22 ` jeff at jkent dot net
2020-05-21 21:02 ` jeff at jkent dot net
2020-05-21 21:10 ` simark at simark dot ca
2020-05-21 21:23 ` jeff at jkent dot net
2020-05-21 23:09 ` jeff at jkent dot net
2020-05-22  0:02 ` jeff at jkent dot net
2020-05-26  2:34 ` jeff at jkent dot net
2020-06-11 22:46 ` jeff at jkent dot net

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