Bug 263954 - Digikam crashes when trying to re-download new pictures from SD card
Summary: Digikam crashes when trying to re-download new pictures from SD card
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 1.7.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-22 11:37 UTC by Patrick
Modified: 2012-06-27 10:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2011-01-22 11:37:09 UTC
Application: digikam (1.7.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Digikam crashes when trying to download new pictures from SD card, using the device notifyer menu. I dowloaded pictures just before. They were supposed to be deleted but when I realize they were not, I went back to the download entry in the notifyer. From this point on, it crashes systematically.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Bus error
[Current thread is 1 (Thread 0x7f8d161007c0 (LWP 11592))]

Thread 19 (Thread 0x7f8cfed18710 (LWP 11594)):
#0  0x00007f8d0dcf039c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8d1161f2bb in wait (this=<value optimized out>, mutex=0xbfa900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xbfa900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000005e698d in ?? ()
#4  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xbbf680) at thread/qthread_unix.cpp:248
#5  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f8cfe517710 (LWP 11597)):
#0  0x00007f8d0dcef68e in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f8d08a50557 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a51de5 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0xc3d670, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cfe516dc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xc40810) at thread/qthread_unix.cpp:248
#9  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f8cfdd16710 (LWP 11598)):
#0  0x00007f8d0dcee0b4 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f8d08a50fae in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a51e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0xc8a6a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cfdd15dc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xc31500) at thread/qthread_unix.cpp:248
#9  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f8cfd371710 (LWP 11599)):
#0  0x00007f8d0dcf039c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8d1161f2bb in wait (this=<value optimized out>, mutex=0xb02268, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb02268, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8d13a624d7 in ?? () from /usr/lib64/libdigikamcore.so.1
#4  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xb02250) at thread/qthread_unix.cpp:248
#5  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f8cfcb70710 (LWP 11600)):
#0  0x00007f8d08a50e28 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8d08a51e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0xc32b60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cfcb6fdc0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xc95a40) at thread/qthread_unix.cpp:248
#8  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f8cf7fff710 (LWP 11601)):
#0  0x00007f8d0fcb16b3 in poll () from /lib64/libc.so.6
#1  0x00007f8d08a51fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0xc591d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cf7ffedc0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xc5a200) at thread/qthread_unix.cpp:248
#8  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f8cef218710 (LWP 11602)):
#0  0x00007f8d0dcf0709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8cf5ffb951 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f8cedddb710 (LWP 11603)):
#0  0x00007f8d0dcf0709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8cf600998f in video_out_loop () from /usr/lib64/libxine.so.1
#2  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f8ced5da710 (LWP 11604)):
#0  0x00007f8d0fcb16b3 in poll () from /lib64/libc.so.6
#1  0x00007f8d08a51fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x154c1e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8ced5d9d70, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8cf62593b4 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x154bbc0) at thread/qthread_unix.cpp:248
#9  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f8cecbcf710 (LWP 11607)):
#0  0x00007f8d0fcb16b3 in poll () from /lib64/libc.so.6
#1  0x00007f8cecbd49d7 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.29/xineplug_ao_out_alsa.so
#2  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f8cec3ce710 (LWP 11608)):
#0  0x00007f8d0dcf039c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8cf600d96b in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8cebbcd710 (LWP 11609)):
#0  0x00007f8d0fcc7a20 in pthread_mutex_unlock () from /lib64/libc.so.6
#1  0x00007f8d08a50f72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a51e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x1828bf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cebbccd80, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f8d116e7458 in QInotifyFileSystemWatcherEngine::run (this=0x182cb90) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x182cb90) at thread/qthread_unix.cpp:248
#10 0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8ce92f9710 (LWP 11616)):
#0  0x00007f8d08a51357 in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8d08a51edb in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x1d9dd20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8ce92f8d80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8d116e7458 in QInotifyFileSystemWatcherEngine::run (this=0x1d9cee0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x1d9cee0) at thread/qthread_unix.cpp:248
#9  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8cc189a710 (LWP 11665)):
#0  0x00007f8d0dcee0b4 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f8d08a524f8 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x5a94f10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#3  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cc1899d80, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f8d116e7458 in QInotifyFileSystemWatcherEngine::run (this=0x5a940d0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x5a940d0) at thread/qthread_unix.cpp:248
#8  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8cc1099710 (LWP 11672)):
#0  0x00007f8d0dcf13fc in pthread_getspecific () from /lib64/libpthread.so.0
#1  0x00007f8d1161eca1 in QThreadData::current () at thread/qthread_unix.cpp:136
#2  0x00007f8d1172e199 in postEventSourcePrepare (s=0x6156ff0, timeout=0x7f8cc1098bec) at kernel/qeventdispatcher_glib.cpp:253
#3  0x00007f8d08a50f7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d08a51e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x614c780, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#7  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cc1098d80, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#10 0x00007f8d116e7458 in QInotifyFileSystemWatcherEngine::run (this=0x614b940) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x614b940) at thread/qthread_unix.cpp:248
#12 0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8cbf095710 (LWP 11679)):
#0  0x00007f8d0fcb16b3 in poll () from /lib64/libc.so.6
#1  0x00007f8d08a51fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x666a2a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cbf094d80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8d116e7458 in QInotifyFileSystemWatcherEngine::run (this=0x6669460) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x6669460) at thread/qthread_unix.cpp:248
#9  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8cbe093710 (LWP 11686)):
#0  0x00007f8d0fcb16b3 in poll () from /lib64/libc.so.6
#1  0x00007f8d08a51fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d1172e6d6 in QEventDispatcherGlib::processEvents (this=0x6972c40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8d11705495 in QEventLoop::exec (this=0x7f8cbe092d80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8d1161c2cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8d116e7458 in QInotifyFileSystemWatcherEngine::run (this=0x6b0c7b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0x6b0c7b0) at thread/qthread_unix.cpp:248
#9  0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8cc0898710 (LWP 11700)):
[KCrash Handler]
#6  Exiv2::getUShort (buf=0x7f8cb754c3cc <Address 0x7f8cb754c3cc out of bounds>, byteOrder=Exiv2::bigEndian) at types.cpp:190
#7  0x00007f8d0d9f49e4 in Exiv2::Internal::TiffReader::visitDirectory (this=0x7f8cc0896590, object=0x7f8cb930a3b0) at tiffvisitor.cpp:1163
#8  0x00007f8d0d9e5ce6 in Exiv2::Internal::TiffDirectory::doAccept (this=0x7f8cb930a3b0, visitor=...) at tiffcomposite.cpp:897
#9  0x00007f8d0d9e5c3e in Exiv2::Internal::TiffSubIfd::doAccept (this=0x7f8cb80f8930, visitor=...) at tiffcomposite.cpp:912
#10 0x00007f8d0d9e5d17 in Exiv2::Internal::TiffDirectory::doAccept (this=0x7f8cb810e2e0, visitor=...) at tiffcomposite.cpp:900
#11 0x00007f8d0d9eb623 in Exiv2::Internal::TiffParserWorker::parse (pData=0x7f8cb7520000 "MM", size=11401651, root=<value optimized out>, pHeader=<value optimized out>) at tiffimage.cpp:1380
#12 0x00007f8d0d9ebeba in Exiv2::Internal::TiffParserWorker::decode (exifData=..., iptcData=..., xmpData=..., pData=<value optimized out>, size=<value optimized out>, root=<value optimized out>, 
    findDecoderFct=0x7f8d0d9eb240 <Exiv2::Internal::TiffMapping::findDecoder(std::string const&, uint32_t, uint16_t)>, pHeader=0x7f8cb8282f10) at tiffimage.cpp:1280
