Go to Post However, mentoring isn't for you. It's for the others. - Alan Anderson [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 11-02-2012, 15:59
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Allocating 1.8GB memory.... problem?

Quote:
Originally Posted by Hjelstrom View Post
I looked over your code briefly and didn't see anything that looks like it would cause the problem. For one thing you don't do many (any?) manual memory/object allocations (so that rules out a lot of potential problems I was looking for).

I'd try putting a print in the first line of your robot's constructor and see if the crash happens before or after that. Assuming it happens before your print, then you'll probably have to start commenting member variables and their associated code out to figure out where the problem is. Nothing against ZomB but I'd try commenting that out first; maybe you need an updated version of it that is compatible with this year's WPI lib? Or your code is trying to talk to an older ZomB but you're linking in the new code? Just a guess.
ZomB I did remove, along with 99% of the code, just the joystick remainig, and it still crashed....
strange....
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
 


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 20:10.

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