<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>425230</bug_id>
          
          <creation_ts>2020-08-11 17:47:17 +0000</creation_ts>
          <short_desc>Crash when scanning for faces</short_desc>
          <delta_ts>2020-10-03 19:41:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Faces-Detection</component>
          <version>7.0.0</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="MarcP">iwannaberich</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>iwannaberich</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1950182</commentid>
    <comment_count>0</comment_count>
    <who name="MarcP">iwannaberich</who>
    <bug_when>2020-08-11 17:47:17 +0000</bug_when>
    <thetext>SUMMARY

Now I tried to scan for faces a large set of pictures, around 400. I basically selected them in the search view, right clicked, and selected &quot;Scan for faces&quot;. After a few seconds, Digikam closed itself. I have been able to replicate that four times in a row.

This is what I see in the console (from the moment it starts scanning):

[New Thread 0x7fff70dea700 (LWP 8210)]
[New Thread 0x7fff5b7fe700 (LWP 8211)]
[New Thread 0x7fff5affd700 (LWP 8212)]
[New Thread 0x7fff5a7fc700 (LWP 8213)]
[New Thread 0x7fff59ffb700 (LWP 8214)]
[Thread 0x7fff5b7fe700 (LWP 8211) exited]
[Thread 0x7fff5affd700 (LWP 8212) exited]
[Thread 0x7fff5a7fc700 (LWP 8213) exited]
[Thread 0x7fff59ffb700 (LWP 8214) exited]
[New Thread 0x7fff59ffb700 (LWP 8236)]
[New Thread 0x7fff5a7fc700 (LWP 8239)]
[New Thread 0x7fff5affd700 (LWP 8240)]
[New Thread 0x7fff5b7fe700 (LWP 8241)]
[New Thread 0x7fff58d1a700 (LWP 8242)]
[Thread 0x7fff5a7fc700 (LWP 8239) exited]
[Thread 0x7fff5b7fe700 (LWP 8241) exited]
[Thread 0x7fff5affd700 (LWP 8240) exited]
[Thread 0x7fff58d1a700 (LWP 8242) exited]
Digikam::DImg::getUniqueHashV2: DImg::getUniqueHash called without originalFilePath property set!

Thread 43 &quot;Thread (pooled)&quot; received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb17fa700 (LWP 8194)]
0x00007ffff4122340 in QMapDataBase::rotateRight(QMapNodeBase*) ()
   from /tmp/.mount_digikatjz0Zx/usr/lib/libQt5Core.so.5
(gdb) bt
#0  0x00007ffff4122340 in QMapDataBase::rotateRight(QMapNodeBase*) () from /tmp/.mount_digikatjz0Zx/usr/lib/libQt5Core.so.5
#1  0x00007ffff41224c9 in QMapDataBase::rebalance(QMapNodeBase*) () from /tmp/.mount_digikatjz0Zx/usr/lib/libQt5Core.so.5
#2  0x00007ffff41229c4 in QMapDataBase::createNode(int, int, QMapNodeBase*, bool) () from /tmp/.mount_digikatjz0Zx/usr/lib/libQt5Core.so.5
#3  0x00007ffff71eaaf3 in Digikam::DImg::setAttribute(QString const&amp;, QVariant const&amp;) () from /tmp/.mount_digikatjz0Zx/usr/lib/libdigikamcore.so.7.0.0
#4  0x00007ffff708e12a in Digikam::DImgLoader::readMetadata(QString const&amp;) () from /tmp/.mount_digikatjz0Zx/usr/lib/libdigikamcore.so.7.0.0
#5  0x00007fffc1165ff9 in ?? () from /tmp/.mount_digikatjz0Zx/usr/plugins/digikam/dimg/DImg_JPEG_Plugin.so
#6  0x00007ffff71e1fca in Digikam::DImg::load(QString const&amp;, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&amp;) () from /tmp/.mount_digikatjz0Zx/usr/lib/libdigikamcore.so.7.0.0
#7  0x00007ffff72aef31 in ?? () from /tmp/.mount_digikatjz0Zx/usr/lib/libdigikamcore.so.7.0.0
#8  0x00007ffff72c4d7e in Digikam::LoadSaveThread::run() () from /tmp/.mount_digikatjz0Zx/usr/lib/libdigikamcore.so.7.0.0
#9  0x00007ffff72e9f9e in ?? () from /tmp/.mount_digikatjz0Zx/usr/lib/libdigikamcore.so.7.0.0
#10 0x00007ffff40e5d87 in ?? () from /tmp/.mount_digikatjz0Zx/usr/lib/libQt5Core.so.5
#11 0x00007ffff40e2335 in ?? () from /tmp/.mount_digikatjz0Zx/usr/lib/libQt5Core.so.5
#12 0x00007ffff32906db in start_thread (arg=0x7fffb17fa700) at pthread_create.c:463
#13 0x00007ffff2fb9a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) 


 
I hope you find this information useful.



SOFTWARE/OS VERSIONS

Digikam 7.0.0 (stable) appimage on Ubuntu 18.04LTS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950208</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2020-08-11 19:33:33 +0000</bug_when>
    <thetext>Yes, this is the typical crash that we mainly see on Ubuntu with an Intel processor. I already changed something to see if it helps in the next AppImage after August 22nd.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1962252</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2020-10-03 19:41:10 +0000</bug_when>
    <thetext>Fixed with bug 426175.

Maik</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>