Bugzilla – Bug 1204930
opencv: Segmentation fault
Last modified: 2022-11-02 15:47:44 UTC
Current opencv (4.6.0) cant be imported in python because it throws a segmentation fault. As consequence, camera etc doe not work docb@X1E:~/buildservice> python3 Python 3.10.8 (main, Oct 19 2022, 07:46:20) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/lib64/libopencv_imgcodecs.so.406: undefined symbol: _ZN7Imf_3_114ChromaticitiesC1ERKN9Imath_3_14Vec2IfEES5_S5_S5_ >>> Information for package python3-opencv: --------------------------------------- Repository : openSUSE-Tumbleweed-Oss Name : python3-opencv Version : 4.6.0-2.2 Arch : x86_64 Vendor : openSUSE Installed Size : 6.6 MiB Installed : Yes (automatically) Status : up-to-date Source package : opencv-4.6.0-2.2.src Upstream URL : https://opencv.org/
c++filt _ZN7Imf_3_114ChromaticitiesC1ERKN9Imath_3_14Vec2IfEES5_S5_S5_ Imf_3_1::Chromaticities::Chromaticities(Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&)
$> nm -DC --defined-only /usr/lib64/libOpenEXR-3_1.so.30 | grep Imf_3_1::Chromaticities::Chromaticities 0000000000061ad0 T Imf_3_1::Chromaticities::Chromaticities(Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&) 0000000000061ad0 T Imf_3_1::Chromaticities::Chromaticities(Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&) $> nm -DC --undefined-only /usr/lib64/libopencv_imgcodecs.so.406 | grep Imf_3_1::Chromaticities::Chromaticities U Imf_3_1::Chromaticities::Chromaticities(Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&, Imath_3_1::Vec2<float> const&) Apparently, your libOpenEXR is broken.
(In reply to Stefan Brüns from comment #2) > Apparently, your libOpenEXR is broken. Found out its a newer version than the one in TW. Downgraded and it works again! Thanks!