[digikam] [Bug 427380] Crashes when running face detection

2020-10-06 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #1 from Maik Qualmann  ---
Have you really tested the last available digiKam-7.2.0-beta1?

digiKam-7.2.0-beta1-20201005T233421-Win64.exe

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #2 from register_kde_bugtrack...@littlemissfun.co.uk ---
I downloaded and installed this:

digiKam-7.2.0-beta1-20201005T233421-Win64.exe

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-06 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #3 from Dominic  ---
Just as an update.  The beta build is crashing far less often than 7.1.0.
I was getting a crash every 5-15 minutes I would say.
The 7.2.0 beta has only crash twice in the last 3 or 4 hours.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-06 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #4 from Maik Qualmann  ---
Did you attention to the memory usage, how high it was? At the moment we are
holding up to 50 image objects in the queue for the face engine, which can be
many gigabytes depending on the image size. I will reduce this number in the
queue for testing purposes.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-06 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #5 from Dominic  ---
Memory wasn't bad (the images are mostly 2-10MB).
I watched it intermittently and it never went over about 1.2Gb of RAM (the
machine has at least 6Gb free with this running so there's no pressure).

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-06 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #6 from Maik Qualmann  ---
Git commit 99dbe70e85912aca5f0d9dd7f5e36cd1343aac4e by Maik Qualmann.
Committed on 06/10/2020 at 18:38.
Pushed by mqualmann into branch 'master'.

reduce the packages in the face pipeline to save memory

M  +1-1core/utilities/facemanagement/threads/facepipeline_p.cpp

https://invent.kde.org/graphics/digikam/commit/99dbe70e85912aca5f0d9dd7f5e36cd1343aac4e

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #7 from Maik Qualmann  ---
A new build of digiKam-7.2.0-beta1 is available. Can you please test whether
the problem can still be reproduced?

https://files.kde.org/digikam/digiKam-7.2.0-beta1-20201008T123957-Win64.exe

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #8 from Dominic  ---
Yup, still crashes, but in a different way.
I get a standard windows Application Error dialog appearing (I'll attach a
screenshot).

I'll also run again to see if it fails in the previous way sometimes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #9 from Dominic  ---
Created attachment 132209
  --> https://bugs.kde.org/attachment.cgi?id=132209&action=edit
Screenshot of Application Error

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #10 from Dominic  ---
It's still crashing in the other way as well.  Windows just vanished with no
error dialog or anything like that appearing.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #11 from Dominic  ---
Sorry, disregard that last comment (2020-10-08 13:36:41 UTC).  I don't know
that to true just now - my mistake.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #12 from Dominic  ---
OK.  I can confirm it's still crashing by totally vanishing.

In the windows event log I found this:

Log Name:  Application
Source:Application Error
Date:  08/10/2020 14:43:58
Event ID:  1000
Task Category: (100)
Level: Error
Keywords:  Classic
User:  N/A
Computer:  badger
Description:
Faulting application name: digikam.exe, version: 0.0.0.0, time stamp:
0x
Faulting module name: libexiv2.dll, version: 0.0.0.0, time stamp: 0x
Exception code: 0xc005
Fault offset: 0x00029db9
Faulting process ID: 0x1aa8
Faulting application start time: 0x01d69d77fb8bd15e
Faulting application path: C:\Program Files\digiKam\digikam.exe
Faulting module path: C:\Program Files\digiKam\libexiv2.dll
Report ID: d359cd6f-0f37-42d3-ba01-b08e39d5d9e6
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
http://schemas.microsoft.com/win/2004/08/events/event";>
  

1000
0
2
100
0
0x80

10857


Application
badger

  
  
digikam.exe
0.0.0.0

libexiv2.dll
0.0.0.0

c005
00029db9
1aa8
01d69d77fb8bd15e
C:\Program Files\digiKam\digikam.exe
C:\Program Files\digiKam\libexiv2.dll
d359cd6f-0f37-42d3-ba01-b08e39d5d9e6




  


-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #13 from Dominic  ---
It feels like random.  
This time the crash is in a different library.


Log Name:  Application
Source:Application Error
Date:  08/10/2020 15:14:28
Event ID:  1000
Task Category: (100)
Level: Error
Keywords:  Classic
User:  N/A
Computer:  badger
Description:
Faulting application name: digikam.exe, version: 0.0.0.0, time stamp:
0x
Faulting module name: Qt5Core.dll, version: 5.15.1.0, time stamp: 0x
Exception code: 0xc005
Fault offset: 0x0001b30d
Faulting process ID: 0x2a4c
Faulting application start time: 0x01d69d7b0ba4fbc2
Faulting application path: C:\Program Files\digiKam\digikam.exe
Faulting module path: C:\Program Files\digiKam\Qt5Core.dll
Report ID: 9369758b-b70c-4002-a197-ce2160eed74d
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
http://schemas.microsoft.com/win/2004/08/events/event";>
  

1000
0
2
100
0
0x80

10942


Application
badger

  
  
digikam.exe
0.0.0.0

Qt5Core.dll
5.15.1.0

c005
0001b30d
2a4c
01d69d7b0ba4fbc2
C:\Program Files\digiKam\digikam.exe
C:\Program Files\digiKam\Qt5Core.dll
9369758b-b70c-4002-a197-ce2160eed74d




  


-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #14 from Maik Qualmann  ---
You should find a crash log in AppData\Local that might help us a little
better:

C:\Users\%USERNAME%\AppData\Local\digikam_crash.log

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #15 from Dominic  ---
I don't have a crash dump there but I do have some useful sounding files in
AppData/Local/CrashDumps...

Attaching one of those - hopefully helpful.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #16 from Dominic  ---
Ah, nope.  Those dumps are 50Mb (12Mb zipped) so can't attach them.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #17 from Dominic  ---
Is there some setting required to trigger the creation of the crash log files?

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #18 from Maik Qualmann  ---
@Gilles, will the crash log only be created with the debug version of Windows?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #19 from Maik Qualmann  ---
@Dominic, the Windows crash logs don't really help, although we can see that it
crashes in libexiv2 or in Qt. Do you have special images in your collection,
large TIFF files (gigapixel) or something similar?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2020-10-08 Thread Dominic
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #20 from Dominic  ---
No, nothing special at all in my photo collection, and I suspect that whatever
is making it crash, it subsequently gets past somehow as it's gradually making
progress.  When I first reported this it had scanned about 20% of my collection
and now it's at 80%.

I looked at a few of the debug logs when it was first happening and it was not
the case that the same images kept cropping up.  It was different ones each
time it crashed as far as I could tell.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2021-01-05 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #21 from Maik Qualmann  ---
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 429307, bug 421043, bug 427333

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

https://invent.kde.org/graphics/digikam/commit/df6e4fcf0157246f6d1d646f6d768d2b27e48f89

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2021-01-13 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #22 from Maik Qualmann  ---
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 429307, bug 421043, bug 427333

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

https://invent.kde.org/graphics/digikam/commit/d62937a9e0c3a496f8ccbdbe72835d08899d6718

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2021-01-13 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

--- Comment #23 from Maik Qualmann  ---
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 429307, bug 421043, bug 427333

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

https://invent.kde.org/graphics/digikam/commit/46d4abd0cfcbdbdbab1f1189186e1737caec2839

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 427380] Crashes when running face detection

2021-01-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=427380

Maik Qualmann  changed:

   What|Removed |Added

   Version Fixed In||7.2.0
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.