Bug 238045

Summary: Random crashes of digikam
Product: [Applications] digikam Reporter: Mark van Rossum <mark.vanrossum>
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: ahuggel, caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 1.5.0
Sentry Crash Report:

Description Mark van Rossum 2010-05-18 15:20:51 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.3-85.fc13.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
While flipping through my photoalbum, digikam crashes occasionally.
It does not seem related to any particular picture I am viewin.

The crash can be reproduced some of the time.

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

Thread 18 (Thread 0xb62aab70 (LWP 8871)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0479fe8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x082c14a4 in ?? ()
#4  0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#5  0x006e9919 in start_thread (arg=0xb62aab70) at pthread_create.c:301
#6  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 17 (Thread 0xb5673b70 (LWP 8873)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xb5672f48) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x048bd98d in ?? () from /usr/lib/libQtCore.so.4
#6  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#8  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x06ba821e in ?? () from /usr/lib/libdigikamdatabase.so.1
#14 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#15 0x006e9919 in start_thread (arg=0xb5673b70) at pthread_create.c:301
#16 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 16 (Thread 0xb4c72b70 (LWP 8874)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xb4c71f48) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x048bd98d in ?? () from /usr/lib/libQtCore.so.4
#6  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#8  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x06ba821e in ?? () from /usr/lib/libdigikamdatabase.so.1
#14 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#15 0x006e9919 in start_thread (arg=0xb4c72b70) at pthread_create.c:301
#16 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 15 (Thread 0xb3effb70 (LWP 8875)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0479fe8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x02adaa5a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#5  0x006e9919 in start_thread (arg=0xb3effb70) at pthread_create.c:301
#6  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 14 (Thread 0xb34feb70 (LWP 8876)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xb34fdf68) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x048bd98d in ?? () from /usr/lib/libQtCore.so.4
#6  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#8  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#14 0x006e9919 in start_thread (arg=0xb34feb70) at pthread_create.c:301
#15 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 13 (Thread 0xb2afdb70 (LWP 8877)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xb2afcf68) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x048bd98d in ?? () from /usr/lib/libQtCore.so.4
#6  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#8  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#14 0x006e9919 in start_thread (arg=0xb2afdb70) at pthread_create.c:301
#15 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 12 (Thread 0xac09ab70 (LWP 8878)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed5e4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0118fc25 in ?? () from /usr/lib/libxine.so.1
#3  0x006e9919 in start_thread (arg=0xac09ab70) at pthread_create.c:301
#4  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 11 (Thread 0xab28eb70 (LWP 8879)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x005ff251 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x011ba9f9 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x0119e636 in ?? () from /usr/lib/libxine.so.1
#4  0x006e9919 in start_thread (arg=0xab28eb70) at pthread_create.c:301
#5  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 10 (Thread 0xaa88db70 (LWP 8880)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xaa88cf18) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#7  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x088b30cb in Phonon::Xine::XineThread::run (this=0x9378740) at /usr/src/debug/phonon-4.4.1/xine/xinethread.cpp:143
#13 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#14 0x006e9919 in start_thread (arg=0xaa88db70) at pthread_create.c:301
#15 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 9 (Thread 0xa9e8cb70 (LWP 8881)):
#0  0x00616fc9 in __libc_enable_asynccancel () at ../nptl/cancellation.c:60
#1  0x005fbf90 in __poll (fds=0x9387878, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x07a24ce3 in ?? () from /usr/lib/libpulse.so.0
#3  0x07a114ca in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x07a12d54 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x07a12e34 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x07a24a84 in ?? () from /usr/lib/libpulse.so.0
#7  0x079b1863 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x006e9919 in start_thread (arg=0xa9e8cb70) at pthread_create.c:301
#9  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 8 (Thread 0xa548ab70 (LWP 8882)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x011a1e18 in ?? () from /usr/lib/libxine.so.1
#3  0x006e9919 in start_thread (arg=0xa548ab70) at pthread_create.c:301
#4  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 7 (Thread 0xa4a89b70 (LWP 8883)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xa4a88ef8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x048bd98d in ?? () from /usr/lib/libQtCore.so.4
#6  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#8  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x014dd28d in ?? () from /usr/lib/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#14 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#15 0x006e9919 in start_thread (arg=0xa4a89b70) at pthread_create.c:301
#16 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xa4088b70 (LWP 8884)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0479fe8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x02adaa5a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#5  0x006e9919 in start_thread (arg=0xa4088b70) at pthread_create.c:301
#6  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xa0482b70 (LWP 8892)):
#0  0x00703df6 in clock_gettime (clock_id=1, tp=0xa0481ef8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x048ba93b in ?? () from /usr/lib/libQtCore.so.4
#2  0x048bf026 in ?? () from /usr/lib/libQtCore.so.4
#3  0x048bf06b in ?? () from /usr/lib/libQtCore.so.4
#4  0x048bd8f8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x048bd98d in ?? () from /usr/lib/libQtCore.so.4
#6  0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
#8  0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x048bd6ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x0479cc19 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x014dd28d in ?? () from /usr/lib/kde4/plugins/marble/GpsdPositionProviderPlugin.so
#14 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#15 0x006e9919 in start_thread (arg=0xa0482b70) at pthread_create.c:301
#16 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xa0e83b70 (LWP 8893)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0479fe8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x02adaa5a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#5  0x006e9919 in start_thread (arg=0xa0e83b70) at pthread_create.c:301
#6  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xa22ffb70 (LWP 8958)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0479fe8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x02adaa5a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#4  0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#5  0x006e9919 in start_thread (arg=0xa22ffb70) at pthread_create.c:301
#6  0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0x9cbb6b70 (LWP 8959)):
[KCrash Handler]
#6  0x00f43424 in __kernel_vsyscall ()
#7  0x00553d71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0055564a in abort () at abort.c:92
#9  0x00591d9d in __libc_message (do_abort=2, fmt=0x6778ec "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#10 0x005981e1 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0xa0fae138) at malloc.c:6280
#11 0x00caf4b2 in operator delete (ptr=0xa0fae138) at ../../../../libstdc++-v3/libsupc++/del_op.cc:44
#12 0x00c8e57e in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&) () from /usr/lib/libstdc++.so.6
#13 0x05085118 in _M_dispose (this=<value optimized out>, groupName=<value optimized out>) at /usr/include/c++/4.4.2/bits/basic_string.h:231
#14 ~basic_string (this=<value optimized out>, groupName=<value optimized out>) at /usr/include/c++/4.4.2/bits/basic_string.h:498
#15 Exiv2::Internal::TiffGroupInfo::operator== (this=<value optimized out>, groupName=<value optimized out>) at tiffcomposite.cpp:164
#16 0x05085174 in __find<Exiv2::Internal::TiffGroupInfo const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > (groupName=<value optimized out>)
    at /usr/include/c++/4.4.2/bits/stl_algo.h:174
#17 find<Exiv2::Internal::TiffGroupInfo const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > (groupName=<value optimized out>)
    at /usr/include/c++/4.4.2/bits/stl_algo.h:4224
#18 find<Exiv2::Internal::TiffGroupInfo const, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 73> (groupName=<value optimized out>) at types.hpp:527
#19 Exiv2::Internal::tiffGroupId (groupName=<value optimized out>) at tiffcomposite.cpp:176
#20 0x05092e3a in Exiv2::Internal::TiffEncoder::add (this=<value optimized out>, pRootDir=<value optimized out>, pSourceDir=<value optimized out>, root=<value optimized out>) at tiffvisitor.cpp:976
#21 0x0508b8f9 in Exiv2::Internal::TiffParserWorker::encode (io=<value optimized out>, pData=<value optimized out>, size=<value optimized out>, exifData=<value optimized out>, 
    iptcData=<value optimized out>, xmpData=<value optimized out>, root=<value optimized out>, findEncoderFct=<value optimized out>, pHeader=<value optimized out>) at tiffimage.cpp:1337
