View Single Post
  #7   Spotlight this post!  
Unread 14-02-2016, 04:45
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Diagnosing a crash

Here's a couple ideas for things to try.

1) Stop the robot code from starting up automatically and start it under GDB on the roboRIO. You'll then get good stack traces.

2) Enable core dumps. Once it crashes, copy the core dump back to your laptop and load it and the binary into GDB. You can then get a good stack trace.