https://bugs.kde.org/show_bug.cgi?id=523613

            Bug ID: 523613
           Summary: Digikam 9.1.0 freezes regularly on Windows
    Classification: Applications
           Product: digikam
      Version First 9.1.0
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Albums-ItemsGroup
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
I use digikam 9.1.0 on Windows. My database and library are on an internal NVMe
drive.

I have a small photo collection of around 1500 images. I grouped the JPEG and
RAWs together (grouped by file basename). When going through images in preview
to rate them, I often hit a long freeze that lasts 30s. I did not find a way to
reliably reproduce it but going through my pictures at a reasonable speed to
rate them seems to trigger the freeze after 10 or so pictures rated. It does
not happen when I rate the picture.

I dumped the backtrace in Windbg and the main thread is stopped on the
following reliably:

STEPS TO REPRODUCE
1. Have multiple images (raw + jpegs) grouped by filename in your library. The
more, the better to reproduce.
2. Scroll through the images and rate them.
3. After rating a couple of images, the freeze should happen.

OBSERVED RESULT
The software freeze/stops responding for 30s to 60s.

EXPECTED RESULT
The software does not freeze.

SOFTWARE/OS VERSIONS
Windows 10.0.26100 Build 26100

ADDITIONAL INFORMATION
WinDBG stacktrace of all the threads, collected during the freeze.
0:020> ~*kb

   0  Id: 5e88.a2c Suspend: 1 Teb: 00000015`3e496000 Unfrozen
 # RetAddr               : Args to Child                                       
                   : Call Site
00 00007ffa`ccd05896     : 00000000`00000000 00000000`00000067
00000000`00000067 00000191`11d550b0 : Qt5Core!QString::truncate+0x397
*** WARNING: Unable to verify checksum for C:\Program
Files\digiKam\digikamcore.dll
01 00007ffa`bd67185d     : 00000191`496242a0 00000191`152b6278
00000191`48a01c20 00000000`00000528 : Qt5Core!operator==+0x76
02 (Inline Function)     : --------`-------- --------`--------
--------`-------- --------`-------- : digikamcore!std::_Find_unchecked+0x23b
[C:\Program Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xutility @ 6160] 
03 (Inline Function)     : --------`-------- --------`--------
--------`-------- --------`-------- : digikamcore!std::find+0x23b [C:\Program
Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xutility @ 6174] 
04 (Inline Function)     : --------`-------- --------`--------
--------`-------- --------`-------- :
digikamcore!QList<QString>::contains_impl+0x23b
[E:\dk\x64-windows\include\qt5\QtCore\qlist.h @ 1100] 
05 (Inline Function)     : --------`-------- --------`--------
--------`-------- --------`-------- :
digikamcore!QList<QString>::contains+0x23b
[E:\dk\x64-windows\include\qt5\QtCore\qlist.h @ 1081] 
06 00007ffa`bd67356e     : 00000000`00000009 00000191`49250ab0
00000191`152b2fb0 00000191`14e5ea00 :
digikamcore!Digikam::LoadingCache::Private::cleanUpThumbnailFilePathHash+0x2bd
[E:\b\dktemp\digikam-v9.1.0\core\libs\threadimageio\fileio\loadingcache.cpp @
134] 
07 00007ffa`bd673f2b     : 00000000`00000528 00000191`6066a3b0
00000191`14e5ea00 00000191`6066a3b0 :
digikamcore!Digikam::LoadingCache::Private::mapThumbnailFilePath+0x3e
[E:\b\dktemp\digikam-v9.1.0\core\libs\threadimageio\fileio\loadingcache.cpp @
99] 
08 00007ffa`bd669bd4     : 00000191`6066a3b0 00000191`14e5ea00
00000015`3f5fbff9 00000191`3a95d660 :
digikamcore!Digikam::LoadingCache::putThumbnail+0xab
[E:\b\dktemp\digikam-v9.1.0\core\libs\threadimageio\fileio\loadingcache.cpp @
308] 
09 00007ffa`bd669f92     : 00000191`4f34f0d0 00007ffa`cd11b928
00000191`4f34f6d0 00000191`4f3202c0 :
digikamcore!Digikam::ThumbnailLoadThread::slotThumbnailLoaded+0x1f4
[E:\b\dktemp\digikam-v9.1.0\core\libs\threadimageio\thumb\thumbnailloadthread.cpp
@ 623] 
0a 00007ffa`cce418f6     : 00000191`00000001 00007ffa`cd11b928
00000191`4f34e030 00000191`3ad45868 :
digikamcore!Digikam::ThumbnailLoadThread::slotThumbnailsAvailable+0x2e2
[E:\b\dktemp\digikam-v9.1.0\core\libs\threadimageio\thumb\thumbnailloadthread.cpp
@ 581] 
*** WARNING: Unable to verify checksum for C:\Program
Files\digiKam\Qt5Widgets.dll
0b 00007ffa`d7df4b31     : 00000191`0edcaf20 00000191`0ed31820
00000191`15138540 00000191`3a95d660 : Qt5Core!QObject::event+0x176
0c 00007ffa`d7df3c01     : 00000191`0edc0bd0 00000015`3f5fc3e0
00000015`3f5ffa68 00007ffb`5e4cfe27 :
Qt5Widgets!QApplicationPrivate::notify_helper+0x111
0d 00007ffa`cce1b01b     : 00000191`15138540 00007ffb`5b7f2d7b
00000191`0ed10000 00000191`0edc0bd0 : Qt5Widgets!QApplication::notify+0x1841
0e 00007ffa`cce1cc5a     : 00000191`4ef53830 00000000`00000000
00000191`15138540 00000000`00000000 :
Qt5Core!QCoreApplication::notifyInternal2+0xbb
*** WARNING: Unable to verify checksum for C:\Program
Files\digiKam\plugins\platforms\qwindows.dll
0f 00007ffa`ad602b8f     : 00000191`15138540 00000000`00000000
00000191`0ed37df0 00000191`485fdf90 :
Qt5Core!QCoreApplicationPrivate::sendPostedEvents+0x1ea
10 00007ffa`cce62e01     : 00000191`0ed37df0 00000015`00000004
00000000`00000000 00000000`00000024 : qwindows!qt_plugin_query_metadata+0x1f1f
11 00007ffa`ad602b69     : 00000000`00000000 00000000`00000000
00000191`00000000 00000000`00000000 :
Qt5Core!QEventDispatcherWin32::processEvents+0x71
12 00007ffa`cce174ed     : 00000000`00000024 00007ffa`00000014
00000000`00000003 00000191`0edc0c00 : qwindows!qt_plugin_query_metadata+0x1ef9
13 00007ffa`cce19f55     : 00000191`0ee0ee58 00000000`00000000
00000015`3f5ffaa0 00007ffa`cceedcd0 : Qt5Core!QEventLoop::exec+0x1cd
*** WARNING: Unable to verify checksum for C:\Program Files\digiKam\digikam.dll
14 00007ffb`3ffe5062     : 00000000`00000000 00007ffb`3ffee178
00000191`11d70840 00007ffb`00000001 : Qt5Core!QCoreApplication::exec+0x155
15 00007ff7`bdce2b87     : 00000000`00000001 00000000`00000000
00000191`48a115e0 00007ffa`cd11b4f8 : digikam!digikam_main+0x3fb3
16 00007ff7`bdce16f6     : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : digikam_exe+0x2b87
17 00007ffb`5c9ee957     : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : digikam_exe+0x16f6
18 00007ffb`5e527c1c     : 00000000`00000000 00000000`00000000
000004f0`fffffb30 000004d0`fffffb30 : KERNEL32!BaseThreadInitThunk+0x17
19 00000000`00000000     : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2c

   1  Id: 5e88.248c Suspend: 1 Teb: 00000015`3e498000 Unfrozen
 # RetAddr               : Args to Child                                       
                   : Call Site
00 00007ffb`5e4cc97e     : 00000000`00000000 00000000`00000000
00007ffb`5e4cb8e0 00000191`0ed1f270 : ntdll!NtWaitForWorkViaWorkerFactory+0x14
01 00007ffb`5c9ee957     : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : ntdll!TppWorkerThread+0x37e
02 00007ffb`5e527c1c     : 00000000`00000000 00000000`00000000
000004f0`fffffb30 000004d0`fffffb30 : KERNEL32!BaseThreadInitThunk+0x17
03 00000000`00000000     : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2c

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

Reply via email to