#22 0x0501c2bc in Exiv2::ExifParser::encode (blob=<value optimized out>, pData=<value optimized out>, size=<value optimized out>, byteOrder=<value optimized out>, exifData=<value optimized out>)
    at exif.cpp:717
#23 0x066e89b3 in encode (this=0x9cbb52a4, addExifHeader=false) at /usr/include/exiv2/exif.hpp:626
#24 KExiv2Iface::KExiv2::getExifEncoded (this=0x9cbb52a4, addExifHeader=false) at /usr/src/debug/kdegraphics-4.4.3/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:92
#25 0x029c2810 in ?? () from /usr/lib/libdigikamcore.so.1
#26 0x029c79d5 in Digikam::JPEGLoader::load(QString const&, Digikam::DImgLoaderObserver*) () from /usr/lib/libdigikamcore.so.1
#27 0x029b5bb1 in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib/libdigikamcore.so.1
#28 0x029b6e87 in Digikam::DImg::load(QString const&, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib/libdigikamcore.so.1
#29 0x02af1d35 in ?? () from /usr/lib/libdigikamcore.so.1
#30 0x02adaa2a in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#31 0x0479efef in ?? () from /usr/lib/libQtCore.so.4
#32 0x006e9919 in start_thread (arg=0x9cbb6b70) at pthread_create.c:301
#33 0x00606e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb78607b0 (LWP 8870)):
#0  0x00f43424 in __kernel_vsyscall ()
#1  0x006ed5e4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0479e8af in ?? () from /usr/lib/libQtCore.so.4
#3  0x0479ea04 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x088da0f4 in Phonon::Xine::Backend::~Backend (this=0x8ec5578, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/xine/backend.cpp:111
#5  0x088da323 in Phonon::Xine::Backend::~Backend (this=0x8ec5578, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/xine/backend.cpp:123
#6  0x04473ca7 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x8e2f1e0, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/factory.cpp:218
#7  0x04473e53 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x8e2f1e0, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/factory.cpp:222
#8  0x04472806 in destroy () at /usr/src/debug/phonon-4.4.1/phonon/factory.cpp:84
#9  0x0446ebec in Phonon::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0x44a5d90, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/globalstatic_p.h:55
#10 0x0055748f in __run_exit_handlers (status=1) at exit.c:78
#11 exit (status=1) at exit.c:100
#12 0x41389a0c in ?? () from /usr/lib/libQtGui.so.4
#13 0x064a4a6b in KApplication::xioErrhandler (this=0xbfe6c6d8, dpy=0x8aa90a8) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:408
#14 0x064a4aa7 in kde_xio_errhandler (dpy=0x8aa90a8) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:125
#15 0x0086ca57 in _XIOError (dpy=0x8aa90a8) at XlibInt.c:3138
#16 0x00874a43 in process_responses (dpy=<value optimized out>, wait_for_first_event=0, current_error=0x0, current_request=0) at xcb_io.c:247
#17 0x008753e7 in _XEventsQueued (dpy=0x8aa90a8, mode=2) at xcb_io.c:263
#18 0x0085d9fb in XEventsQueued (dpy=0x8aa90a8, mode=2) at Pending.c:44
#19 0x413c4666 in ?? () from /usr/lib/libQtGui.so.4
#20 0x0076c739 in g_main_context_check () from /lib/libglib-2.0.so.0
#21 0x0076d066 in ?? () from /lib/libglib-2.0.so.0
#22 0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x048bd6b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x413c4556 in ?? () from /usr/lib/libQtGui.so.4
#25 0x04893c1a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x04893f5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x04896627 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#28 0x41315e88 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#29 0x08346425 in ?? ()
#30 0x0053fcc6 in __libc_start_main (main=0x83432e0, argc=1, ubp_av=0xbfe6cb24, init=0x8347cf0 <__libc_csu_init>, fini=0x8347ce0 <__libc_csu_fini>, rtld_fini=0x4f5220 <_dl_fini>, stack_end=
    0xbfe6cb1c) at libc-start.c:226
