-
Notifications
You must be signed in to change notification settings - Fork 839
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
imdecode jpeg2000 segfault or deadlock in multithreading #1007
Comments
Ensure that there are real threads. Because forked processes don't work: opencv/opencv#5150 |
I've just checked carefully. If we start a spawn process in each sub-threads. It works. But it is extremely slow to create a new spawn process each time! |
@robinechuca Please publish your |
Here's the complete output of cv2.getBuildInformation():
|
Expected behaviour
In the main thread, it works well as written in the example bellow:
Actual behaviour
But in a thread, it is all broken!
When the code does not freeze by itself, an interrupt with ctrl+c leads allways to a segfault. Unlike the threadless example.
Steps to reproduce
The text was updated successfully, but these errors were encountered: