Application: digikam (1.2.0) KDE Platform Version: 4.4.5 (KDE 4.4.5) Qt Version: 4.6.2 Operating System: Linux 2.6.35 x86_64 -- Information about the crash: In Ubuntu Lucid or Funtoo Digikam 1.2.0 always crashes whenever I try to rebuild missing thumbnails. The images in my collection are a mixture of nefs, dngs, 16bit grayscale tiffs, jpegs, pngs and 48bit colour tiffs. The crash can be reproduced every time. -- Backtrace: Application: digiKam (digikam), signal: Segmentation fault [Current thread is 1 (Thread 0x7f72f358b7d0 (LWP 3374))] Thread 17 (Thread 0x7f72e0db7910 (LWP 3375)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00000000006dcafb in ?? () #3 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #5 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 16 (Thread 0x7f72dd4c1910 (LWP 3379)): #0 0x00007f72ece54f33 in poll () from /lib/libc.so.6 #1 0x00007f72e63d9ae9 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f72e63d9ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f72edc9a736 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72edc6fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f72edc70054 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f72edb7b899 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #9 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 15 (Thread 0x7f72dbde3910 (LWP 3380)): #0 0x00007f72ece6a870 in pthread_mutex_unlock () from /lib/libc.so.6 #1 0x00007f72e63d947c in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f72e63d98e8 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f72e63d9ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f72edc9a736 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f72edc6fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f72edc70054 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f72edb7b899 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #10 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 14 (Thread 0x7f72db5e2910 (LWP 3381)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f72f0a41d52 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1 #3 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #5 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 13 (Thread 0x7f72dade1910 (LWP 3382)): #0 0x00007f72edc9abc9 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #1 0x00007f72e63d90f9 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #2 0x00007f72e63d9a0b in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f72e63d9ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f72edc9a736 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f72edc6fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f72edc70054 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f72edb7b899 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #10 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f72da5e0910 (LWP 3383)): #0 0x00007f72edc9a9a4 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #1 0x00007f72e63d9488 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f72e63d98e8 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f72e63d9ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f72edc9a736 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f72edc6fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f72edc70054 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f72edb7b899 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #10 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f72c9b5e910 (LWP 3384)): #0 0x00007f72eb9a327d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72d80ce17e in ?? () from /usr/lib64/libxine.so.1 #2 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #3 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f72c8b44910 (LWP 3385)): #0 0x00007f72ece57382 in select () from /lib/libc.so.6 #1 0x00007f72d80f3de5 in xine_usec_sleep () from /usr/lib64/libxine.so.1 #2 0x00007f72d80daa31 in ?? () from /usr/lib64/libxine.so.1 #3 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #4 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f72c8343910 (LWP 3386)): #0 0x00007f72ece54f33 in poll () from /lib/libc.so.6 #1 0x00007f72e63d9ae9 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f72e63d9ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f72edc9a736 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72edc6fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f72edc70054 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f72edb7b899 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f72d8327040 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so #8 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #10 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f72c7938910 (LWP 3389)): #0 0x00007f72ece54f33 in poll () from /lib/libc.so.6 #1 0x00007f72c793f08e in ?? () from /usr/lib64/xine/plugins/1.28/xineplug_ao_out_alsa.so #2 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #3 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f72c7137910 (LWP 3390)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72d80dc163 in ?? () from /usr/lib64/libxine.so.1 #2 0x00007f72d80ddb6a in ?? () from /usr/lib64/libxine.so.1 #3 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #4 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f72c4e9f910 (LWP 3391)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f72f0a41d52 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1 #3 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #5 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f72c269a910 (LWP 3398)): [KCrash Handler] #5 0x00007f72f092a918 in Digikam::RAWLoader::loadedFromDcraw(QByteArray, int, int, int, Digikam::DImgLoaderObserver*) () from /usr/lib64/libdigikamcore.so.1 #6 0x00007f72f092b0b8 in Digikam::RAWLoader::load(QString const&, Digikam::DImgLoaderObserver*) () from /usr/lib64/libdigikamcore.so.1 #7 0x00007f72f0915a76 in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib64/libdigikamcore.so.1 #8 0x00007f72f09166b8 in Digikam::DImg::load(QString const&, bool, bool, bool, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib64/libdigikamcore.so.1 #9 0x00007f72f0a5d7d7 in Digikam::ThumbnailCreator::loadWithDImg(QString const&, Digikam::IccProfile*) () from /usr/lib64/libdigikamcore.so.1 #10 0x00007f72f0a5e53a in Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&) () from /usr/lib64/libdigikamcore.so.1 #11 0x00007f72f0a5f26f in Digikam::ThumbnailCreator::load(QString const&) () from /usr/lib64/libdigikamcore.so.1 #12 0x00007f72f0a66673 in ?? () from /usr/lib64/libdigikamcore.so.1 #13 0x00007f72f0a41d1c in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1 #14 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #15 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #16 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #17 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f72c469e910 (LWP 3399)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f72f0a41d52 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1 #3 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #5 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f72c3e9d910 (LWP 9534)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f72f0a41d52 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1 #3 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #5 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f72c1698910 (LWP 9535)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f72f0a41d52 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1 #3 0x00007f72edb7e2a5 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f72eb99e644 in start_thread () from /lib/libpthread.so.0 #5 0x00007f72ece5dbfd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f72f358b7d0 (LWP 3374)): #0 0x00007f72eb9a2ff9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f72edb7f26b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f72edb7e344 in QThread::wait(unsigned long) () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f72f0a4234b in Digikam::LoadSaveThread::shutdownThread() () from /usr/lib64/libdigikamcore.so.1 #4 0x00007f72f0a610f4 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () from /usr/lib64/libdigikamcore.so.1 #5 0x00007f72ecdc4b05 in ?? () from /lib/libc.so.6 #6 0x00007f72ecdc4b55 in exit () from /lib/libc.so.6 #7 0x00007f72ee89a9b8 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #8 0x00007f72ef524d18 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5 #9 0x00007f72ebf285ce in _XIOError () from /usr/lib64/libX11.so.6 #10 0x00007f72ebf30cad in _XEventsQueued () from /usr/lib64/libX11.so.6 #11 0x00007f72ebf1931b in XEventsQueued () from /usr/lib64/libX11.so.6 #12 0x00007f72ee8d344c in ?? () from /usr/lib64/qt4/libQtGui.so.4 #13 0x00007f72e63d90f9 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #14 0x00007f72e63d9a0b in ?? () from /usr/lib/libglib-2.0.so.0 #15 0x00007f72e63d9ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #16 0x00007f72edc9a6e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #17 0x00007f72ee8d328e in ?? () from /usr/lib64/qt4/libQtGui.so.4 #18 0x00007f72edc6fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #19 0x00007f72edc70054 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #20 0x00007f72edc73d3b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #21 0x000000000077b008 in ?? () #22 0x00007f72ecdaea3d in __libc_start_main () from /lib/libc.so.6 #23 0x0000000000475339 in _start () This bug may be a duplicate of or related to bug 221281. Possible duplicates by query: bug 221281. Reported using DrKonqi
crash appears in libkdcraw. sound like a binary compatibility issue in your computer. update libkdcraw and digiKam 1.3.0 Gilles Caulier
There is no facility to upgrade to 1.30 due to an outstanding bug in kde-4.5. I'll rebuild the 2 and see if anything changes.
I think I may have found out what the trigger for the crash is. It is libkcdraw related but in how it (or digikam) handles unusual .dng files. Namely 16bit BW .dngs. I was surprised by that type of file is possible but Vuescan allows you to do that. With the offending files included the console showed this just before the crash /media/data/images/scanned/Nikon/Scan-100810-0001.dng: Cannot use camera white balance. Scaling with darkness 0, saturation 65535, and multipliers 1.000000 28226.382812 28226.382812 28226.382812 Building histograms... /media/data/images/scanned/Nikon/Scan-100810-0001.dng: Cannot use camera white balance. Scaling with darkness 0, saturation 65535, and multipliers 1.000000 1.000000 1.000000 1.000000 Building histograms... digikam: Fatal IO error: client killed KCrash: Application 'digikam' crashing... sock_file=/home/jon/.kde4/socket-funtoo-pc/kdeinit4__0 Without that file and another 2 the crash stops. I still have those files if you want them (they're bit big) for testing.
yes, we are interrested by these DNG files to test in local. It can be libraw problem indeep. Please give us external links to download these files... Which libkdcraw and libraw you use exactly ? Got Help/Components Info for details. I CC Alex who maintain libraw code for info... Gilles Caulier
There's no such package as libraw in Gentoo (unless you're talking about Firewire) but from within Digikam it says it's v0.8.5. libkdcraw is v4.4.5 (kdegraphics). Components info? I'm not certain by what that exactly means. Digikam is set up with lcms and colour-management enabled; raw demosaicing is 16-bit ahd. The 2 files (75MB 7-zipped) is here: http://www.easy-share.com/1911940587/images.7z
Hi! Both sample files are processed without any problems by both LibRaw 0.8.5 (mentioned above) and current LibRaw 0.10 Beta3. Have played with single-threaded Win32 version. Also, both files does not contain a thumbnail image (according to LibRaw's point of view :). As I can see in backtrace, the crash occurs in Digikam::ThumbnailCreator call. May be, digiKam has problems with images without built-in tumbnails?
Thanks Alex, we will take a look. To jonnobleuk : LibRaw code in include to libkdcraw. Update Libkdcraw and digiKam and try again. I recommend to use digiKam 1.3.0 Gilles Caulier
jonnobleuk, Any news there ? Can you try digiKam 1.4.0 ? Gilles Caulier
Gilles, I'll give it a go at some point but it's a pita to use unstable kde packages in Fun/Gentoo. Also, i've just got my system stable and i'm kind of enjoying this novelty for now.
digiKam 1.6.0 is out: http://www.digikam.org/drupal/node/550 Please update and check if this entry still valid. Thanks in advance Gilles Caulier
I'd like to test it but i've lost the original images that were causing the crashes. In addition,the link for the ones I submitted is now dead. I could try to recreate them with the peculiarity e.g. missing thumbnail in a dng-raw but i have no idea how that happened in the 1st place.
Ok, so we'll close this for now, if you happen to get again the test images, then please try again with newer digiKam release (currently 1.6.0) and feel free to reopen this bug with new results here
New digiKam 4.11.0 is available. https://www.digikam.org/node/740 Can you reproduce the problem with this release ? Gilles Caulier
With digiKam 5.0.0, this problem is not reproducible. I close this file now. Re-open it if necessary. Gilles Caulier