Summary: | Any faces detection command cause Core Dump error | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Olivier B. <olivier.berthier> |
Component: | Faces-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cinghio, lucanakin, metzpinguin, rydberg |
Priority: | NOR | ||
Version: | 7.9.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/f2f86c3c6719e4ea0bc7de95ce1ae33e8c45495e | Version Fixed In: | 7.10.0 |
Attachments: | coredumpct debug |
Description
Olivier B.
2023-01-22 13:13:01 UTC
Problem is already known here. The cause is the new openCV-4.7.0. It crashes deep in the openCV DNN module, I suspect a bug in openCV at the moment. Maik This could be the cause, the question is whether it is actually part of openCV-4.7.0 - 2 days before the release? https://github.com/opencv/opencv/issues/23046 Maik (gdb) bt #0 0x00007fffe7feaa0c in () at /lib64/libopencv_dnn.so.407 #1 0x00007fffe726a6e4 in () at /lib64/libopencv_core.so.407 #2 0x00007fffe7264657 in () at /lib64/libopencv_core.so.407 #3 0x00007fffe726ce62 in () at /lib64/libopencv_core.so.407 #4 0x00007fffdf3d8dd3 in () at /usr/lib64/libtbb.so.12 #5 0x00007fffe726e0c2 in () at /lib64/libopencv_core.so.407 #6 0x00007fffdf3c5e22 in () at /usr/lib64/libtbb.so.12 #7 0x00007fffe726aac0 in cv::parallel_for_(cv::Range const&, cv::ParallelLoopBody const&, double) () at /lib64/libopencv_core.so.407 #8 0x00007fffe81c22d3 in () at /lib64/libopencv_dnn.so.407 #9 0x00007fffe81c6301 in () at /lib64/libopencv_dnn.so.407 #10 0x00007fffe7fa87b5 in () at /lib64/libopencv_dnn.so.407 #11 0x00007fffe80642bd in cv::dnn::dnn4_v20221220::Net::Impl::forwardLayer(cv::dnn::dnn4_v20221220::detail::LayerData&) () at /lib64/libopencv_dnn.so.407 #12 0x00007fffe8060093 in cv::dnn::dnn4_v20221220::Net::Impl::forwardToLayer(cv::dnn::dnn4_v20221220::detail::LayerData&, bool) () at /lib64/libopencv_dnn.so.407 #13 0x00007fffe8061497 in cv::dnn::dnn4_v20221220::Net::Impl::forward(cv::_OutputArray const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) () at /lib64/libopencv_dnn.so.407 #14 0x00007fffe8052b49 in cv::dnn::dnn4_v20221220::Net::forward(cv::_OutputArray const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) () at /lib64/libopencv_dnn.so.407 #15 0x00007ffff671fb5d in Digikam::DNNFaceDetectorYOLO::detectFaces(cv::Mat const&, cv::Size_<int> const&, std::vector<cv::Rect_<int>, std::allocator<cv::Rect_<int> > >&) () at /lib64/libdigikamcore.so.8.0.0 #16 0x00007ffff671bc3e in Digikam::OpenCVDNNFaceDetector::cvDetectFaces(cv::Mat const&, cv::Size_<int> const&) () at /lib64/libdigikamcore.so.8.0.0 #17 0x00007ffff671bc6b in Digikam::OpenCVDNNFaceDetector::detectFaces(cv::Mat const&, cv::Size_<int> const&) () at /lib64/libdigikamcore.so.8.0.0 I confirm that everything works if I build digikam with opencv 4.6. *** Bug 464745 has been marked as a duplicate of this bug. *** Git commit f2f86c3c6719e4ea0bc7de95ce1ae33e8c45495e by Maik Qualmann. Committed on 29/01/2023 at 20:30. Pushed by mqualmann into branch 'qt5-maintenance'. fix crash with the release version of OpenCV-4.7.0 The problem is already fixed with the master version of OpenCV. Related: bug 464745 FIXED-IN: 7.10.0 M +3 -1 NEWS M +6 -0 core/libs/facesengine/detection/opencv-dnn/dnnfacedetectorssd.cpp M +7 -0 core/libs/facesengine/detection/opencv-dnn/dnnfacedetectoryolo.cpp M +6 -0 core/libs/facesengine/recognition/opencv-dnn/dnnfaceextractor.cpp https://invent.kde.org/graphics/digikam/commit/f2f86c3c6719e4ea0bc7de95ce1ae33e8c45495e *** Bug 465607 has been marked as a duplicate of this bug. *** *** Bug 465905 has been marked as a duplicate of this bug. *** |