Bug 207955

Summary: digikam crash database exiv2
Product: [Applications] digikam Reporter: Chatzis Nick <da3monicus>
Component: Metadata-EngineAssignee: 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: 7.1.0
Sentry Crash Report:

Description Chatzis Nick 2009-09-20 12:22:29 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH x86_64

What I was doing when the application crashed:
Digikam crashes whenever i try to scan my picture collection. This is propably a problem of exiv2 library. 
This is what they say in ubuntu forums :
https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/358576

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

Thread 5 (Thread 0x7fb1c26c6910 (LWP 2377)):
[KCrash Handler]
#5  0x00007fb1cf188f15 in raise () from /lib/libc.so.6
#6  0x00007fb1cf18a340 in abort () from /lib/libc.so.6
#7  0x00007fb1cf181f9a in __assert_fail () from /lib/libc.so.6
#8  0x00007fb1cc06f7f3 in Exiv2::Internal::TiffMnEntry::doCount () from /usr/lib/libexiv2.so.5
#9  0x00007fb1cc06fc95 in Exiv2::Internal::TiffDirectory::writeDirEntry () from /usr/lib/libexiv2.so.5
#10 0x00007fb1cc0726e3 in Exiv2::Internal::TiffDirectory::doWrite () from /usr/lib/libexiv2.so.5
#11 0x00007fb1cc070e2d in Exiv2::Internal::TiffSubIfd::doWriteData () from /usr/lib/libexiv2.so.5
#12 0x00007fb1cc06f238 in Exiv2::Internal::TiffDirectory::doWriteData () from /usr/lib/libexiv2.so.5
#13 0x00007fb1cc07285b in Exiv2::Internal::TiffDirectory::doWrite () from /usr/lib/libexiv2.so.5
#14 0x00007fb1cc0760c8 in Exiv2::Internal::TiffParserWorker::encode () from /usr/lib/libexiv2.so.5
#15 0x00007fb1cc0763fb in Exiv2::TiffParser::encode () from /usr/lib/libexiv2.so.5
#16 0x00007fb1cc020bcb in Exiv2::ExifParser::encode () from /usr/lib/libexiv2.so.5
#17 0x00007fb1d3b7147d in KExiv2Iface::KExiv2::getExif () from /usr/lib/libkexiv2.so.7
#18 0x00007fb1d235e14a in Digikam::ImageScanner::loadFromDisk () from /usr/lib/libdigikamdatabase.so.1
#19 0x00007fb1d2364098 in Digikam::ImageScanner::newFile () from /usr/lib/libdigikamdatabase.so.1
#20 0x00007fb1d2356f6b in Digikam::CollectionScanner::scanNewFile () from /usr/lib/libdigikamdatabase.so.1
#21 0x00007fb1d23582fa in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#22 0x00007fb1d235821b in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#23 0x00007fb1d2358cf7 in Digikam::CollectionScanner::scanAlbumRoot () from /usr/lib/libdigikamdatabase.so.1
#24 0x00007fb1d2358fc7 in Digikam::CollectionScanner::completeScan () from /usr/lib/libdigikamdatabase.so.1
#25 0x0000000000641a63 in ?? ()
#26 0x00007fb1cfcae285 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007fb1cd1b357a in start_thread () from /lib/libpthread.so.0
#28 0x00007fb1cf22214d in clone () from /lib/libc.so.6
#29 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb1c1a36910 (LWP 2378)):
#0  0x00007fb1cd1b7dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb1cfcaf34b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fb1d276e022 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007fb1cfcae285 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb1cd1b357a in start_thread () from /lib/libpthread.so.0
#5  0x00007fb1cf22214d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb1c1235910 (LWP 2379)):
#0  0x00007fb1cd1b7dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb1cfcaf34b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fb1d276e022 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007fb1cfcae285 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb1cd1b357a in start_thread () from /lib/libpthread.so.0
#5  0x00007fb1cf22214d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb1b7233910 (LWP 2382)):
#0  0x00007fb1cd1b7dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb1cfcaf34b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fb1d276e022 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007fb1cfcae285 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb1cd1b357a in start_thread () from /lib/libpthread.so.0
#5  0x00007fb1cf22214d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb1d51e4750 (LWP 2376)):
#0  0x00007fb1cf219993 in poll () from /lib/libc.so.6
#1  0x00007fb1c8eda89a in _xcb_conn_wait () from /usr/lib/libxcb.so.1
#2  0x00007fb1c8edae37 in _xcb_out_send () from /usr/lib/libxcb.so.1
#3  0x00007fb1c8edb0e5 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007fb1cdcfa7aa in _XSend () from /usr/lib/libX11.so.6
#5  0x00007fb1cdcfacd1 in _XEventsQueued () from /usr/lib/libX11.so.6
#6  0x00007fb1cdce3d9b in XEventsQueued () from /usr/lib/libX11.so.6
#7  0x00007fb1d09b4db5 in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007fb1cd401dbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9  0x00007fb1cd405568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#10 0x00007fb1cd405690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#11 0x00007fb1cfdbc1b6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#12 0x00007fb1d09b464e in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007fb1cfd925f2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#14 0x00007fb1cfd929c4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#15 0x0000000000642c92 in ?? ()
#16 0x00000000004947c8 in _start ()

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

Reported using DrKonqi
Comment 1 caulier.gilles 2009-09-20 12:26:22 UTC
Which exiv2 and libkexiv2 you use. Go to Help/Components info for details...

Gilles Caulier
Comment 2 Chatzis Nick 2009-09-20 14:08:41 UTC
libkexiv2 i think :  static const char kexiv2_version[] = "0.6.0";

and exiv2 : 0.18-1 says my package manager.
Comment 3 Dario Andres 2009-09-21 00:56:04 UTC
The backtrace looks related to the ones in bug 203967 / bug 200783 / bug 197868. 
(fixed using recent exiv2 lib)
@Gilles: could they be related ?
Thanks
Comment 4 caulier.gilles 2009-09-21 10:59:26 UTC
Dario,

Thanks to check this big puzzle... It's very appreciate

Gilles

*** This bug has been marked as a duplicate of bug 200783 ***
Comment 5 Chatzis Nick 2009-09-21 13:08:53 UTC
I think it will be solved after the upgrade.Thanx for looking at it anyway.
Comment 6 caulier.gilles 2020-08-30 15:39:48 UTC
Fixed with bug #200783