https://bugs.kde.org/show_bug.cgi?id=495006

            Bug ID: 495006
           Summary: Digikam crashes when trying to run yunet face
                    detection
    Classification: Applications
           Product: digikam
           Version: 8.5.0
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Faces-Detection
          Assignee: digikam-bugs-n...@kde.org
          Reporter: pschonm...@gmail.com
  Target Milestone: ---

SUMMARY
Digikam digiKam-8.5.0-20241018T160115-Qt6-x86-64-debug.appimage crash

STEPS TO REPRODUCE
1. Run Yunet model, Face  size large - 85 accuracy
2. Bang !


OBSERVED RESULT

[Switching to Thread 0x7fff23e00640 (LWP 2754739)]
Digikam::DNNFaceDetectorYuNet::loadModels (this=0x555555cd4ed0) at
/dktemp/digikam-master/core/libs/facesengine/detection/opencv-dnn/dnnfacedetectoryunet.cpp:69
69     
/dktemp/digikam-master/core/libs/facesengine/detection/opencv-dnn/dnnfacedetectoryunet.cpp:
Adresář nebo soubor neexistuje.

This means in czech that file doesnt exists

(gdb) bt
#0  Digikam::DNNFaceDetectorYuNet::loadModels (this=0x555555cd4ed0) at
/dktemp/digikam-master/core/libs/facesengine/detection/opencv-dnn/dnnfacedetectoryunet.cpp:69
#1  0x00007ffff6020ef8 in Digikam::OpenCVDNNFaceDetector::OpenCVDNNFaceDetector
(this=this@entry=0x7ffe4c037c70, model=model@entry=Digikam::DNNDetectorYuNet)
at
/dktemp/digikam-master/core/libs/facesengine/detection/opencv-dnn/opencvdnnfacedetector.cpp:57
#2  0x00007ffff601ed96 in Digikam::FaceDetector::Private::backend
(this=this@entry=0x55556077aa10) at
/dktemp/digikam-master/core/libs/facesengine/detection/facedetector.cpp:66
#3  0x00007ffff601ef9e in Digikam::FaceDetector::Private::applyParameters
(this=0x55556077aa10) at
/dktemp/digikam-master/core/libs/facesengine/detection/facedetector.cpp:89
#4  0x00007ffff601e40c in Digikam::FaceDetector::setParameters
(this=this@entry=0x555560aa0d68, parameters=...) at
/dktemp/digikam-master/core/libs/facesengine/detection/facedetector.cpp:252
#5  0x00007ffff77a84b0 in Digikam::DetectionWorker::setAccuracyAndModel
(this=0x555560aa0d50, detectAccuracy=<optimized out>, detectModel=<optimized
out>, detectSize=<optimized out>, recognizeAccuracy=0.84999999999999998,
recognizeModel=Digikam::FaceScanSettings::SFace)
    at
/dktemp/digikam-master/core/utilities/facemanagement/workers/detectionworker.cpp:79
#6  0x00007ffff3bc0178 in QObject::event(QEvent*) () from
/tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#7  0x00007ffff4d8bbb6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Widgets.so.6
#8  0x00007ffff3b6937a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#9  0x00007ffff3b6cdb9 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#10 0x00007ffff3e42cc7 in ?? () from
/tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#11 0x00007ffff391bd3b in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff39712b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff39193e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff3e424fe in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#15 0x00007ffff3b757fb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#16 0x00007ffff5c360ee in Digikam::WorkerObjectRunnable::run
(this=0x7ffe7c028130) at ././/include/QtCore/qflags.h:74
#17 0x00007ffff3d20844 in ?? () from
/tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#18 0x00007ffff3d17b91 in ?? () from
/tmp/.mount_digiKaKHkEQk/usr/lib/libQt6Core.so.6
#19 0x00007ffff3294ac3 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:442
#20 0x00007ffff3326850 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

EXPECTED RESULT
 Just work :)

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to