OCCRA
Go to Post AndyMark has done something amazing. - Sam390250 [more]
Home
Go Back   Chief Delphi > Technical > Programming > WindRiver C++
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-09-2009, 03:49 PM
Thxe Thxe is offline
Registered User
FRC #2535
 
Join Date: Jan 2009
Location: Tigears
Posts: 17
Thxe is an unknown quantity at this point
Target Exception - Exception in Kernal Task

Hello, I'm still trying to get the Simple Template to work on our robot. I am able to successfully load the program to the robot, however I get the following error message:
Code:
VxWorks6x_10.25.35.2: Exception in Kernel Task FRC_RobotTask:0x133bd60 at pc=0x8

Vector 0x700: Program Exception  status=0x0

The debugger is already attached to debug this exception.
I am using the following settings

Main
entry point FRC_UserProgram_StartupLibraryInit
no arguments
priotity:100
Stack size: 0x20000
Advanced Options: {Options=0x10000010}

Downloads
SimpleTemplate.out Symbols(check) Reload(uncheck) Options:-plugin:nounload

Common
Debug(check)

Thxe
Reply With Quote
  #2   Spotlight this post!  
Unread 02-09-2009, 06:29 PM
ShadowoftheSun ShadowoftheSun is offline
Registered User
FRC #2102
 
Join Date: Jan 2009
Location: California
Posts: 5
ShadowoftheSun is an unknown quantity at this point
Re: Target Exception - Exception in Kernal Task

We have the same issue intermittently, and with different code bases.

At the moment, our robot is stuck in "Task" mode and awaiting a reformat...


Anyway, do you have the "break on entry" box checked on the debug settings dialog? If so, does the program execution successfully pause before you experience an exception, or is it immediate?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-09-2009, 08:13 PM
katyrobo2177's Avatar
katyrobo2177 katyrobo2177 is offline
Registered User
AKA: Katy Newell
FRC #2177 (The Robettes)
Team Role: Programmer
 
Join Date: May 2008
Rookie Year: 2008
Location: Minnesota
Posts: 30
katyrobo2177 will become famous soon enoughkatyrobo2177 will become famous soon enough
Re: Target Exception - Exception in Kernal Task

We are having the same issue with debugging. Does anyone have any ideas on how to fix it??
__________________
FIRST Robotics = my obsessssion

The Robettes
2177
Reply With Quote
  #4   Spotlight this post!  
Unread 02-10-2009, 06:24 AM
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Target Exception - Exception in Kernal Task

Quote:
Originally Posted by Thxe View Post
Hello, I'm still trying to get the Simple Template to work on our robot. I am able to successfully load the program to the robot, however I get the following error message:
Code:
VxWorks6x_10.25.35.2: Exception in Kernel Task FRC_RobotTask:0x133bd60 at pc=0x8

Vector 0x700: Program Exception  status=0x0

The debugger is already attached to debug this exception.
I am using the following settings

Main
entry point FRC_UserProgram_StartupLibraryInit
no arguments
priotity:100
Stack size: 0x20000
Advanced Options: {Options=0x10000010}

Downloads
SimpleTemplate.out Symbols(check) Reload(uncheck) Options:-plugin:nounload

Common
Debug(check)

Thxe
I'm afraid this won't be much help but a little insight perhaps.
Vector 700 means the CPU has encountered an illegal instruction.
If what you pasted above is not truncated, and the program counter (PC) was indeed 0x8, then somehow the CPU jumped to (most likely) code address zero.
How would that happen?
If you loaded a module that wasn't fully and correctly linked (unresolved externals) then that code would very likely end up making a function call to address 0.
Of course, there are many other ways this can happen -- including stack overflow or corruption.
And C++ makes this more interesting because it invites some devilishly clever ways to end up executing at an invalid address.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Kernel Task w/o reboot byteit101 Programming 4 01-12-2009 11:08 AM
What is the hardest (yet possible) task in this year's game? Wayne C. General Forum 88 01-16-2008 05:30 PM
error - language-plug-in exception... RedOctober45 Programming 1 01-16-2008 02:54 PM
Joystick Exception? Blair Frank Control System 3 02-09-2007 09:41 PM
I really need some help with this CSS task. Michael Hill Website Design/Showcase 3 07-30-2006 05:18 PM


All times are GMT -5. The time now is 04:07 AM.

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


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