Bug 255271 - Digikam crashes on lens auto-correction function
Summary: Digikam crashes on lens auto-correction function
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-LensCorrection (show other bugs)
Version: 1.5.0
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 00:20 UTC by Piotr Ryszkiewicz
Modified: 2016-07-01 09:22 UTC (History)
1 user (show)

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


Attachments
Sample image (758.72 KB, image/jpeg)
2010-10-26 00:31 UTC, Piotr Ryszkiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Ryszkiewicz 2010-10-26 00:20:54 UTC
Application: digikam (1.5.0)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.33.7-desktop-2mnb i686
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
- What I was doing when the application crashed:
Tried to run Enhance->Lens->Auto-Correction
- Custom settings of the application:
Seems that the problem does not appear with all images (although most of them). I can provide samples.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb21106d0 (LWP 10730))]

Thread 18 (Thread 0xafca5b70 (LWP 10736)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb41f3c75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb47bf26d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6
#3  0xb4a83720 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x0834a25a in ?? ()
#5  0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#6  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 17 (Thread 0xaf2ffb70 (LWP 10761)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a5b16 in poll () from /lib/i686/libc.so.6
#2  0xb2a02ceb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5805 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb653070b in ?? () from /usr/lib/libdigikamdatabase.so.1
#10 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#11 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 16 (Thread 0xae6ffb70 (LWP 10762)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a5b16 in poll () from /lib/i686/libc.so.6
#2  0xb2a02ceb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5805 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb653070b in ?? () from /usr/lib/libdigikamdatabase.so.1
#10 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#11 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 15 (Thread 0xadcffb70 (LWP 10763)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb41f3c75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb47bf26d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6
#3  0xb4a83720 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb683d7b4 in ?? () from /usr/lib/libdigikamcore.so.1
#5  0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#6  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 14 (Thread 0xad4feb70 (LWP 10766)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a5b16 in poll () from /lib/i686/libc.so.6
#2  0xb2a02ceb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5805 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#10 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 13 (Thread 0xaccfdb70 (LWP 10767)):
#0  0xb41f1d6b in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#1  0xb47bf436 in pthread_mutex_lock () from /lib/i686/libc.so.6
#2  0xb29f589a in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#9  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#10 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 12 (Thread 0xa5c46b70 (LWP 10770)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb41f3fa2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb47bf2c4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6
#3  0xade163c5 in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 11 (Thread 0xa6447b70 (LWP 10771)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a9201 in select () from /lib/i686/libc.so.6
#2  0xade40c48 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0xade24a5b in video_out_loop () from /usr/lib/libxine.so.1
#4  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 10 (Thread 0xa90a0b70 (LWP 10772)):
#0  0xb41f300d in pthread_mutex_unlock () from /lib/i686/libpthread.so.0
#1  0xb47bf476 in pthread_mutex_unlock () from /lib/i686/libc.so.6
#2  0xb29f4e85 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5716 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xaea25e71 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#11 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 9 (Thread 0xa889fb70 (LWP 10780)):
#0  0xb47bf431 in pthread_mutex_lock () from /lib/i686/libc.so.6
#1  0xa94cbe58 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#2  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#3  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 8 (Thread 0xa809eb70 (LWP 10781)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb41f3c75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb47bf26d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6
#3  0xade281cc in ao_loop () from /usr/lib/libxine.so.1
#4  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 0xa789db70 (LWP 10782)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a5b16 in poll () from /lib/i686/libc.so.6
#2  0xb2a02ceb in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5805 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb4b67a5d in ?? () from /usr/lib/libQtCore.so.4
#10 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#11 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 6 (Thread 0xa3441b70 (LWP 10789)):
#0  0xb284e036 in clock_gettime () from /lib/i686/librt.so.1
#1  0xb4ae0a74 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4bbcfe6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4bbd02e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4bbb0bb in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4bbb15d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb29f51e1 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb29f55c9 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb4b67a5d in ?? () from /usr/lib/libQtCore.so.4
#14 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#15 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#16 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 0xa6edeb70 (LWP 10793)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a5b16 in poll () from /lib/i686/libc.so.6
#2  0xb211ed52 in ?? () from /lib/libresolv.so.2
#3  0xb211cfa1 in __libc_res_nquery () from /lib/libresolv.so.2
#4  0xb211d53b in ?? () from /lib/libresolv.so.2
#5  0xb211d7bd in __libc_res_nsearch () from /lib/libresolv.so.2
#6  0xa66ad4e2 in _nss_dns_gethostbyname4_r () from /lib/libnss_dns.so.2
#7  0xb4794295 in gaih_inet () from /lib/i686/libc.so.6
#8  0xb4796005 in getaddrinfo () from /lib/i686/libc.so.6
#9  0xb42a63ab in ?? () from /usr/lib/libQtNetwork.so.4
#10 0xb4297b1a in QHostInfo::fromName(QString const&) () from /usr/lib/libQtNetwork.so.4
#11 0xb602d47f in ?? () from /usr/lib/libkio.so.5
#12 0xb602dada in ?? () from /usr/lib/libkio.so.5
#13 0xb4a782f0 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#15 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#16 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xa3c42b70 (LWP 10795)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb41f3fa2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb47bf2c4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6
#3  0xb4a836ac in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb4a78386 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#6  0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0x9928bb70 (LWP 10858)):
[KCrash Handler]
#7  0xb3e2f192 in ?? () from /usr/lib/liblensfun.so.0
#8  0xb3e3c60d in lfModifier::AddCoordCallbackDistortion(lfLensCalibDistortion&, bool) () from /usr/lib/liblensfun.so.0
#9  0xb3e3e3b7 in lfModifier::Initialize(lfLens const*, lfPixelFormat, float, float, float, float, lfLensType, int, bool) () from /usr/lib/liblensfun.so.0
#10 0xb67a4cef in Digikam::LensFunFilter::filterImage() () from /usr/lib/libdigikamcore.so.1
#11 0xb66b8130 in Digikam::DImgThreadedFilter::startFilterDirectly() () from /usr/lib/libdigikamcore.so.1
#12 0xb66b6f5f in Digikam::DImgThreadedFilter::run() () from /usr/lib/libdigikamcore.so.1
#13 0xb683ed06 in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.1
#14 0xb4a782f0 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#16 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#17 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0x8ec7eb70 (LWP 10883)):
#0  0xb41f300d in pthread_mutex_unlock () from /lib/i686/libpthread.so.0
#1  0xb47bf476 in pthread_mutex_unlock () from /lib/i686/libc.so.6
#2  0xb29f5535 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb4bbaebf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb4a7f6eb in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb4b67a5d in ?? () from /usr/lib/libQtCore.so.4
#9  0xb4a82aca in ?? () from /usr/lib/libQtCore.so.4
#10 0xb41efae5 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb47b103e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb21106d0 (LWP 10730)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb47a5b16 in poll () from /lib/i686/libc.so.6
#2  0xb268cc10 in ?? () from /usr/lib/libxcb.so.1
#3  0xb268d1c2 in ?? () from /usr/lib/libxcb.so.1
#4  0xb268d591 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb436f12c in _XSend () from /usr/lib/libX11.so.6
#6  0xb435b252 in ?? () from /usr/lib/libX11.so.6
#7  0xb435b495 in XPutImage () from /usr/lib/libX11.so.6
#8  0xb51da655 in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#9  0xb51c0f25 in QPixmap::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#10 0xb52309f3 in QPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#11 0xb530d025 in ?? () from /usr/lib/libQtGui.so.4
#12 0xb5249050 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb524ef31 in QPainter::drawPath(QPainterPath const&) () from /usr/lib/libQtGui.so.4
#14 0xb525238a in QPainter::drawRoundedRect(QRectF const&, double, double, Qt::SizeMode) () from /usr/lib/libQtGui.so.4
#15 0xb52523eb in QPainter::drawRoundRect(QRectF const&, int, int) () from /usr/lib/libQtGui.so.4
#16 0xafd5a2e3 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#17 0xafd33586 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#18 0xafd3fff3 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0xafd38fe6 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0xb5c76dee in KStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libkdeui.so.5
#21 0xafd37acd in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#22 0xb5c6ed66 in KStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /usr/lib/libkdeui.so.5
#23 0xafd3418c in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#24 0xb55f06f3 in QToolButton::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb5124be7 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb5501760 in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb55f062c in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb50c443c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb50cc268 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb5c5ced1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#31 0xb4b8b5de in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#32 0xb512e48c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#33 0xb512f229 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#34 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#35 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#36 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#37 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#38 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#39 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#40 0xb512e1d8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#41 0xb512f229 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#42 0xb512f067 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#43 0xb512e1d8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#44 0xb512f229 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#45 0xb512e1d8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#46 0xb5329df8 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb511ddbb in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#48 0xb512538c in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#49 0xb55746c4 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb5d59924 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#51 0xb5da41c2 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#52 0xb50c443c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#53 0xb50cc268 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#54 0xb5c5ced1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#55 0xb4b8b5de in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#56 0xb4b8f8bc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#57 0xb4b8fa7c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#58 0xb4bbb394 in ?? () from /usr/lib/libQtCore.so.4
#59 0xb29f1cbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#60 0xb29f59f8 in ?? () from /usr/lib/libglib-2.0.so.0
#61 0xb29f5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#62 0xb4bbae71 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#63 0xb51870aa in ?? () from /usr/lib/libQtGui.so.4
#64 0xb4b8a08d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0xb4b8a519 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#66 0xb4b8fb50 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#67 0xb50c3124 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#68 0x083dd933 in ?? ()
#69 0xb46efb96 in __libc_start_main () from /lib/i686/libc.so.6
#70 0x080a2791 in _start ()

Reported using DrKonqi
Comment 1 Piotr Ryszkiewicz 2010-10-26 00:31:07 UTC
Created attachment 52870 [details]
Sample image 

Digikam crashes on this image.
Comment 2 caulier.gilles 2010-10-26 08:42:49 UTC
First, test lensfun digiKam interface program do not crash. Lens information are uncomplete to process autocorrection :

[gilles@localhost lens]$ ./testlensfuniface.shell IMGP1174a.jpg 
<unknown program name>(6553)/ Digikam::DImg::load: "IMGP1174a.jpg"  : JPEG file identified
<unknown program name>(6553)/ KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sun Jul 4 17:13:33 2010")
<unknown program name>(6553)/ Digikam::LensFunIface::findCamera: Search for camera  "PENTAX             " - "PENTAX K-x         "  ==> false
<unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Cannot find Lensfun camera device for ( "PENTAX             "  -  "PENTAX K-x         " )
<unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Focal Length   :  23.1
<unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Aperture       :  7.1
<unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Subject dist.  : NOT FOUND
<unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Metadata match :  "Partial Match"

Do you have selected manually a special camera and lens feature ?

Gilles Caulier
Comment 3 caulier.gilles 2010-10-26 08:54:39 UTC
As you can see, on my computer, it do not crash. I use current digiKam implementation with liblensfun included in digiKam core (lensfun code from trunk currently, not yet released).

Go to Help/Components Info to see which Lensfun version you use.

There is a problem with your camera detection. At least it must be recognized. It's not the case. the problem is trailling space at end of camera description strings :

Search for camera  "PENTAX             " - "PENTAX K-x         "  ==> false

It's easy to fix...

Your Lens is not in Lensfun Database. Please, read this tutorial to add your lens in lensfun :

http://www.flickr.com/photos/digikam/5117137040/

Gilles Caulier
Comment 4 caulier.gilles 2010-10-26 09:01:56 UTC
SVN commit 1189866 by cgilles:

use trimmed version of camera/lens description to perform LensFun DB query
CCBUGS: 255271


 M  +3 -3      lensfuniface.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1189866
Comment 5 caulier.gilles 2010-10-26 09:04:38 UTC
For your camera detection, all sound fine with my last commit :

[gilles@localhost lens]$ svn up 
At revision 1189866.
[gilles@localhost lens]$ ./testlensfuniface.shell IMGP1174a.jpg 
<unknown program name>(9079)/ Digikam::DImg::load: "IMGP1174a.jpg"  : JPEG file identified
<unknown program name>(9079)/ KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sun Jul 4 17:13:33 2010")
<unknown program name>(9079)/ Digikam::LensFunIface::findCamera: Search for camera  "PENTAX" - "PENTAX K-x"  ==> true
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Camera maker   :  "PENTAX"
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Camera model   :  "PENTAX K-x"
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: * Check for lens by direct query ( "smc PENTAX-DA 18-250mm F3.5-6.3ED AL [IF]"  :  0 )
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: * Check for no maker lens ( "smc PENTAX-DA 18-250mm F3-6ED AL [IF]"  :  0 )
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: lens matches   : NOT FOUND
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Focal Length   :  23.1
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Aperture       :  7.1
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Subject dist.  : NOT FOUND
<unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Metadata match :  "Partial Match"

Of course, Lens is not recognized, because it's not in LensFun DB. Read this tutorial for info :

http://lensfun.berlios.de/lens-calibration/

For the crash, i cannot reproduce it with current implementation from svn.

Gilles Caulier