#31 0x0809eef1 in _start ()

Possible duplicates by query: bug 236519, bug 236422, bug 215688, bug 201991, bug 197520.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-05-18 15:26:12 UTC
Crash come from Exiv2 library.

Which Exiv2 version you use ? Go to Help/Components Info for details

Please try to identify which file is relevant of this crash. In your backtrace, i can see that  a JPEG file is parsed. Try to reproduce the crash using Exiv2 command line tool.

Which camera you use ? Nikon ? If yes, there is an important fix in current implementation of Exiv2 from svn trunk about Nikon. I recommend to try this code (libkexiv2 + digiKam and co need to be recompiled of course)

Gilles Caulier
Comment 2 Mark van Rossum 2010-05-18 22:19:48 UTC
Yes, it is a Nikon.

But note that digikam crashes not always on the same picture.
Flipping to the photos with great speed seems to cause it.


Sorry, but  won't have time to recompile everything from source.
Comment 3 Mark van Rossum 2010-05-18 22:48:01 UTC
Libexiv version is 0.19.
Running exivtool on all jpg's is fine

exivtool -a -u -g1 ~/Pictures/x/*
Comment 4 caulier.gilles 2010-05-19 10:08:06 UTC
No. Exiv2 command line tool is... exiv2 (:=))). You have used exiftool, which is a Perl metadata management program. Exiv2 is a pure C++ libray to manage metadata. there is also a command line tool provided.

Gilles Caulier
Comment 5 Mark van Rossum 2010-05-20 23:51:19 UTC
Ok, I ran 
exiv2 *
no problems were detected
Comment 6 caulier.gilles 2010-05-27 05:44:46 UTC
*** Bug 238623 has been marked as a duplicate of this bug. ***
Comment 7 caulier.gilles 2010-10-06 13:24:27 UTC
Can you try to update digiKam to 1.4.0 and libexiv2 to 0.20 ?

Gilles Caulier
Comment 8 Mark van Rossum 2010-10-06 13:50:01 UTC
I have 1.40 and don't have this bug anymore.
I guess it can be closed.
Comment 9 caulier.gilles 2010-10-06 13:51:19 UTC
Thanks