Application: digikam (1.7.0 (rev.: 1200223)) KDE Platform Version: 4.5.3 (KDE 4.5.3) Qt Version: 4.7.1 Operating System: Linux 2.6.35-ARCH i686 -- Information about the crash: - What I was doing when the application crashed: Clicking on the menu item "Enhance->Lens->Auto-Correction". Digikam crashes immediately after displaying some controls to the right for a split second. I tried this with several images, some of them mine and some downloaded from the net (for example http://upload.wikimedia.org/wikipedia/commons/7/75/Microcarbo_melanoleucos_Austins_Ferry_3.jpg ). There was no image which did not make digikam crash. Moving the digikamrc file to start fresh did not help as well. Running ./testlensfuniface.shell on the images produced no output. The crash can be reproduced every time. -- Backtrace: Application: digiKam (digikam), signal: Segmentation fault [Current thread is 1 (Thread 0xb2459740 (LWP 4593))] Thread 11 (Thread 0xb01eeb70 (LWP 4595)): #0 0xb76f4424 in __kernel_vsyscall () #1 0xb4a1a3fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb4a89cdf in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #3 0x08218734 in Digikam::ScanController::run (this=0x92aea58) at /home/cupe/digikam-svn/graphics/digikam/digikam/scancontroller.cpp:519 #4 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #5 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #6 0xb4556f9e in clone () from /lib/libc.so.6 Thread 10 (Thread 0xaf9edb70 (LWP 4597)): #0 0xb76f4424 in __kernel_vsyscall () #1 0xb454cbd6 in poll () from /lib/libc.so.6 #2 0xb3e9143b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb3e8128f in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0xb64be8c9 in Digikam::ImageFilterModelWorker::Thread::run (this=0x92d6cd0) at /home/cupe/digikam-svn/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66 #10 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #11 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #12 0xb4556f9e in clone () from /lib/libc.so.6 Thread 9 (Thread 0xaedffb70 (LWP 4598)): #0 0xb4a18244 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0xb3e8081c in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #2 0xb3e8111a in ?? () from /usr/lib/libglib-2.0.so.0 #3 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #8 0xb64be8c9 in Digikam::ImageFilterModelWorker::Thread::run (this=0x92eefa8) at /home/cupe/digikam-svn/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66 #9 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #10 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #11 0xb4556f9e in clone () from /lib/libc.so.6 Thread 8 (Thread 0xae57eb70 (LWP 4599)): #0 0xb76f4424 in __kernel_vsyscall () #1 0xb4a1a3fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb4a89cdf in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #3 0xb67facf4 in Digikam::ParkingThread::run (this=0x93e0178) at /home/cupe/digikam-svn/graphics/digikam/libs/threads/threadmanager.cpp:112 #4 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #5 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #6 0xb4556f9e in clone () from /lib/libc.so.6 Thread 7 (Thread 0xadd7db70 (LWP 4600)): #0 0xb76f4424 in __kernel_vsyscall () #1 0xb454cbd6 in poll () from /lib/libc.so.6 #2 0xb3e9143b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb3e8128f in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x082122a9 in Digikam::MetadataManagerWorker::Thread::run (this=0x92cc268) at /home/cupe/digikam-svn/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:160 #10 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #11 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #12 0xb4556f9e in clone () from /lib/libc.so.6 Thread 6 (Thread 0xad57cb70 (LWP 4601)): #0 0xb76f4424 in __kernel_vsyscall () #1 0xb454cbd6 in poll () from /lib/libc.so.6 #2 0xb3e9143b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb3e8128f in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x082122a9 in Digikam::MetadataManagerWorker::Thread::run (this=0x9330128) at /home/cupe/digikam-svn/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:160 #10 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #11 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #12 0xb4556f9e in clone () from /lib/libc.so.6 Thread 5 (Thread 0xa930ab70 (LWP 4603)): #0 0xb4bab681 in ?? () from /usr/lib/libQtCore.so.4 #1 0xb3e80096 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0xb3e80f33 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #8 0xb4b5f10b in ?? () from /usr/lib/libQtCore.so.4 #9 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #10 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #11 0xb4556f9e in clone () from /lib/libc.so.6 Thread 4 (Thread 0xa891eb70 (LWP 4610)): #0 0xb3e815b4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #1 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #2 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #3 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #5 0xb4b5f10b in ?? () from /usr/lib/libQtCore.so.4 #6 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #7 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #8 0xb4556f9e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xa6119b70 (LWP 4732)): [KCrash Handler] #7 0xb3e1cc52 in ?? () from /usr/lib/liblensfun.so.0 #8 0xb3e28d2c in lfModifier::AddCoordCallbackDistortion(lfLensCalibDistortion&, bool) () from /usr/lib/liblensfun.so.0 #9 0xb3e2a59f in lfModifier::Initialize(lfLens const*, lfPixelFormat, float, float, float, float, lfLensType, int, bool) () from /usr/lib/liblensfun.so.0 #10 0xb67790b2 in Digikam::LensFunFilter::filterImage (this=0xb5b7b30) at /home/cupe/digikam-svn/graphics/digikam/libs/dimg/filters/lens/lensfunfilter.cpp:125 #11 0xb669ad2f in Digikam::DImgThreadedFilter::startFilterDirectly (this=0xb5b7b30) at /home/cupe/digikam-svn/graphics/digikam/libs/dimg/filters/dimgthreadedfilter.cpp:140 #12 0xb669aef4 in Digikam::DImgThreadedFilter::run (this=0xb5b7b30) at /home/cupe/digikam-svn/graphics/digikam/libs/dimg/filters/dimgthreadedfilter.cpp:161 #13 0xb67fcf07 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xc4f7c88) at /home/cupe/digikam-svn/graphics/digikam/libs/threads/dynamicthread.cpp:284 #14 0xb4a7f4e6 in ?? () from /usr/lib/libQtCore.so.4 #15 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #16 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #17 0xb4556f9e in clone () from /lib/libc.so.6 Thread 2 (Thread 0x910ffb70 (LWP 4763)): #0 0xb3e8008d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #1 0xb3e80f33 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0xb4babbe7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb4a86b6b in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0xb4b5f10b in ?? () from /usr/lib/libQtCore.so.4 #8 0xb4a895f9 in ?? () from /usr/lib/libQtCore.so.4 #9 0xb4a15e60 in start_thread () from /lib/libpthread.so.0 #10 0xb4556f9e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb2459740 (LWP 4593)): #0 0xb4a1823b in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0xb26813f9 in ?? () from /usr/lib/libxcb.so.1 #2 0xb2681974 in ?? () from /usr/lib/libxcb.so.1 #3 0xb2681a17 in xcb_writev () from /usr/lib/libxcb.so.1 #4 0xb4305bf3 in _XSend () from /usr/lib/libX11.so.6 #5 0xb4306049 in _XFlush () from /usr/lib/libX11.so.6 #6 0xb42db340 in XCreateGC () from /usr/lib/libX11.so.6 #7 0xb52b5ba8 in ?? () from /usr/lib/libQtGui.so.4 #8 0xb51f777a in QPainter::begin(QPaintDevice*) () from /usr/lib/libQtGui.so.4 #9 0xb51f8108 in QPainter::QPainter(QPaintDevice*) () from /usr/lib/libQtGui.so.4 #10 0xb54f9bc5 in QLineEdit::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4 #11 0xb5c94e76 in KLineEdit::paintEvent(QPaintEvent*) () from /usr/lib/libkdeui.so.5 #12 0xb50f45ae in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #13 0xb54fbe07 in QLineEdit::event(QEvent*) () from /usr/lib/libQtGui.so.4 #14 0xb5c98808 in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5 #15 0xb509b854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #16 0xb50a04eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #17 0xb5bbaa1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #18 0xb4b7e5cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #19 0xb50f11e4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #20 0xb50f1eec in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #21 0xb50f0f40 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #22 0xb50f1eec in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #23 0xb50f0f40 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #24 0xb50f1eec in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #25 0xb50f1db2 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #26 0xb50f1db2 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #27 0xb50f0f40 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #28 0xb50f1eec in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #29 0xb50f0f40 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #30 0xb52cddf4 in ?? () from /usr/lib/libQtGui.so.4 #31 0xb50e6a53 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4 #32 0xb50f4c0d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #33 0xb5508987 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4 #34 0xb5ca0cdc in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #35 0xb5cdec5f in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #36 0xb509b854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #37 0xb50a04eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #38 0xb5bbaa1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #39 0xb4b7e5cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #40 0xb52ca2d5 in ?? () from /usr/lib/libQtGui.so.4 #41 0xb50e61e6 in QWidget::repaint(QRect const&) () from /usr/lib/libQtGui.so.4 #42 0xb50e62fc in QWidget::repaint() () from /usr/lib/libQtGui.so.4 #43 0xb5550e23 in QStatusBar::reformat() () from /usr/lib/libQtGui.so.4 #44 0xb5552227 in QStatusBar::event(QEvent*) () from /usr/lib/libQtGui.so.4 #45 0xb509b854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #46 0xb50a04eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #47 0xb5bbaa1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #48 0xb4b7e5cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #49 0xb4b821e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #50 0xb4b823bd in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #51 0xb4baba34 in ?? () from /usr/lib/libQtCore.so.4 #52 0xb3e80b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #53 0xb3e81350 in ?? () from /usr/lib/libglib-2.0.so.0 #54 0xb3e81604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #55 0xb4babbac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #56 0xb514d265 in ?? () from /usr/lib/libQtGui.so.4 #57 0xb4b7d789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #58 0xb4b7da2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #59 0xb4b8247f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #60 0xb50996a7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #61 0x0824ea63 in main (argc=1, argv=0xbfd38594) at /home/cupe/digikam-svn/graphics/digikam/digikam/main.cpp:213 This bug may be a duplicate of or related to bug 255271. Possible duplicates by query: bug 255271. Reported using DrKonqi
You use an external lensfun library with digiKam. I recommend to recompile digiKam without to use an external version of lensfun. internal lensfun code from digiKam core will be used, which is the current lensfun implementation from svn with a lots of fixes. Gilles Caulier
I confirm : no crash there with lensfun from digiKam core : http://www.flickr.com/photos/digikam/5204111502/ Gilles Caulier
Should cmake not only use the external lensfun package if that package is more recent than the one from digikam core?
Not especially, because some distro want to use external package. So i let the option as well. Also, there is a problem with lensfun : version id have been included in current code from svn. Older lensfun version do not have version id info. How i can check it with Cmake ?... Gilles Caulier
Not sure, I just thought it would help users and developers to avoid reports like this. The idea I had was to check in cmakelist.txt for the installed version of liblensfun and if that version is < x.y use the internal code. Each time you update the internal code you can also change the x.y to match the current state. Distros that want to use external libs can still disable that check. If you think using the external packages is better, then the current default makes sense. Otherwise I would change the default to use the internal code and let the distros remove the check.
(In reply to comment #1) > I recommend to recompile digiKam without to use an external version of lensfun. Gilles, confirmed: recompiling Digikam without external lensfun installed fixed the problem. Thanks for the swift reply.