-
Notifications
You must be signed in to change notification settings - Fork 852
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
imshow segfaults in 4.5.4.58 on Ubuntu 21.04 (x86_64, Python 3.9) #572
Comments
+1 More simple test to reproduce is:
Other than that stack trace is the same. |
This is regression, somehow libcxb got embedded to the wheels while it should not be there (I spent quite a lot of time debugging this issue last year): https://github.com/opencv/opencv-python/blob/master/patch_auditwheel_whitelist.py |
I think it's related to this commit, the change to a different docker image. |
Yeah, the lines related to the See: pypa/manylinux@cb20b86#diff-6e80fedc6095017a37ae0db6fbc71b259e15e5972bb8aa810877344dd666b79b We need to patch the py39 auditwheel which is used as "runtime" auditwheel in the manylinux images. Previously that was py37. The code introduced here will not work as intended because it patches wrong auditwheel instances. |
I also have the issue with |
Same issue here. |
Same issue. Had to downgrade to the previous version. |
I tried to reproduce this issue with the latest release of |
@skvark, when I updated docker images with the latest manylinux base images, I've faced a problem - there is One more thing is In addition, |
Yeah, it seems that auditwheel and the manylinux images have changed more than I thought. Previously it was just |
I am also experiencing this issue in opencv-python version 4.5.4.58 (Python version 3.9.7, on Manjaro Linux). Executing the line
Downgrading to a previous version of opencv fixes the issue: |
I am also experiencing this same issue with opencv 4.5.4.58, Python 3.9.7 and Ubuntu 20.04. |
@HMaker The issue has been fixed on infrastructure side. We are working on bug fix release now. Please downgrade OpenCV to previous release, if you need urgent fix. |
Same issue on Arch Linux,can i use a low version opencv to resove it? |
@Adian-kids yessir |
Same problem here, but it only fails when OpenCV is installed from
|
This issue is fixed in latest |
Thanks a lot for rapid feedback! |
Expected behaviour
Shows an image, like the version
4.5.3.56
Actual behaviour
Crashed with segfault
Steps to reproduce
testimshow.py
myimage.png
in the same folderpip install opencv-python
python testimshow.py
System info (Ubuntu 21.04)
uname -a
Full log
Some extra info from
gdb
Previous version, which worked fine
(displayed the image)
EDIT: I also tried installing in a clean virtualenv, as well as turning my computer off and then on again
The text was updated successfully, but these errors were encountered: