Bug 203967

Summary: Digikam crashed when importing pictures
Product: [Applications] digikam Reporter: jakakukovic
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, caulier.gilles
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:

Description jakakukovic 2009-08-15 17:40:25 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta3
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH i686

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

Thread 10 (Thread 0xb1e92b70 (LWP 20323)):
#0  0xb7eff424 in __kernel_vsyscall ()
#1  0xb51babc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb55e03ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb57d0047 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0x083012e9 in ?? ()
#5  0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51b668c in start_thread () from /lib/libpthread.so.0
#7  0xb55d2e2e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb0c98b70 (LWP 20399)):
#0  0xb5280e16 in clock_gettime () from /lib/librt.so.1
#1  0xb58ea293 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb58ea481 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb58eb85c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb58e88b0 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5203c60 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5204001 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#7  0xb5204513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb58e8707 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb58bc579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb58bc9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb57cbdc3 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb6f3742d in Digikam::ImageFilterModelWorker::Thread::run () from /usr/lib/libdigikamdatabase.so.1
#13 0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb51b668c in start_thread () from /lib/libpthread.so.0
#15 0xb55d2e2e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb0497b70 (LWP 20400)):
#0  0xb5203c80 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0xb5204001 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0xb5204513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb58e8707 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0xb58bc579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb58bc9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0xb57cbdc3 in QThread::exec () from /usr/lib/libQtCore.so.4
#7  0xb6f3742d in Digikam::ImageFilterModelWorker::Thread::run () from /usr/lib/libdigikamdatabase.so.1
#8  0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb51b668c in start_thread () from /lib/libpthread.so.0
#10 0xb55d2e2e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xafc96b70 (LWP 20401)):
#0  0xb7eff424 in __kernel_vsyscall ()
#1  0xb51babc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb55e03ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb57d0047 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb712038a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51b668c in start_thread () from /lib/libpthread.so.0
#7  0xb55d2e2e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaf495b70 (LWP 20402)):
#0  0xb5280e16 in clock_gettime () from /lib/librt.so.1
#1  0xb58ea293 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb58ea481 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb58eb85c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb58e88b0 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5203c60 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5204001 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#7  0xb5204513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb58e8707 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb58bc579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb58bc9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb57cbdc3 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb51b668c in start_thread () from /lib/libpthread.so.0
#14 0xb55d2e2e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xaec94b70 (LWP 20403)):
#0  0xb5280e16 in clock_gettime () from /lib/librt.so.1
#1  0xb58ea293 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb58ea481 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb58eb85c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb58e88b0 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5203c60 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5204001 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#7  0xb5204513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb58e8707 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb58bc579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb58bc9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb57cbdc3 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb51b668c in start_thread () from /lib/libpthread.so.0
#14 0xb55d2e2e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xae493b70 (LWP 20404)):
#0  0xb7eff424 in __kernel_vsyscall ()
#1  0xb51babc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb55e03ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb57d0047 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb712038a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51b668c in start_thread () from /lib/libpthread.so.0
#7  0xb55d2e2e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaa6feb70 (LWP 20428)):
#0  0xb7eff424 in __kernel_vsyscall ()
#1  0xb51babc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb55e03ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb57d0047 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb712038a in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51b668c in start_thread () from /lib/libpthread.so.0
#7  0xb55d2e2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaaeffb70 (LWP 21984)):
[KCrash Handler]
#6  0xb7eff424 in __kernel_vsyscall ()
#7  0xb552f461 in raise () from /lib/libc.so.6
#8  0xb5530c62 in abort () from /lib/libc.so.6
#9  0xb552849e in __assert_fail () from /lib/libc.so.6
#10 0xb4ebfac3 in Exiv2::Internal::TiffMnEntry::doCount () from /usr/lib/libexiv2.so.5
#11 0xb4ebf251 in Exiv2::Internal::TiffComponent::count () from /usr/lib/libexiv2.so.5
#12 0xb4ecc7ad in Exiv2::Internal::TiffEncoder::updateDirEntry () from /usr/lib/libexiv2.so.5
#13 0xb4ecc8ff in Exiv2::Internal::TiffEncoder::visitDirectoryNext () from /usr/lib/libexiv2.so.5
#14 0xb4ec05c7 in Exiv2::Internal::TiffDirectory::doAccept () from /usr/lib/libexiv2.so.5
#15 0xb4ec038d in Exiv2::Internal::TiffComponent::accept () from /usr/lib/libexiv2.so.5
#16 0xb4ec04f9 in Exiv2::Internal::TiffSubIfd::doAccept () from /usr/lib/libexiv2.so.5
#17 0xb4ec038d in Exiv2::Internal::TiffComponent::accept () from /usr/lib/libexiv2.so.5
#18 0xb4ec055d in Exiv2::Internal::TiffDirectory::doAccept () from /usr/lib/libexiv2.so.5
#19 0xb4ec038d in Exiv2::Internal::TiffComponent::accept () from /usr/lib/libexiv2.so.5
#20 0xb4ec77e8 in Exiv2::Internal::TiffParserWorker::encode () from /usr/lib/libexiv2.so.5
#21 0xb4ec7ce0 in Exiv2::TiffParser::encode () from /usr/lib/libexiv2.so.5
#22 0xb4e64054 in Exiv2::ExifParser::encode () from /usr/lib/libexiv2.so.5
#23 0xb4e7725c in Exiv2::JpegBase::doWriteMetadata () from /usr/lib/libexiv2.so.5
#24 0xb4e78716 in Exiv2::JpegBase::writeMetadata () from /usr/lib/libexiv2.so.5
#25 0xb773f8b4 in KExiv2Iface::KExiv2::save () from /usr/lib/libkexiv2.so.7
#26 0xb7740867 in KExiv2Iface::KExiv2::applyChanges () from /usr/lib/libkexiv2.so.7
#27 0x0814791d in ?? ()
#28 0x08149dea in ?? ()
#29 0xb57cf032 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb51b668c in start_thread () from /lib/libpthread.so.0
#31 0xb55d2e2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb37d6930 (LWP 20314)):
#0  0xb7eff424 in __kernel_vsyscall ()
#1  0xb55c38cb in read () from /lib/libc.so.6
#2  0xb52038f0 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb520412c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#4  0xb5204513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb58e86cc in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb5e236c5 in ?? () from /usr/lib/libQtGui.so.4
#7  0xb58bc579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#8  0xb58bc9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#9  0xb58bee3f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#10 0xb5d85817 in QApplication::exec () from /usr/lib/libQtGui.so.4
#11 0x0837d263 in ?? ()
#12 0xb551ba36 in __libc_start_main () from /lib/libc.so.6
#13 0x0809de91 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2009-08-15 18:55:21 UTC
Crash appears in Exiv2 library. Which Exiv2 version you use exactly ? Look in Help/components Info for details.

Try to use Exiv2 0.18.2. digikam and libkexiv2 nedd to be recompiled...

Gilles Caulier
Comment 2 Dario Andres 2009-08-16 17:55:02 UTC
In fact, the backtrace looks related to the ones in bug 200783 / bug 197868.  (both fixed using recent exiv2 lib)
Thanks
Comment 3 caulier.gilles 2009-09-21 10:58:39 UTC

*** This bug has been marked as a duplicate of bug 200783 ***
Comment 4 caulier.gilles 2020-08-30 15:42:00 UTC
Fixed with bug #200783