-
Notifications
You must be signed in to change notification settings - Fork 7
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
Segmentation fault when using Threading #26
Comments
I could not reproduce the issue with your code example on Windows, can you post debgging/error message and more info on your system/OS, versioning of any used modules and Python version? |
Thank you for testing that out. Here is my output:
The line I am using Python 3.9 on an Nvidia Jetson Orin Nano Developer Kit running Jetpack 5.1.2 (Ubuntu 20.04.6 LTS, arm64). Using my same venv I am actually able to run your multithreading example. |
Hello ! |
@OverBoostedBoat No unfortunately not. My work around was to start streaming in a new process so when it ends the segfault wouldn't crash everything. Not the best solution but it works. Let me know if you find a better solution! |
I was able to reduce my code down to this. The It seems to me that something shady might be happening during the
If it can help, the seg fault didn't happen with the old VimbaPython API. |
Hello, |
I want to stream a single camera in one thread. When I close the stream and join my thread my code crashes with a segmentation fault.
I have reduced my code down to this to replicate the issue
The code runs fine, but when it stops it causes a segmentation fault. I feel like I am doing everything that was in the multithreading_opencv.py example but I keep getting this segmentation fault. Is this a bug? Or am I missing something from that example that would lead to a graceful shutdown?
Thank you!
The text was updated successfully, but these errors were encountered: