Bug 273374 - DigiKam crashes when trying to write metadata to all images
Summary: DigiKam crashes when trying to write metadata to all images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Metadata (show other bugs)
Version: 1.9.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-15 23:53 UTC by neil underwood
Modified: 2017-08-13 15:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments
one white picture that let digikam crash (139.16 KB, image/jpeg)
2015-10-31 21:48 UTC, raving
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neil underwood 2011-05-15 23:53:01 UTC
Application: digikam (1.9.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.13-91.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
trying to write metadata to all jpg images in a folder.  these files didn't have exif info and I had to create exif files with jhead prior to attempting this in DigiKam.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f397affd8c0 (LWP 25103))]

Thread 12 (Thread 0x7f396f853700 (LWP 25104)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000031ab07457b in wait (this=<value optimized out>, mutex=0x1ba1d60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ba1d60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005e4185 in Digikam::ScanController::run (this=0x1bd2140) at /usr/src/debug/digikam-1.9.0/digikam/scancontroller.cpp:571
#4  0x00000031ab073e95 in QThreadPrivate::start (arg=0x1bd2140) at thread/qthread_unix.cpp:320
#5  0x0000003b08806ccb in start_thread (arg=0x7f396f853700) at pthread_create.c:301
#6  0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f396f052700 (LWP 25106)):
#0  0x0000003b0a441340 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x0000003b0a442209 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f39600022a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f396f051cc0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab073e95 in QThreadPrivate::start (arg=0x210f570) at thread/qthread_unix.cpp:320
#8  0x0000003b08806ccb in start_thread (arg=0x7f396f052700) at pthread_create.c:301
#9  0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f396e503700 (LWP 25107)):
#0  0x0000003b080d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f39640008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f396e502cc0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab073e95 in QThreadPrivate::start (arg=0x210fa10) at thread/qthread_unix.cpp:320
#8  0x0000003b08806ccb in start_thread (arg=0x7f396e503700) at pthread_create.c:301
#9  0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f396dc75700 (LWP 25108)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000031ab07457b in wait (this=<value optimized out>, mutex=0x21125b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21125b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000038ac8b0f27 in Digikam::ParkingThread::run (this=0x21125a0) at /usr/src/debug/digikam-1.9.0/libs/threads/threadmanager.cpp:119
#4  0x00000031ab073e95 in QThreadPrivate::start (arg=0x21125a0) at thread/qthread_unix.cpp:320
#5  0x0000003b08806ccb in start_thread (arg=0x7f396dc75700) at pthread_create.c:301
#6  0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f396d474700 (LWP 25109)):
#0  0x0000003b080d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f395c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f396d473cc0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab073e95 in QThreadPrivate::start (arg=0x2154060) at thread/qthread_unix.cpp:320
#8  0x0000003b08806ccb in start_thread (arg=0x7f396d474700) at pthread_create.c:301
#9  0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f396cc73700 (LWP 25110)):
#0  0x0000003b0880a7d9 in __pthread_mutex_unlock_usercnt (mutex=0x7f39500009b8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f39500009b8) at pthread_mutex_unlock.c:290
#2  0x0000003b0a441ab2 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x0000003b0a442392 in ?? () from /lib64/libglib-2.0.so.0
#4  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f39500008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000031ab15c77c in QEventLoop::exec (this=0x7f396cc72cc0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00000031ab073e95 in QThreadPrivate::start (arg=0x21581d0) at thread/qthread_unix.cpp:320
#10 0x0000003b08806ccb in start_thread (arg=0x7f396cc73700) at pthread_create.c:301
#11 0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f394bffe700 (LWP 25114)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x0000003b080d7268 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#3  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f39440022c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000031ab15c77c in QEventLoop::exec (this=0x7f394bffdc80, flags=...) at kernel/qeventloop.cpp:201
#7  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00000031ab13de08 in QInotifyFileSystemWatcherEngine::run (this=0x2e08ce0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00000031ab073e95 in QThreadPrivate::start (arg=0x2e08ce0) at thread/qthread_unix.cpp:320
#10 0x0000003b08806ccb in start_thread (arg=0x7f394bffe700) at pthread_create.c:301
#11 0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f3941394700 (LWP 25121)):
#0  0x0000003b080d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f39340008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f3941393c80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab13de08 in QInotifyFileSystemWatcherEngine::run (this=0x3172840) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000031ab073e95 in QThreadPrivate::start (arg=0x3172840) at thread/qthread_unix.cpp:320
#9  0x0000003b08806ccb in start_thread (arg=0x7f3941394700) at pthread_create.c:301
#10 0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f38d8ff9700 (LWP 25164)):
#0  0x0000003b080d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f38dc012a80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f38d8ff8c80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab13de08 in QInotifyFileSystemWatcherEngine::run (this=0x3ba1810) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000031ab073e95 in QThreadPrivate::start (arg=0x3ba1810) at thread/qthread_unix.cpp:320
#9  0x0000003b08806ccb in start_thread (arg=0x7f38d8ff9700) at pthread_create.c:301
#10 0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f38d0ff9700 (LWP 25171)):
#0  0x0000003b080d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f38e4012a80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f38d0ff8c80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab13de08 in QInotifyFileSystemWatcherEngine::run (this=0x4087f30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000031ab073e95 in QThreadPrivate::start (arg=0x4087f30) at thread/qthread_unix.cpp:320
#9  0x0000003b08806ccb in start_thread (arg=0x7f38d0ff9700) at pthread_create.c:301
#10 0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f38cbfff700 (LWP 25178)):
#0  0x0000003b080d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b0a442374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031ab1883a6 in QEventDispatcherGlib::processEvents (this=0x7f38e8012880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031ab15c77c in QEventLoop::exec (this=0x7f38cbffec80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000031ab0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000031ab13de08 in QInotifyFileSystemWatcherEngine::run (this=0x43a9310) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000031ab073e95 in QThreadPrivate::start (arg=0x43a9310) at thread/qthread_unix.cpp:320
#9  0x0000003b08806ccb in start_thread (arg=0x7f38cbfff700) at pthread_create.c:301
#10 0x0000003b080e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f397affd8c0 (LWP 25103)):
[KCrash Handler]
#6  0x0000003b080330c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003b08034a76 in abort () at abort.c:92
#8  0x0000003b0802b905 in __assert_fail (assertion=0x31b5fb1586 "tiffType() == ttUndefined", file=<value optimized out>, line=1032, function=<value optimized out>) at assert.c:81
#9  0x00000031b5f03d0f in Exiv2::Internal::TiffMnEntry::doCount (this=0x0) at tiffcomposite.cpp:1032
#10 0x00000031b5f18552 in Exiv2::Internal::TiffEncoder::updateDirEntry (this=<value optimized out>, buf=0x4915878 "\222|", byteOrder=Exiv2::bigEndian, pTiffComponent=<value optimized out>) at tiffvisitor.cpp:699
#11 0x00000031b5f18667 in Exiv2::Internal::TiffEncoder::visitDirectoryNext (this=0x7fff7d869b60, object=0x1d2a3b0) at tiffvisitor.cpp:686
#12 0x00000031b5f05f34 in Exiv2::Internal::TiffDirectory::doAccept (this=0x1d2a3b0, visitor=...) at tiffcomposite.cpp:917
#13 0x00000031b5f05dee in Exiv2::Internal::TiffSubIfd::doAccept (this=0x321f1f0, visitor=...) at tiffcomposite.cpp:927
#14 0x00000031b5f05ec7 in Exiv2::Internal::TiffDirectory::doAccept (this=0x4938240, visitor=...) at tiffcomposite.cpp:915
#15 0x00000031b5f0f72f in Exiv2::Internal::TiffParserWorker::encode (io=..., pData=<value optimized out>, size=<value optimized out>, exifData=..., iptcData=..., xmpData=..., root=131072, findEncoderFct=0x31b5f0ee60 <Exiv2::Internal::TiffMapping::findEncoder(std::string const&, uint32_t, Exiv2::Internal::IfdId)>, pHeader=0x4a63e10) at tiffimage.cpp:1821
#16 0x00000031b5e940aa in Exiv2::ExifParser::encode (blob=std::vector of length 0, capacity 0, pData=0x4914ef0 "MM", size=18062, byteOrder=Exiv2::bigEndian, exifData=<value optimized out>) at exif.cpp:723
#17 0x00000031b5ea70ae in Exiv2::JpegBase::doWriteMetadata (this=0x1dbee20, outIo=...) at jpgimage.cpp:674
#18 0x00000031b5ea83a5 in Exiv2::JpegBase::writeMetadata (this=0x1dbee20) at jpgimage.cpp:499
#19 0x00000039a7a1c394 in KExiv2Iface::KExiv2::KExiv2Priv::saveOperations (this=0x48d3090, image=...) at /usr/src/debug/kdegraphics-4.6.2/libs/libkexiv2/libkexiv2/kexiv2_p.cpp:258
#20 0x00000039a7a1e0c4 in KExiv2Iface::KExiv2::KExiv2Priv::saveToFile (this=0x48d3090, finfo=...) at /usr/src/debug/kdegraphics-4.6.2/libs/libkexiv2/libkexiv2/kexiv2_p.cpp:146
#21 0x00000039a7a17fa1 in KExiv2Iface::KExiv2::save (this=0x7fff7d86b410, imageFilePath=...) at /usr/src/debug/kdegraphics-4.6.2/libs/libkexiv2/libkexiv2/kexiv2.cpp:407
#22 0x00000039a7a188a1 in KExiv2Iface::KExiv2::applyChanges (this=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.2/libs/libkexiv2/libkexiv2/kexiv2.cpp:423
#23 0x00000000005d5e5d in Digikam::MetadataHub::write (this=0x7fff7d86b4d0, filePath=..., writeMode=Digikam::MetadataHub::FullWrite, settings=...) at /usr/src/debug/digikam-1.9.0/digikam/metadatahub.cpp:675
#24 0x00000000004de7c9 in Digikam::BatchAlbumsSyncMetadata::slotAlbumItemsInfo (this=<value optimized out>, list=<value optimized out>) at /usr/src/debug/digikam-1.9.0/utilities/batch/batchalbumssyncmetadata.cpp:174
#25 0x00000000004df161 in Digikam::BatchAlbumsSyncMetadata::qt_metacall (this=0x1d93c60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7d86b670) at /usr/src/debug/digikam-1.9.0/x86_64-redhat-linux-gnu/digikam/batchalbumssyncmetadata.moc:84
#26 0x00000031ab171acf in QMetaObject::activate (sender=0x39d57a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7d86b670) at kernel/qobject.cpp:3278
#27 0x00000000004dbcb0 in Digikam::ImageInfoJob::signalItemsInfo (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/digikam-1.9.0/x86_64-redhat-linux-gnu/digikam/imageinfojob.moc:95
#28 0x00000000004dc2b5 in Digikam::ImageInfoJob::slotData (this=0x39d57a0, data=<value optimized out>) at /usr/src/debug/digikam-1.9.0/utilities/batch/imageinfojob.cpp:145
#29 0x00000000004dc3bb in Digikam::ImageInfoJob::qt_metacall (this=0x39d57a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7d86b880) at /usr/src/debug/digikam-1.9.0/x86_64-redhat-linux-gnu/digikam/imageinfojob.moc:83
#30 0x00000031ab171acf in QMetaObject::activate (sender=0x4a6e480, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7d86b880) at kernel/qobject.cpp:3278
#31 0x00000039a4ef6074 in KIO::TransferJob::data (this=<value optimized out>, _t1=0x4a6e480, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/jobclasses.moc:388
#32 0x00000039a4ef60e0 in KIO::TransferJob::slotData (this=0x4a6e480, _data=...) at /usr/src/debug/kdelibs-4.6.2/kio/kio/job.cpp:1009
#33 0x00000039a4efdf86 in KIO::TransferJob::qt_metacall (this=0x4a6e480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7d86ba40) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/jobclasses.moc:368
#34 0x00000031ab171acf in QMetaObject::activate (sender=0x2fc2840, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7d86ba40) at kernel/qobject.cpp:3278
#35 0x00000039a4f9aea2 in KIO::SlaveInterface::data (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/slaveinterface.moc:146
#36 0x00000039a4f9df88 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=100, rawdata=...) at /usr/src/debug/kdelibs-4.6.2/kio/kio/slaveinterface.cpp:161
#37 0x00000039a4f9a943 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.6.2/kio/kio/slaveinterface.cpp:89
#38 0x00000039a4f8e0e6 in KIO::Slave::gotInput (this=0x2fc2840) at /usr/src/debug/kdelibs-4.6.2/kio/kio/slave.cpp:348
#39 0x00000039a4f8e6fc in KIO::Slave::qt_metacall (this=0x2fc2840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7d86be60) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/slave.moc:82
#40 0x00000031ab171acf in QMetaObject::activate (sender=0x2d8d010, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#41 0x00000039a4ec56b7 in KIO::ConnectionPrivate::dequeue (this=0x1e1bf30) at /usr/src/debug/kdelibs-4.6.2/kio/kio/connection.cpp:82
#42 0x00000039a4ec576d in KIO::Connection::qt_metacall (this=0x2d8d010, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4612170) at /usr/src/debug/kdelibs-4.6.2/x86_64-redhat-linux-gnu/kio/connection.moc:79
#43 0x00000031ab1715ca in QObject::event (this=0x2d8d010, e=<value optimized out>) at kernel/qobject.cpp:1217
#44 0x00000031ac9b7cd4 in QApplicationPrivate::notify_helper (this=0x1ab0720, receiver=0x2d8d010, e=0x4a80b30) at kernel/qapplication.cpp:4462
#45 0x00000031ac9bc88a in QApplication::notify (this=<value optimized out>, receiver=0x2d8d010, e=0x4a80b30) at kernel/qapplication.cpp:4341
#46 0x00000039a383ff96 in KApplication::notify (this=0x7fff7d86ca60, receiver=0x2d8d010, event=0x4a80b30) at /usr/src/debug/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
#47 0x00000031ab15d19c in QCoreApplication::notifyInternal (this=0x7fff7d86ca60, receiver=0x2d8d010, event=0x4a80b30) at kernel/qcoreapplication.cpp:731
#48 0x00000031ab160985 in sendEvent (receiver=0x0, event_type=0, data=0x1a3bd70) at kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a3bd70) at kernel/qcoreapplication.cpp:1372
#50 0x00000031ab1881b3 in sendPostedEvents (s=0x1ab41a0) at kernel/qcoreapplication.h:220
#51 postEventSourceDispatch (s=0x1ab41a0) at kernel/qeventdispatcher_glib.cpp:277
#52 0x0000003b0a441e33 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#53 0x0000003b0a442610 in ?? () from /lib64/libglib-2.0.so.0
#54 0x0000003b0a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#55 0x00000031ab18834f in QEventDispatcherGlib::processEvents (this=0x1a3b550, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#56 0x00000031aca5d35e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#57 0x00000031ab15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#58 0x00000031ab15c77c in QEventLoop::exec (this=0x7fff7d86c890, flags=...) at kernel/qeventloop.cpp:201
#59 0x00000031ab160c3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#60 0x0000000000626ac5 in main (argc=27973120, argv=0x7fff7d86d200) at /usr/src/debug/digikam-1.9.0/digikam/main.cpp:216

Possible duplicates by query: bug 203967.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-05-16 08:41:28 UTC
Crash come Exiv2 library.

Which version you use ? Go to Help/Component Info for details.

Can you identify which image file crash Exiv2 ? Can you test with Exiv2 command line tool ?

Gilles Caulier
Comment 2 Andreas Huggel 2011-05-17 14:57:58 UTC
yes, please try to find the image that causes the crash and attach it here or send it to me at ahuggel at gmx dot net.

thanks!
andreas
Comment 3 Marcel Wiesweg 2011-05-17 21:50:54 UTC
Two questions from my side:
1) (@Andreas?) Why is manual intervention with a tool necessary to prepare files for metadata writing? I would assume exiv2 can just write to a JPG file, even if there's no metadata yet
2) Can you reproduce - either, starting the writing again; or, replaying the jhead procedure and the writing; ideally, it's always reproducible with a sample file under defined conditions.
Comment 4 Andreas Huggel 2011-05-18 04:33:47 UTC
> 1) (@Andreas?) Why is manual intervention with a tool necessary to prepare
> files for metadata writing? I would assume exiv2 can just write to a JPG file,
> even if there's no metadata yet

Yes, definitely.
Comment 5 caulier.gilles 2011-07-06 11:14:21 UTC
We need feedback using a recent version. 2.0.0 RC is out, please test...

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2015-07-02 05:05:35 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 7 caulier.gilles 2015-08-24 05:13:10 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 8 raving 2015-10-31 21:48:35 UTC
Created attachment 95244 [details]
one  white picture that let digikam crash

My digikam 4.13 (kubuntu 15.10)  crashes when writing metadata in file (at some pictures). 
The attached file is one of these.
Comment 9 raving 2015-10-31 21:51:33 UTC
Sorry it's digikam 4.12 not 4 .13
Comment 10 caulier.gilles 2016-07-14 12:52:17 UTC
This problem is not reproducible using last digiKam 5.0.0 + Exiv2 0.25.
I close this file now. Don't hesitate to re-open if necessary.