#13 0x00007f8d0d9ec033 in Exiv2::TiffParser::decode (exifData=<value optimized out>, iptcData=<value optimized out>, xmpData=<value optimized out>, pData=<value optimized out>, 
    size=<value optimized out>) at tiffimage.cpp:202
#14 0x00007f8d0d9ec13d in Exiv2::TiffImage::readMetadata (this=0x7f8cb823ffb0) at tiffimage.cpp:157
#15 0x00007f8d14803e98 in KExiv2Iface::KExiv2::load(QString const&) const () from /usr/lib64/libkexiv2.so.8
#16 0x00007f8d139e87e9 in Digikam::DMetadata::load(QString const&) const () from /usr/lib64/libdigikamcore.so.1
#17 0x000000000072433d in ?? ()
#18 0x00000000007119b7 in ?? ()
#19 0x0000000000717049 in ?? ()
#20 0x00007f8d1161ebf5 in QThreadPrivate::start (arg=0xad698e0) at thread/qthread_unix.cpp:248
#21 0x00007f8d0dceba4f in start_thread () from /lib64/libpthread.so.0
#22 0x00007f8d0fcba82d in clone () from /lib64/libc.so.6
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8d161007c0 (LWP 11592)):
#0  0x00007f8d0fcc7bc2 in __libc_disable_asynccancel () from /lib64/libc.so.6
#1  0x00007f8d0fcb16c7 in poll () from /lib64/libc.so.6
#2  0x00007f8d06a5cc0a in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f8d06a5d169 in ?? () from /usr/lib64/libxcb.so.1
#4  0x00007f8d06a5d1f7 in xcb_writev () from /usr/lib64/libxcb.so.1
#5  0x00007f8d0e486776 in _XSend () from /usr/lib64/libX11.so.6
#6  0x00007f8d0e472da7 in ?? () from /usr/lib64/libX11.so.6
#7  0x00007f8d0e472f8d in XPutImage () from /usr/lib64/libX11.so.6
#8  0x00007f8d10965853 in QX11PixmapData::fromImage (this=0xab251e0, img=<value optimized out>, flags=...) at image/qpixmap_x11.cpp:612
#9  0x00007f8d1095262f in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:1993
#10 0x00007f8d109b37bd in QPaintEngine::drawImage (this=0xae10610, r=..., image=..., sr=<value optimized out>, flags=<value optimized out>) at painting/qpaintengine.cpp:623
#11 0x00007f8d10a6ba12 in QX11PaintEngine::drawImage (this=0xae10610, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#12 0x00007f8d109c7595 in QPainterPrivate::draw_helper (this=0xf9d960, originalPath=<value optimized out>, op=<value optimized out>) at painting/qpainter.cpp:484
#13 0x00007f8d109c98f2 in QPainter::drawRoundedRect (this=0x7fff0548ffb0, rect=<value optimized out>, xRadius=<value optimized out>, yRadius=<value optimized out>, mode=<value optimized out>)
    at painting/qpainter.cpp:4150
