View Single Post
  #7   Spotlight this post!  
Unread 14-02-2013, 16:40
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 343
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: C++ Crash On Load (Task related)

With the second update, we too are seeing a crash in live window-related code. The place we saw it crash was in the WPILib PWM code:

void PWM::StopLiveWindowMode() {
SetSpeed(0);
m_table->RemoveTableListener(this); --> crash here
}

I'm thinking m_table is null at this point.

Please note that according to my recollection, this only occurs when we start the Driver Station/SmartDashboard after we start the robot code. If we start the Driver Station/SmartDashboard first the crash doesn't occur.

Code for the robot that shows the problem is at:

http://code.google.com/p/kauaibotsfi...derChicken2013
Reply With Quote