Bug 429307 - Crash with face detection under Windows
Summary: Crash with face detection under Windows
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 14:42 UTC by Georg
Modified: 2021-01-19 17:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georg 2020-11-18 14:42:35 UTC
Nach jedem Start von digiKam Vers. 7.0.0 versuche ich "Sammlung nach Gesichtern durchsuchen" 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
Comment 1 Maik Qualmann 2020-11-18 15:40:59 UTC
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
Comment 2 caulier.gilles 2020-11-20 05:59:57 UTC
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
Comment 3 Maik Qualmann 2021-01-05 11:43:51 UTC
Git commit df6e4fcf0157246f6d1d646f6d768d2b27e48f89 by Maik Qualmann.
Committed on 05/01/2021 at 11:42.
Pushed by mqualmann into branch 'master'.

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
Comment 4 Maik Qualmann 2021-01-14 06:35:40 UTC
Git commit d62937a9e0c3a496f8ccbdbe72835d08899d6718 by Maik Qualmann.
Committed on 14/01/2021 at 06:33.
Pushed by mqualmann into branch 'master'.

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
Comment 5 Maik Qualmann 2021-01-14 06:50:33 UTC
Git commit 46d4abd0cfcbdbdbab1f1189186e1737caec2839 by Maik Qualmann.
Committed on 14/01/2021 at 06:49.
Pushed by mqualmann into branch 'master'.

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