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)

  • 23 Replies
  • 10270 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.

*

Offline reyalp

  • ******
  • 14082
Re: Crash motionvector with long running script (split from A3300 porting)
« Reply #21 on: 09 / September / 2019, 16:07:58 »
Another report on sx230 https://chdk.setepontos.com/index.php?topic=13875.msg141329#msg141329

and attached romlog showing the same crash on sx130, from a user using PTP remote shoot
Don't forget what the H stands for.

*

Offline srsa_4c

  • ******
  • 4451
Re: Crash motionvector with long running script (split from A3300 porting)
« Reply #22 on: 09 / September / 2019, 17:46:47 »
Some links about the solution to a similar issue, motionvector related crash when using the remote hook. Moving the hooks around seems to have been enough.
https://chdk.setepontos.com/index.php?topic=7887.msg114622#msg114622
https://app.assembla.com/spaces/chdk/subversion/commits/4799

*

Offline reyalp

  • ******
  • 14082
Re: Crash motionvector with long running script (split from A3300 porting)
« Reply #23 on: 10 / September / 2019, 02:02:40 »
Some links about the solution to a similar issue, motionvector related crash when using the remote hook. Moving the hooks around seems to have been enough.
https://chdk.setepontos.com/index.php?topic=7887.msg114622#msg114622
https://app.assembla.com/spaces/chdk/subversion/commits/4799
Thanks, I thought I remembered there being a fix, but didn't turn that up in search.
Don't forget what the H stands for.


 

Related Topics