Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Help with constant code crashing (http://www.chiefdelphi.com/forums/showthread.php?t=143841)

Programming191 14-02-2016 10:24

Help with constant code crashing
 
Whenever I run my program on eclipse the robot code crashes before even starting. The robotInit() method does not even run. We have tried commenting out all of our code yet this does not seem to solve our problems.
Here is the riolog output:
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
➔ Launching «'/home/lvuser/FRCUserProgram'»
etc....

Jaci 14-02-2016 10:38

Re: Help with constant code crashing
 
The unspoken rule: Post your code before asking for help

(for real though we can't tell what's going on unless you give us your code, since there is no output. It looks like you're using C++, and since there's no output, I'd suggest deploying again)

Programming191 14-02-2016 11:07

Re: Help with constant code crashing
 
1 Attachment(s)
Quote:

Originally Posted by Jaci (Post 1540063)
The unspoken rule: Post your code before asking for help

(for real though we can't tell what's going on unless you give us your code, since there is no output. It looks like you're using C++, and since there's no output, I'd suggest deploying again)

I have attached a zip folder containing my code. Thank you for your help.

Jaci 14-02-2016 11:39

Re: Help with constant code crashing
 
My first guess would be that the "CougarLib" dependency isn't compiled and/or loaded on your RoboRIO. This would cause a fault at startup, which I don't believe is picked up by RioLog.

Programming191 14-02-2016 11:42

Re: Help with constant code crashing
 
Quote:

Originally Posted by Jaci (Post 1540086)
My first guess would be that the "CougarLib" dependency isn't compiled and/or loaded on your RoboRIO. This would cause a fault at startup, which I don't believe is picked up by RioLog.

I found the issue. I was trying to write to a log file and their was an error in the way I was doing it. Thank you for your help!

Jaci 14-02-2016 11:57

Re: Help with constant code crashing
 
No problem, I'm glad the issue is resolved c:


All times are GMT -5. The time now is 00:41.

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