#14 0x00007f8d03d8da5d in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#15 0x00007f8d03dbe512 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#16 0x00007f8d03dc1607 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#17 0x00007f8d03d8c5cc in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#18 0x00007f8d1202a9c4 in KStyle::drawComplexControl (this=0xbbeda0, cc=QStyle::CC_ComboBox, opt=0x7fff0548ff40, p=0x7fff0548ffb0, w=0x344bc10)
    at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kstyle.cpp:3392
#19 0x00007f8d03d7f20a in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#20 0x00007f8d10c39b38 in drawComplexControl (this=0x344bc10) at ../../src/gui/painting/qstylepainter.h:94
#21 QComboBox::paintEvent (this=0x344bc10) at widgets/qcombobox.cpp:2754
#22 0x00007f8d108d1d6e in QWidget::event (this=0x344bc10, event=0x7fff054907e0) at kernel/qwidget.cpp:8190
#23 0x00007f8d108814d4 in QApplicationPrivate::notify_helper (this=0xaa78d0, receiver=0x344bc10, e=0x7fff054907e0) at kernel/qapplication.cpp:4302
#24 0x00007f8d10889aca in QApplication::notify (this=<value optimized out>, receiver=0x344bc10, e=0x7fff054907e0) at kernel/qapplication.cpp:4185
#25 0x00007f8d1202b876 in KApplication::notify (this=0x7fff05492c50, receiver=0x344bc10, event=0x7fff054907e0) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#26 0x00007f8d11705e4c in QCoreApplication::notifyInternal (this=0x7fff05492c50, receiver=0x344bc10, event=0x7fff054907e0) at kernel/qcoreapplication.cpp:726
#27 0x00007f8d108cd1b2 in sendSpontaneousEvent (this=0x344c030, pdev=0xc0a9a8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc62560)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (this=0x344c030, pdev=0xc0a9a8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc62560) at kernel/qwidget.cpp:5363
#29 0x00007f8d108cdd7f in QWidgetPrivate::paintSiblingsRecursive (this=0x34490d0, pdev=0xc0a9a8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0xc62560) at kernel/qwidget.cpp:5476
#30 0x00007f8d108cdc3c in QWidgetPrivate::paintSiblingsRecursive (this=0x34490d0, pdev=0xc0a9a8, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc62560)
    at kernel/qwidget.cpp:5463
#31 0x00007f8d108ccf1a in QWidgetPrivate::drawWidget (this=0x34490d0, pdev=0xc0a9a8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xc62560)
    at kernel/qwidget.cpp:5412
#32 0x00007f8d108cdd7f in QWidgetPrivate::paintSiblingsRecursive (this=0x1ee0c90, pdev=0xc0a9a8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0xc62560) at kernel/qwidget.cpp:5476
#33 0x00007f8d108cdc3c in QWidgetPrivate::paintSiblingsRecursive (this=0x1ee0c90, pdev=0xc0a9a8, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc62560)
    at kernel/qwidget.cpp:5463
#34 0x00007f8d108cdc3c in QWidgetPrivate::paintSiblingsRecursive (this=0x1ee0c90, pdev=0xc0a9a8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xc62560)
    at kernel/qwidget.cpp:5463
