Bug 189993

Summary: Filescanner can't handle big collections
Product: [Applications] digikam Reporter: Benjamin Kleiner <bizzl>
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:
Attachments: Backtrace
Backtrace
Backtrace
A Backtrace with gdb

Description Benjamin Kleiner 2009-04-18 20:19:29 UTC
Version:           0.10.0 (using KDE 4.2.2)
Compiler:          GCC 4.3 
OS:                Linux
Installed from:    Ubuntu Packages

Apparently, digikam 0.10.0 can't handle big collections. It already crashed when reading in a 200 Mib directory (which is just a small portion of my collection).
I've played arround with several subdirectories of my whole collection, always with the same result: digikam crashes as soon as digikam4.db exceeds 11 Mib.
Comment 1 Benjamin Kleiner 2009-04-18 20:20:22 UTC
Created attachment 32915 [details]
Backtrace
Comment 2 Benjamin Kleiner 2009-04-18 20:20:40 UTC
Created attachment 32916 [details]
Backtrace
Comment 3 Benjamin Kleiner 2009-04-18 20:20:57 UTC
Created attachment 32917 [details]
Backtrace
Comment 4 caulier.gilles 2009-04-18 20:36:41 UTC
Please file us a GDB backtrace in text, running digiKam from a console, like it's explained here :

http://www.digikam.org/contrib

Gilles Caulier
Comment 5 Benjamin Kleiner 2009-04-18 21:48:52 UTC
Created attachment 32919 [details]
A Backtrace with gdb

Sorry, thought the kcrashhandler backtraces would be sufficient.
Comment 6 Andi Clemens 2009-04-18 21:55:40 UTC
The problem is not the directory size, but some images seem to be corrupt? At least the crash happens in exiv2 lib during file reading.
I have a folder with 1GB of files in it, no problem so far.
Can you start digiKam from a console and check the file that causes the crash? There should be some output.
Try to move this file out of the folder and see if it is working.

Andi
Comment 7 caulier.gilles 2009-04-18 22:09:12 UTC
Yes, it's another crash relevant of Exiv2.

Please update to last stable 0.18.1. libkexiv2, digiKam and kipi-plugins need to be recompiled

Gilles Caulier
Comment 8 Marcel Wiesweg 2009-04-19 15:00:14 UTC
May be the same as 189982. At least it's both exiv2's fault.
Comment 9 Marcel Wiesweg 2009-04-19 15:10:04 UTC

*** This bug has been marked as a duplicate of bug 189982 ***
Comment 10 caulier.gilles 2020-08-30 15:41:26 UTC
Fixed with bug #189982