Bug 424133

Summary: Scanning for recognising faces crashes
Product: [Applications] digikam Reporter: paazmaya
Component: Faces-RecognitionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description paazmaya 2020-07-12 19:51:18 UTC
SUMMARY
Running release candidate to recognise faces...

STEPS TO REPRODUCE
1. Start "./digikam-7.0.0-rc-x86-64.appimage debug"
2. Choose a folder with few hundreds of images
3. Scan for faces, with the option for recognising them

OBSERVED RESULT
Thread 4281 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff21498700 (LWP 9868)]
0x00007ffff708eb19 in Digikam::DImgLoader::granularity(Digikam::DImgLoaderObserver*, int, float) () from /tmp/.mount_digika4Tff79/usr/lib/libdigikamcore.so.7.0.0
(gdb) bt
#0  0x00007ffff708eb19 in Digikam::DImgLoader::granularity(Digikam::DImgLoaderObserver*, int, float) () from /tmp/.mount_digika4Tff79/usr/lib/libdigikamcore.so.7.0.0
#1  0x00007fff9bc9c801 in ?? () from /tmp/.mount_digika4Tff79/usr/plugins/digikam/dimg/DImg_JPEG_Plugin.so
#2  0x00007ffff71e36aa in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&) ()
   from /tmp/.mount_digika4Tff79/usr/lib/libdigikamcore.so.7.0.0
#3  0x00007ffff72afdb1 in ?? () from /tmp/.mount_digika4Tff79/usr/lib/libdigikamcore.so.7.0.0
#4  0x00007ffff72c5aae in Digikam::LoadSaveThread::run() () from /tmp/.mount_digika4Tff79/usr/lib/libdigikamcore.so.7.0.0
#5  0x00007ffff72eacce in ?? () from /tmp/.mount_digika4Tff79/usr/lib/libdigikamcore.so.7.0.0
#6  0x00007ffff40ead87 in ?? () from /tmp/.mount_digika4Tff79/usr/lib/libQt5Core.so.5
#7  0x00007ffff40e7335 in ?? () from /tmp/.mount_digika4Tff79/usr/lib/libQt5Core.so.5
#8  0x00007ffff32a1e64 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007ffff2fcd12f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Zorin OS 15.2
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-07-12 20:02:18 UTC

*** This bug has been marked as a duplicate of bug 421043 ***
Comment 2 Maik Qualmann 2020-07-12 20:07:43 UTC
The crash in DImg::load() is known. It mainly occurs on Intel CPU Core I5/7 on Ubuntu. We have currently deactivated OpenCL in OpenCV because it produces a memory leak. Please test the current digiKam-7.0.0 version in the next few days from here:

https://files.kde.org/digikam/

Maik
Comment 3 caulier.gilles 2020-07-14 09:33:26 UTC
Hi,

Can you check if this crash still exist with last weekly AppImage build
available here :

https://files.kde.org/digikam/

Thanks in advance
Comment 4 paazmaya 2020-07-15 08:26:41 UTC
Thank you for the information.
I tested with "digikam-7.0.0-20200713T054246-x86-64.appimage" and could not get the crash reproduced.
Comment 5 caulier.gilles 2020-07-15 08:54:41 UTC
Thanks for the feedback I close this file now...
Gilles Caulier