Go to Post My first reaction was "Where am I am gonna find pool noodles AND inner tubes in the middle of winter in Michigan?" - KTorak [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2016, 14:42
Omnicide_ Omnicide_ is offline
Registered User
FRC #1086
 
Join Date: Feb 2016
Location: VA
Posts: 1
Omnicide_ is an unknown quantity at this point
RIOlog not displaying errors

We are having a problem with our RIOlog. Through std::cout, we are able to send messages to the RIOlog. However, when our code crashes, we do not get any error messages. As you can imagine, this makes debgging a nightmare.

Here's a sample crash

Opened file (just a cout we had for debugging)
(Crash occurred right here)
➔ Launching «'/home/lvuser/FRCUserProgram'»
[HAL] Starting task FRC_DriverStation...

Any ideas on how to fix this? And suggestions welcome
  #2   Spotlight this post!  
Unread 06-02-2016, 15:18
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,102
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: RIOlog not displaying errors

Yes, see this thread.

http://www.chiefdelphi.com/forums/sh...d.php?t=142581
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #3   Spotlight this post!  
Unread 06-02-2016, 18:31
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: RIOlog not displaying errors

Quote:
Originally Posted by Omnicide_ View Post

Any ideas on how to fix this? And suggestions welcome
You should run your code in the debugger. Then when you crash you have a chance of getting a stacktrace. You won't get much out of the console even if the segfault line did show up (the segfault line will never print in rioLog)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi