OpenPpP freeze on camera TEST

67 views
Skip to first unread message

jbasia

unread,
Feb 2, 2023, 4:22:49 AM2/2/23
to OpenPnP
I had that freeze a few times on Linux, now the first time on Windows 10. Notebook probably lost bottom camera (directly connected, no hub) due to some USB connection issues. I had to do an "END PROCESS" to close OpenPnP..

Last few Minutes log is attached.




OpenPnP.0.log

mark maker

unread,
Feb 2, 2023, 5:13:05 AM2/2/23
to ope...@googlegroups.com

Yes this is a known issue when the USB connection is lost, or congested (two cameras on same root hub), or if the camera otherwise fails to deliver frames, after the camera stream itself was successfully opened.

It should only affect the Test button, which merely serves to measures FPS. And therefore is not be relevant for routine operation ... that's why it yet remains to be fixed. 😅

_Mark

On 2/2/23 10:22, jbasia wrote:
I had that freeze a few times on Linux, now the first time on Windows 10. Notebook probably lost bottom camera (directly connected, no hub) due to some USB connection issues. I had to do an "END PROCESS" to close OpenPnP..

Last few Minutes log is attached.




--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c77a81f9-d2c7-493e-b12d-5a43e49d8f91n%40googlegroups.com.

Ian Arkver

unread,
Feb 4, 2023, 9:21:35 AM2/4/23
to OpenPnP
I opened PR #1518 with a possible fix for this. Since I don't use OpenPnPCaptureCamera I can't test it easily. The change is fairly trivial though, but might not fix the problem if hasNewFrame hangs internally.

Regards,
Ian

mark maker

unread,
Feb 6, 2023, 10:59:20 AM2/6/23
to ope...@googlegroups.com

Thanks to Ian! 💯

I just merged it into the test version. I can also confirm that it works with a functional OpenPnpCaptureCamera.

A test with a non-functional camera (one that is no longer providing frames, e.g. after the USB has been disconnected) is still missing, I hope @jbasia can do one.

_Mark

Reply all
Reply to author
Forward
0 new messages