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-de...@kde.org Reporter: larsvancaste...@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 watching all bug changes.