View Single Post
  #1   Spotlight this post!  
Unread 07-03-2011, 20:38
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: Help Requested - "Fatal Task-Level Kernel Exception"

You say labview 3.2, but the screenshot shows you are using C++, no need to update labview

anhow, the data access exception (which leads to the fatal error) is caused by a pointer error, which are nasty, often hard to find errors due to memory alotment. I try to avoid pointers where they are not needed, there are none in our 2011 code. Try replacing all the pointers with stack variables or references.
From
Code:
type *name = new type()
name->member
to
Code:
type name = type()
name.member
__________________
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
Reply With Quote