Bug 202954

Summary: digikam crashes on start while scaning picture directory
Product: [Applications] digikam Reporter: Ali Tarihi <wandereroffullmoon>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Ali Tarihi 2009-08-07 14:52:40 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH x86_64
Distribution: "(none)"

What I was doing when the application crashed:
It is just like the other bug on Arch Linux and installing exiv2 did not solve the problem. 

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 0 (LWP 3181)]

Thread 2 (Thread 0x7ff90f582910 (LWP 3182)):
[KCrash Handler]
#5  0x00007ff918b7bf15 in raise () from /lib/libc.so.6
#6  0x00007ff918b7d340 in abort () from /lib/libc.so.6
#7  0x00007ff918b74f9a in __assert_fail () from /lib/libc.so.6
#8  0x00007ff915a627f3 in Exiv2::Internal::TiffMnEntry::doCount () from /usr/lib/libexiv2.so.5
#9  0x00007ff915a62c95 in Exiv2::Internal::TiffDirectory::writeDirEntry () from /usr/lib/libexiv2.so.5
#10 0x00007ff915a656e3 in Exiv2::Internal::TiffDirectory::doWrite () from /usr/lib/libexiv2.so.5
#11 0x00007ff915a63e2d in Exiv2::Internal::TiffSubIfd::doWriteData () from /usr/lib/libexiv2.so.5
#12 0x00007ff915a62238 in Exiv2::Internal::TiffDirectory::doWriteData () from /usr/lib/libexiv2.so.5
#13 0x00007ff915a6585b in Exiv2::Internal::TiffDirectory::doWrite () from /usr/lib/libexiv2.so.5
#14 0x00007ff915a690c8 in Exiv2::Internal::TiffParserWorker::encode () from /usr/lib/libexiv2.so.5
#15 0x00007ff915a693fb in Exiv2::TiffParser::encode () from /usr/lib/libexiv2.so.5
#16 0x00007ff915a13bcb in Exiv2::ExifParser::encode () from /usr/lib/libexiv2.so.5
#17 0x00007ff91d55e47d in KExiv2Iface::KExiv2::getExif () from /usr/lib/libkexiv2.so.7
#18 0x00007ff91bd4b14a in Digikam::ImageScanner::loadFromDisk () from /usr/lib/libdigikamdatabase.so.1
#19 0x00007ff91bd51098 in Digikam::ImageScanner::newFile () from /usr/lib/libdigikamdatabase.so.1
#20 0x00007ff91bd43f6b in Digikam::CollectionScanner::scanNewFile () from /usr/lib/libdigikamdatabase.so.1
#21 0x00007ff91bd452fa in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#22 0x00007ff91bd4521b in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#23 0x00007ff91bd45cf7 in Digikam::CollectionScanner::scanAlbumRoot () from /usr/lib/libdigikamdatabase.so.1
#24 0x00007ff91bd45fc7 in Digikam::CollectionScanner::completeScan () from /usr/lib/libdigikamdatabase.so.1
#25 0x0000000000641a63 in ?? ()
#26 0x00007ff9196a1285 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007ff916ba657a in start_thread () from /lib/libpthread.so.0
#28 0x00007ff918c1516d in clone () from /lib/libc.so.6
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff91ebc6760 (LWP 3181)):
#0  0x00007ff916baadd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff9196a234b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007ff9196a1324 in QThread::wait () from /usr/lib/libQtCore.so.4
#3  0x00000000006417c7 in ?? ()
#4  0x000000000064523b in ?? ()
#5  0x00000000006453d7 in ?? ()
#6  0x00007ff918b7e9e2 in __run_exit_handlers () from /lib/libc.so.6
#7  0x00007ff918b7ea35 in exit () from /lib/libc.so.6
#8  0x00007ff91a36d158 in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007ff91b18a9d8 in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5
#10 0x00007ff9176e632e in _XIOError () from /usr/lib/libX11.so.6
#11 0x00007ff9176ed405 in process_responses () from /usr/lib/libX11.so.6
#12 0x00007ff9176edcb7 in _XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007ff9176d6d9b in XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007ff91a3a4f9c in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007ff916df7a7a in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#16 0x00007ff916df8260 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#17 0x00007ff916df8690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007ff9197af22e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007ff91a3a4dde in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007ff919785612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0x00007ff9197859e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0x0000000000642c92 in ?? ()
#23 0x0000000000606e63 in ?? ()
#24 0x000000000066729a in ?? ()
#25 0x00007ff918b689ed in __libc_start_main () from /lib/libc.so.6
#26 0x0000000000457e79 in _start ()

This bug may be a duplicate of or related to bug 197868

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-07 19:04:50 UTC
The backtrace is like bug 200783 / bug 197868. 
The last exiv2 version should have fixed this. (may be this is a new case.. or your lib is not fully updated)
Thanks
Comment 2 Ali Tarihi 2009-08-07 19:56:56 UTC
Turned out there was a need to wipe the settings. Now it is working