#35 0x00007f8d108ccf1a in QWidgetPrivate::drawWidget (this=0x1ee0c90, pdev=0xc0a9a8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xc62560)
    at kernel/qwidget.cpp:5412
#36 0x00007f8d108cdd7f in QWidgetPrivate::paintSiblingsRecursive (this=0xccca00, pdev=0xc0a9a8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0xc62560) at kernel/qwidget.cpp:5476
#37 0x00007f8d108ccf1a in QWidgetPrivate::drawWidget (this=0xccca00, pdev=0xc0a9a8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xc62560)
    at kernel/qwidget.cpp:5412
#38 0x00007f8d10a81231 in QWidgetBackingStore::sync (this=0xc62560) at painting/qbackingstore.cpp:1300
#39 0x00007f8d108c3940 in QWidgetPrivate::syncBackingStore (this=0xccca00) at kernel/qwidget.cpp:1688
#40 0x00007f8d108d2272 in QWidget::event (this=0xc87310, event=0xab64a10) at kernel/qwidget.cpp:8337
#41 0x00007f8d10c7da6b in QMainWindow::event (this=0xc87310, event=0xab64a10) at widgets/qmainwindow.cpp:1414
#42 0x00007f8d120a6cd3 in KXmlGuiWindow::event (this=0xc87310, ev=0xab64a10) at /usr/src/debug/kdelibs-4.5.5/kdeui/xmlgui/kxmlguiwindow.cpp:132
#43 0x00007f8d108814d4 in QApplicationPrivate::notify_helper (this=0xaa78d0, receiver=0xc87310, e=0xab64a10) at kernel/qapplication.cpp:4302
#44 0x00007f8d10889aca in QApplication::notify (this=<value optimized out>, receiver=0xc87310, e=0xab64a10) at kernel/qapplication.cpp:4185
#45 0x00007f8d1202b876 in KApplication::notify (this=0x7fff05492c50, receiver=0xc87310, event=0xab64a10) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#46 0x00007f8d11705e4c in QCoreApplication::notifyInternal (this=0x7fff05492c50, receiver=0xc87310, event=0xab64a10) at kernel/qcoreapplication.cpp:726
#47 0x00007f8d117095ba in sendEvent (receiver=0x0, event_type=0, data=0xa5c550) at kernel/qcoreapplication.h:215
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa5c550) at kernel/qcoreapplication.cpp:1367
#49 0x00007f8d1172e173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#50 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#51 0x00007f8d08a51a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f8d08a52270 in ?? () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f8d08a52510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f8d1172e67f in QEventDispatcherGlib::processEvents (this=0xa62000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#55 0x00007f8d1092214e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f8d11705292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f8d11705495 in QEventLoop::exec (this=0x7fff05492a90, flags=...) at kernel/qeventloop.cpp:201
#58 0x00007f8d1170988b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#59 0x0000000000627e65 in ?? ()
#60 0x00007f8d0fc08b7d in __libc_start_main () from /lib64/libc.so.6
#61 0x000000000047cbb9 in _start ()

Possible duplicates by query: bug 254357.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-01-22 11:40:38 UTC
Crash appear in Exiv2 library.

Go To Help/Components Info and copy & paste content here.

Also, if you can provide a file which crash Exiv2, it will be nice.

I CC Andreas Huggel here, who is lead Exiv2 developer.

Gilles Caulier
Comment 2 Patrick 2011-01-22 11:49:06 UTC
Please find requested info below. How could I know which file is causing the crash? It happens when the window to download new pictures is starting to load the contents of the card.

