[Digikam-devel] Crash when closing digikam immediatly

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Jun 20 16:14:53 BST 2009

Am Samstag, 20. Juni 2009 schrieb Andi Clemens:
> Stupid mailing list with its limitations!
> Marcel, I will sent you the backtrace to your private mail address.
> Andi

The first error is enough info:
==1425== Thread 16:
==1425== Invalid read of size 4
==1425==    at 0x4D4BD8A: 
==1425==    by 0x4D5EC0C: Digikam::ThumbnailLoadingTask::execute() 
==1425==    by 0x4D466CE: Digikam::LoadSaveThread::run() 
==1425==    by 0x67092CD: (within /usr/lib/libQtCore.so.4.5.1)
==1425==    by 0x69186BB: start_thread (in /lib/libpthread-2.10.1.so)
==1425==    by 0x6B2FFFD: clone (in /lib/libc-2.10.1.so)
==1425==  Address 0xa735310 is 8 bytes inside a block of size 12 free'd
==1425==    at 0x4023A5A: operator delete(void*) (in /usr/lib/valgrind/x86-
==1425==    by 0x4D4D3F8: Digikam::LoadingCache::~LoadingCache() 
==1425==    by 0x4D4BC15: Digikam::LoadingCache::cleanUp() 
==1425==    by 0x4D53076: Digikam::LoadingCacheInterface::cleanUp() 
==1425==    by 0x8236C1D: Digikam::DigikamApp::~DigikamApp() 

~DigikamApp has been run, CacheLock is deleted, and the three default 
ThumbnailLoadThread should have been deleted already. The question is: which 
thread is Thread 16? Where is it created? You could add kDebug()<<this to 
constructor and destructor of ThumbnailLoadThread and check when they are 
Unfortunately, I dont get the crash currently.


More information about the Digikam-devel mailing list