|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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. 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 |
|
#2
|
|||
|
|||
|
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? |
|
#3
|
||||
|
||||
|
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??
|
|
#4
|
||||
|
||||
|
Re: Target Exception - Exception in Kernal Task
Quote:
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Run Kernel Task w/o reboot | byteit101 | Programming | 4 | 12-01-2009 12:08 |
| What is the hardest (yet possible) task in this year's game? | Wayne C. | General Forum | 88 | 16-01-2008 18:30 |
| error - language-plug-in exception... | RedOctober45 | Programming | 1 | 16-01-2008 15:54 |
| Joystick Exception? | Blair Frank | Control System | 3 | 09-02-2007 22:41 |
| I really need some help with this CSS task. | Michael Hill | Website Design/Showcase | 3 | 30-07-2006 18:18 |