<?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>429307</bug_id>
          
          <creation_ts>2020-11-18 14:42:35 +0000</creation_ts>
          <short_desc>Crash with face detection under Windows</short_desc>
          <delta_ts>2021-01-19 17:25:21 +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-Recognition</component>
          <version>7.0.0</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</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="Georg">binbaden-im</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</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>1976373</commentid>
    <comment_count>0</comment_count>
    <who name="Georg">binbaden-im</who>
    <bug_when>2020-11-18 14:42:35 +0000</bug_when>
    <thetext>Nach jedem Start von digiKam Vers. 7.0.0 versuche ich &quot;Sammlung nach Gesichtern durchsuchen&quot; nach den Befehl bricht das Programm komplett ab und Fenster wird geschlossen.

was kann ich machen?

Betriebsystem	Microsoft Windows 10 Pro
Version	10.0.18363 Build 18363



SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976388</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2020-11-18 15:40:59 +0000</bug_when>
    <thetext>Bitte versuchen sie in English zu schreiben, damit andere Entwickler ihren Bugreport verstehen können. Nun, digiKam-7.0.0 ist nicht mehr ganz aktuell. Wir entwickeln digiKam ständig weiter, damit es auch unter Windows gut läuft. Versuchen sie die letzte digiKam-7.2.0-Beta2 von hier:

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

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977029</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2020-11-20 05:59:57 +0000</bug_when>
    <thetext>Georg,

7.2.0-beta2 have been updated yesterday evening at url listed by Maik previously.

Please test and report if problem still here with this version

Thanks in advance

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991122</commentid>
    <comment_count>3</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-01-05 11:43:51 +0000</bug_when>
    <thetext>Git commit df6e4fcf0157246f6d1d646f6d768d2b27e48f89 by Maik Qualmann.
Committed on 05/01/2021 at 11:42.
Pushed by mqualmann into branch &apos;master&apos;.

this could be a cause of the crash in the preview loader
Related: bug 427380, bug 421043, bug 427333

M  +4    -0    core/libs/threadimageio/fileio/loadsavetask.cpp
M  +5    -0    core/libs/threadimageio/preview/previewtask.cpp
M  +2    -0    core/libs/threadimageio/thumb/thumbnailtask.cpp

https://invent.kde.org/graphics/digikam/commit/df6e4fcf0157246f6d1d646f6d768d2b27e48f89</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994181</commentid>
    <comment_count>4</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-01-14 06:35:40 +0000</bug_when>
    <thetext>Git commit d62937a9e0c3a496f8ccbdbe72835d08899d6718 by Maik Qualmann.
Committed on 14/01/2021 at 06:33.
Pushed by mqualmann into branch &apos;master&apos;.

the DynamicThread should not be a QRunnable
Otherwise it is a bit strange that a QRunnable
started a QRunnable, only the QThreadPool should do this.
Related: bug 427380, bug 421043, bug 427333

M  +2    -3    core/libs/threads/dynamicthread.cpp
M  +7    -3    core/libs/threads/dynamicthread.h

https://invent.kde.org/graphics/digikam/commit/d62937a9e0c3a496f8ccbdbe72835d08899d6718</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994186</commentid>
    <comment_count>5</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-01-14 06:50:33 +0000</bug_when>
    <thetext>Git commit 46d4abd0cfcbdbdbab1f1189186e1737caec2839 by Maik Qualmann.
Committed on 14/01/2021 at 06:49.
Pushed by mqualmann into branch &apos;master&apos;.

call wait() after stop() before call start() again
Otherwise a running task has not yet ended and and
is deleted when the QThreadPool is started again.
Related: bug 427380, bug 421043, bug 427333

M  +1    -0    core/utilities/facemanagement/threads/facepreviewloader.cpp

https://invent.kde.org/graphics/digikam/commit/46d4abd0cfcbdbdbab1f1189186e1737caec2839</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>