[digikam] [Bug 368468] New: digiKam hanging at start up with a collection that has >100000 sub folders

Lars Van Casteren via KDE Bugzilla bugzilla_noreply at kde.org
Thu Sep 8 23:02:45 BST 2016


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

            Bug ID: 368468
           Summary: digiKam hanging at start up with a collection that has
                    >100000 sub folders
           Product: digikam
           Version: 5.2.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: AlbumsView
          Assignee: digikam-devel at kde.org
          Reporter: larsvancasteren at gmail.com

digiKam will scan the collection for pictures but it hangs when trying to
display the actual collection tree in the album view.

Reproducible: Always

Steps to Reproduce:
1. Remove all sqlite databases
2. Create a new root collection somewhere.
3. Create the huge hierarchy inside with this little script :

for ((i=1;i<=110000;i++)); do mkdir -p testdir/$i; done

4. Start digiKam in a console through GDB and setup root local collection to
the root dir of huge hierarchy.

Actual Results:  
digiKam will scan the collection for pictures but it hangs when trying to
display the actual collection tree in the album view.

Expected Results:  
The collection tree (ie the sub folders) should be visualised.

Problem became apparent when adding a directory that contained an OSX Photos
library. Logging showed it actually scans and finds all the images but hangs
after the discovery process, at that point it's trying to create the album tree
but does not complete.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list