digiKam version 1.7.0
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: No
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibClapack: internal library
LibExiv2: 0.19
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.5.5 (KDE 4.5.5) "release 1"
LibKExiv2: 1.1.0
LibKdcraw: 1.1.0
LibLCMS: 118
LibLensFun: external shared library
LibLqr: internal library
LibPGF: 6.09.44 - internal library
LibPNG: 1.4.3
LibQt: 4.6.3
LibRaw: 0.11.3
LibTIFF: LIBTIFF, Version 3.9.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble widget: 0.10.3
Parallelized demosaicing: Yes
Database backend: QSQLITE
LibGphoto2: 2.4.9
LibKipi: 1.1.0
Comment 3 Marcel Wiesweg 2011-01-22 14:24:20 UTC
Is it read from an SD card in a card reader or USB mass storage camera? Then you could access it like a normal file, open it in dolphin etc.
Try using the exiv2 command line utility in this case:
exiv2 /media/path/of/images/*
and see if it crashes
Comment 4 caulier.gilles 2011-01-22 14:27:34 UTC
As TIFF reader is used in Exiv2 during crash i suspect that it's a JPEG file from your camera.

Exiv2 has a command line tool named... "exiv2". Install it and try to read metadata from image with this tool. If it crash...

But you use Exiv2 0.19. I recommend to update to last 0.21. libkexiv2 and digiKam need to be recompiled too.

Gilles Caulier
Comment 5 Andreas Huggel 2011-01-22 14:43:14 UTC
Yes, this looks like an exiv2 issue. As Gilles and Marcel said, please try to identify the image and post it here or (better) report an issue at dev.exiv2.org and append the image to the bug report. Thanks!

* Install the exiv2 command line utility, v0.21
* Download your pictures into a folder
* Run exiv2 over all of them and see which one causes the crash
  $ exiv2 -v *
Comment 6 Patrick 2011-01-22 18:04:24 UTC
I have not upgraded yet but I am getting this:

exiv2 -v *
File   1/235: _DSC7460.NEF
Bus error

In fact, I then tried to manipulate the files from Dolphin or the command line but the SD card FS supposedly became read only. I tried to copy all the files to my HD but I get an "error 5" from Dolphin. I then chose to skip the ones giving that error. The result copy is that I have the half of the files with a 32kB size. 1/4 of them is an intermediate size and the remaining 1/4 seems to be intact.

I suspect something went wrong when Digikam tried to delete the files after having copied them. Do you wish to investigate something on this or do I go for a reformatting of the card?
Comment 7 Marcel Wiesweg 2011-01-24 14:00:08 UTC
The truncated files you downloaded - does the exiv2 utility crash on them? In that case, Andreas will be interested in a sample, to ensure a recent exiv2 version gives an error instead of crashing ;-)
Comment 8 Patrick 2011-01-24 20:00:15 UTC
On the copy on my HD, it goes fine. Anything which could be useful from the SD card?
Comment 9 Patrick 2011-01-24 20:01:15 UTC
I meant that it gives errors and warnings about the copied files.
Comment 10 caulier.gilles 2011-01-24 21:26:44 UTC
Which errors / warnings ?

Gilles Caulier
Comment 11 Patrick 2011-01-24 22:14:53 UTC
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds; ignoring it.
Error: Upper boundary of data for directory Photo, entry 0x927c is out of bounds: Offset = 0x000003f4, size = 122882, exceeds buffer size by 91126 Bytes; adjusting the size
Warning: Directory NikonPreview, entry 0x0201: Data area exceeds data buffer, ignoring it.
Error: Directory Image, entry 0x8825 Sub-IFD pointer 0 is out of bounds; ignoring it.
Comment 12 caulier.gilles 2011-01-25 06:48:09 UTC
these messages are internal warnings coming from Exiv2 library. This is not relevant of your card reader device or your camera.

Gilles Caulier
Comment 13 Patrick 2011-01-25 20:54:05 UTC
Indeed, I get those on the truncated copies made to my HD.
Comment 14 Dario Andres 2011-01-30 23:59:13 UTC
[Comment from a bug triager]
Backtrace is indeed mostly the same as the one in bug 254357.
Comment 15 caulier.gilles 2011-07-06 11:04:37 UTC
*** Bug 254357 has been marked as a duplicate of this bug. ***
Comment 16 Marcel Wiesweg 2011-09-25 13:38:32 UTC
Any news here with a recent 2.x version?
Comment 17 Patrick 2011-09-26 20:42:52 UTC
Is this question addressed to me? What do you want me to check? As mentioned in comment 6, I didn't block the SD since then for the sole purpose of this bug report.
Comment 18 Marcel Wiesweg 2011-09-27 19:34:17 UTC
Ok, seems we have an unreproducible situation then. And, as I understand, none of the truncated files on your harddisk crash the exiv2 utility?
Comment 19 caulier.gilles 2011-11-03 12:42:02 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 20 Patrick 2011-11-04 19:58:28 UTC
Gilles, see comment 17, please.
Comment 21 caulier.gilles 2011-11-04 20:01:36 UTC
Bus error ?

Sound like your SD card (or reader) device is broken...

Gilles Caulier
Comment 22 Patrick 2011-11-04 20:18:00 UTC
Gilles, My SD card works fine as does the reader but that's a while a go and I've formatted the card since then. Shouldn't we just forget about this one?
Comment 23 caulier.gilles 2011-11-04 20:39:35 UTC
well, the question is simple. Can you reproduce the crash or not ?

If it's disappear, well this file can be closed...

Gilles Caulier
Comment 24 Patrick 2011-11-04 20:55:48 UTC
Gilles, I don't have the corrupted SD card anymore and therefore can't reproduce.