Crash motionvector with long running script (split from A3300 porting) - page 3 - General Discussion and Assistance - CHDK Forum

Crash motionvector with long running script (split from A3300 porting)

  • 20 Replies
  • 3699 Views
Re: Crash motionvector with long running script (split from A3300 porting)
« Reply #20 on: 05 / September / 2015, 17:08:19 »
Advertisements
Tying up the CPU for too long could be plausible, but I'd be surprised if this was happening.

I've run both cameras for several days now with no crash by simply sleeping for 30 seconds after shutter actuation.  Since the loop above seems pretty innocuous, it would appear that CPU hogging is a likely suspect.   I've not tried to worsen the problem as I'm documenting an ongoing construction project and I need the cams working (apparently, I have a workaround at this point.)  I can experiment when construction is finished.

It might be crappy real-time coding on Canon's part: Start timer, move something, check timer and abort if too much time has passed as a non-atomic operation.

 

Related Topics