Bug 220315

Summary: crash when starting with a usb album
Product: [Applications] digikam Reporter: Fareden <fareden>
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description Fareden 2009-12-27 21:34:12 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta5
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I have a BIG photographic archive in an USB drive, I'd registered my archive as a remote album in digikam. Digikam crashes when reading the albums after a long time... I think my album has a size of about 120gb at least.

The archive is stored in a ReiserFS USB drive.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7fcd65aa4750 (LWP 19381))]

Thread 2 (Thread 0x7fcd53ceb910 (LWP 19382)):
[KCrash Handler]
#5  0x00007fcd5e8ac4b5 in raise () from /lib/libc.so.6
#6  0x00007fcd5e8aff50 in abort () from /lib/libc.so.6
#7  0x00007fcd5e8a5481 in __assert_fail () from /lib/libc.so.6
#8  0x00007fcd5d96ac46 in ?? () from /usr/lib/libexiv2.so.5
#9  0x00007fcd5d96b9a4 in ?? () from /usr/lib/libexiv2.so.5
#10 0x00007fcd5d96e47f in Exiv2::CrwParser::decode(Exiv2::CrwImage*, unsigned char const*, unsigned int) () from /usr/lib/libexiv2.so.5
#11 0x00007fcd5d96fba7 in Exiv2::CrwImage::readMetadata() () from /usr/lib/libexiv2.so.5
#12 0x00007fcd641baa0a in KExiv2Iface::KExiv2::load(QString const&) const () from /usr/lib/libkexiv2.so.7
#13 0x00007fcd62cefe39 in Digikam::DMetadata::load(QString const&) const () from /usr/lib/libdigikamcore.so.1
#14 0x00007fcd6291d4e1 in Digikam::ImageScanner::loadFromDisk() () from /usr/lib/libdigikamdatabase.so.1
#15 0x00007fcd62922f88 in Digikam::ImageScanner::newFile(int) () from /usr/lib/libdigikamdatabase.so.1
#16 0x00007fcd628d474b in Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) () from /usr/lib/libdigikamdatabase.so.1
#17 0x00007fcd628d5f39 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.1
#18 0x00007fcd628d5e5b in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.1
#19 0x00007fcd628d5e5b in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.1
#20 0x00007fcd628d5e5b in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib/libdigikamdatabase.so.1
#21 0x00007fcd628d6637 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () from /usr/lib/libdigikamdatabase.so.1
#22 0x00007fcd628d6980 in Digikam::CollectionScanner::completeScan() () from /usr/lib/libdigikamdatabase.so.1
#23 0x00000000006c8d32 in ?? ()
#24 0x00007fcd5f3f1445 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fcd5d6f1a04 in start_thread () from /lib/libpthread.so.0
#26 0x00007fcd5e9587bd in clone () from /lib/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcd65aa4750 (LWP 19381)):
#0  0x00007fcd5d6f65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcd5f3f24fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fcd5f3f14e4 in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00000000006c8a47 in ?? ()
#4  0x00000000006cc9bb in ?? ()
#5  0x00000000006ccb57 in ?? ()
#6  0x00007fcd5e8b1c12 in exit () from /lib/libc.so.6
#7  0x00007fcd600c4328 in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007fcd61459498 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#9  0x00007fcd5dcf4fae in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fcd5dcfc9a5 in ?? () from /usr/lib/libX11.so.6
#11 0x00007fcd5dcfd257 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fcd5dce601b in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007fcd600fd67c in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fcd58dd2aaa in g_main_context_check () from /lib/libglib-2.0.so.0
#15 0x00007fcd58dd3290 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007fcd58dd36c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007fcd5f5001a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x00007fcd600fd4be in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007fcd5f4d6532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007fcd5f4d6904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00000000006ca0b1 in ?? ()
#22 0x00000000006699f3 in ?? ()
#23 0x000000000075fb45 in ?? ()
#24 0x00007fcd5e897abd in __libc_start_main () from /lib/libc.so.6
#25 0x000000000046f179 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2009-12-27 21:50:54 UTC
This entry is invalid, already reported and fixed.

Use digiKam 1.0.0 final release instead an old beta.

Gilles Caulier
Comment 2 caulier.gilles 2021-05-04 06:07:08 UTC
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4