Skip to content
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

PiCamera start_preview blocks indefinitely #724

Open
palu3492 opened this issue Aug 10, 2022 · 0 comments
Open

PiCamera start_preview blocks indefinitely #724

palu3492 opened this issue Aug 10, 2022 · 0 comments

Comments

@palu3492
Copy link

PiCamera 1.13
Linux raspberrypi 5.10.103+ #1529 Tue Mar 8 12:19:18 GMT 2022 armv6l GNU/Linux

Just came across an issue where PiCamera.start_preview() blocked indefinitely and never returned. I inspected the thread and found it's stuck in the close method of mmalobj.py.

frame = sys._current_frames().get(my_thread.ident, None)
print(frame.f_code.co_filename, frame.f_code.co_name, frame.f_code.co_firstlineno)
('/usr/lib/python2.7/dist-packages/picamera/mmalobj.py', 'close', 663)

Any idea how I can prevent this in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant