Bug 501627 - Digikam 8.6 crashes while retraining face recognition database
Summary: Digikam 8.6 crashes while retraining face recognition database
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 8.6.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 10:37 UTC by cs
Modified: 2025-03-17 12:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cs 2025-03-17 10:37:12 UTC
SUMMARY
Digikam 8.6 (AppImage on Kubuntu 24.04 with Nvidia card) crashes while retraining face recognition database

STEPS TO REPRODUCE
1. Start digikam 8.6.0 AppImage (with existing database and image collection previously used with 8.5.0)
2. When it asks "Do you want to retrain your database now?" click "OK"
3. in the background processes widget, you see messages about scanning the fotos, but after a few images the program crashes

OBSERVED RESULT
program crash.
Console messages:

[ WARN:0@30,870] global ocl4dnn_conv_spatial.cpp:1931 loadTunedConfig OpenCV(ocl4dnn): consider to specify kernel configuration cache directory through OPENCV_OCL4DNN_CONFIG_PATH parameter.
OpenCL program build log: dnn/dummy
Status -11: CL_BUILD_PROGRAM_FAILURE
-cl-no-subgroup-ifp
Error in processing command line: Don't understand command line argument "-cl-no-subgroup-ifp"!
/tmp/.mount_digiKaUtLULs/AppRun: line 261:  8126 Segmentation fault      (core dumped) digikam $@


EXPECTED RESULT
no crash


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04 Kernel 6.8.0-53-generic (64-bit)
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Graphics Platform: X11

ADDITIONAL INFORMATION
NVIDIA GeForce RTX 3060/PCIe/SSE2
OpenCL 3.0 CUDA 12.5.51
Comment 1 Maik Qualmann 2025-03-17 11:23:36 UTC
Is OpenCL enabled or disabled in the digiKam settings under Miscellaneous -> System? Can you disable it (restart digiKam) and test whether it no longer crashes?

Maik
Comment 2 cs 2025-03-17 12:54:44 UTC
(In reply to Maik Qualmann from comment #1)
> Is OpenCL enabled or disabled in the digiKam settings under Miscellaneous ->
> System? Can you disable it (restart digiKam) and test whether it no longer
> crashes?

Yes, OpenCL was enabled. After disabling it, digiKam no longer crashes, and the retraining works as exptected until it is complete.