-
Notifications
You must be signed in to change notification settings - Fork 1.1k
raspistill makes errant call to nanosleep in timelapse mode #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
example of strace leading up to this:
|
interestingly, i had two freezes in a row on separate PIs with different camera types (standard v2 vs noir). both stopped with the exact same sleep value:
|
I thought this had been fixed, but its possible that its not been released yet. But try an update first, then if that doesn't work, you can download the source from our github and rebuild it yourself. |
#535 fixed an overflow issue in timelapse mode. Added to rpi-update releases since 8th March, but probably not in apt. |
I won't have access to the affected PI+cameras for a few hours. They've just been built/updated to the latest. It seem likely if the fix was recent that it's not been released yet. Thanks. |
@stewartoallen Have you been able to re-test with the latest version of |
it seemed like raspistill was locking up in timelapse mode. but stracing it revealed that it was, in fact, just sleeping for a long time. there seems to be a calculation error (maybe on a missed frame) that results in a huge value for tv_sleep in nanosleep every once in a while.
this seems to happen far more often with the noir pi camera module than the standard v2.
The text was updated successfully, but these errors were encountered: