Bug 269626 - Crash trying to add Camera
Summary: Crash trying to add Camera
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 18:21 UTC by David Vincent-Jones
Modified: 2022-11-24 17:06 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Vincent-Jones 2011-03-28 18:21:24 UTC
Version:           2.0.0 (using KDE 4.6.1) 
OS:                Linux

As soon as I try to add even the first camera the system crashes.

Reproducible: Always

Steps to Reproduce:
System Setup -> Cameras

Actual Results:  
Unable to add a camera


OS: Linux (i686) release 2.6.35-28-generic-pae
Compiler: cc
Comment 1 caulier.gilles 2011-03-28 18:26:54 UTC
We need a GDB backtrace please...

Gilles Caulier
Comment 2 Sebastian Bota 2011-03-29 12:58:27 UTC
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1f05740 (LWP 22690))]

Thread 21 (Thread 0xafbd4b70 (LWP 22691)):
#0  0xb4352eb0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996c6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56ecab0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x0822f56a in ?? ()
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 20 (Thread 0xaf3d4b70 (LWP 22692)):
#0  0xb4352244 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb4996ec4 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0xb2848086 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0xb284985d in ?? () from /lib/libglib-2.0.so.0
#4  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb57c823d in ?? () from /usr/lib/libQtCore.so.4
#10 0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#11 0xb434e980 in start_thread () from /lib/libpthread.so.0
#12 0xb498916e in clone () from /lib/libc.so.6

Thread 19 (Thread 0xaebd4b70 (LWP 22695)):
#0  0xb4352244 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb4996ec4 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0xb2848a63 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0xb28498e2 in ?? () from /lib/libglib-2.0.so.0
#4  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb66d4ceb in ?? () from /usr/lib/libdigikamdatabase.so.1
#10 0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#11 0xb434e980 in start_thread () from /lib/libpthread.so.0
#12 0xb498916e in clone () from /lib/libc.so.6

Thread 18 (Thread 0xad8dcb70 (LWP 22696)):
#0  0xb58172af in ?? () from /usr/lib/libQtCore.so.4
#1  0xb2849180 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0xb2849ac8 in ?? () from /lib/libglib-2.0.so.0
#3  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb66d4ceb in ?? () from /usr/lib/libdigikamdatabase.so.1
#9  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#10 0xb434e980 in start_thread () from /lib/libpthread.so.0
#11 0xb498916e in clone () from /lib/libc.so.6

Thread 17 (Thread 0xad0b4b70 (LWP 22697)):
#0  0xb4352eb0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996c6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56ecab0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb69f8cf8 in ?? () from /usr/lib/libdigikamcore.so.1
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xac8b4b70 (LWP 22698)):
#0  0xb284914b in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0xb2849ac8 in ?? () from /lib/libglib-2.0.so.0
#2  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#8  0xb434e980 in start_thread () from /lib/libpthread.so.0
#9  0xb498916e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xac0b4b70 (LWP 22699)):
#0  0xb497e784 in poll () from /lib/libc.so.6
#1  0xb285a0bb in g_poll () from /lib/libglib-2.0.so.0
#2  0xb2849c46 in ?? () from /lib/libglib-2.0.so.0
#3  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#9  0xb434e980 in start_thread () from /lib/libpthread.so.0
#10 0xb498916e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xa5446b70 (LWP 22702)):
#0  0xb28fdeb1 in clock_gettime () from /lib/librt.so.1
#1  0xb5745ae5 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5818726 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5816f6b in ?? () from /usr/lib/libQtCore.so.4
#4  0xb581700d in ?? () from /usr/lib/libQtCore.so.4
#5  0xb2848a70 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0xb28498e2 in ?? () from /lib/libglib-2.0.so.0
#7  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb57c823d in ?? () from /usr/lib/libQtCore.so.4
#13 0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#14 0xb434e980 in start_thread () from /lib/libpthread.so.0
#15 0xb498916e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xa4a2db70 (LWP 22709)):
#0  0xb5817dab in ?? () from /usr/lib/libQtCore.so.4
#1  0xb2849180 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0xb2849ac8 in ?? () from /lib/libglib-2.0.so.0
#3  0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb57c823d in ?? () from /usr/lib/libQtCore.so.4
#9  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#10 0xb434e980 in start_thread () from /lib/libpthread.so.0
#11 0xb498916e in clone () from /lib/libc.so.6

Thread 12 (Thread 0x9bbd3b70 (LWP 22746)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 11 (Thread 0x9abd3b70 (LWP 22748)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 10 (Thread 0x9a3d3b70 (LWP 22749)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 9 (Thread 0x99bd3b70 (LWP 22750)):
[KCrash Handler]
#6  0xb3f883e2 in ?? () from /usr/lib/liblensfun.so.0
#7  0xb3f81bec in lfModifier::AddCoordCallbackDistortion(lfLensCalibDistortion&, bool) () from /usr/lib/liblensfun.so.0
#8  0xb3f8d7ef in lfModifier::Initialize(lfLens const*, lfPixelFormat, float, float, float, float, lfLensType, int, bool) () from /usr/lib/liblensfun.so.0
#9  0xb696256c in Digikam::LensFunFilter::filterImage() () from /usr/lib/libdigikamcore.so.1
#10 0xb686aac0 in Digikam::DImgThreadedFilter::startFilterDirectly() () from /usr/lib/libdigikamcore.so.1
#11 0xb686a63f in Digikam::DImgThreadedFilter::run() () from /usr/lib/libdigikamcore.so.1
#12 0xb69fa2d6 in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.1
#13 0xb56e1d63 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#15 0xb434e980 in start_thread () from /lib/libpthread.so.0
#16 0xb498916e in clone () from /lib/libc.so.6

Thread 8 (Thread 0x993d3b70 (LWP 22751)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 7 (Thread 0x98bd3b70 (LWP 22752)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 6 (Thread 0x983d3b70 (LWP 22753)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 5 (Thread 0x95bd3b70 (LWP 22758)):
#0  0xb43531c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4996cc4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb56eca3c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb56e1df4 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#5  0xb434e980 in start_thread () from /lib/libpthread.so.0
#6  0xb498916e in clone () from /lib/libc.so.6

Thread 4 (Thread 0x920b1b70 (LWP 22768)):
#0  0xb5818726 in ?? () from /usr/lib/libQtCore.so.4
#1  0x0ce65cc4 in ?? ()
#2  0x1c244c8b in ?? ()
#3  0x624dd3ba in ?? ()
#4  0x245c8b10 in ?? ()
#5  0xf7c88924 in ?? ()
#6  0x244469ea in ?? ()
#7  0x0003e818 in ?? ()
#8  0x1ff9c100 in ?? ()
#9  0x2906fac1 in ?? ()
#10 0x31c201ca in ?? ()
#11 0x89d285c0 in ?? ()

Thread 3 (Thread 0x918b1b70 (LWP 22775)):
#0  0xb281a1c7 in ?? () from /lib/libglib-2.0.so.0
#1  0x00000000 in ?? ()

Thread 2 (Thread 0x908b1b70 (LWP 22782)):
#0  0xb4996e67 in pthread_mutex_lock () from /lib/libc.so.6
#1  0xb2849fb3 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0xb58177b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb56e97b9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0xb57c823d in ?? () from /usr/lib/libQtCore.so.4
#7  0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#8  0xb434e980 in start_thread () from /lib/libpthread.so.0
#9  0xb498916e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1f05740 (LWP 22690)):
#0  0xb497e784 in poll () from /lib/libc.so.6
#1  0xb2432480 in ?? () from /usr/lib/libxcb.so.1
#2  0xb2432aa4 in ?? () from /usr/lib/libxcb.so.1
#3  0xb2432b51 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0xb44c08c8 in _XSend () from /usr/lib/libX11.so.6
#5  0xb44c0eda in _XReply () from /usr/lib/libX11.so.6
#6  0xb44bc846 in XSync () from /usr/lib/libX11.so.6
#7  0xa0b0530b in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#8  0xa0b0542d in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#9  0xa0b0576b in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#10 0xb26efe9d in g_object_unref () from /lib/libgobject-2.0.so.0
#11 0xa9597a2d in gst_object_unref () from /usr/lib/libgstreamer-0.10.so.0
#12 0xa97b8565 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#13 0xa97db599 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#14 0xa97db5c2 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#15 0xa97d7ec7 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#16 0xa97d7f42 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#17 0xb77bca6a in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib/libphonon.so.4
#18 0xb77cd893 in ?? () from /usr/lib/libphonon.so.4
#19 0xb77cdb92 in ?? () from /usr/lib/libphonon.so.4
#20 0xb77cadd2 in ?? () from /usr/lib/libphonon.so.4
#21 0xb77c6899 in ?? () from /usr/lib/libphonon.so.4
#22 0xb48e467f in __run_exit_handlers () from /lib/libc.so.6
#23 0xb48e46dd in exit () from /lib/libc.so.6
#24 0xb4d0e1c8 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb5cf7c49 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#26 0xb5cf7c84 in ?? () from /usr/lib/libkdeui.so.5
#27 0xb44c34c4 in _XIOError () from /usr/lib/libX11.so.6
#28 0xb44c0c9f in _XEventsQueued () from /usr/lib/libX11.so.6
#29 0xb44b13e8 in XEventsQueued () from /usr/lib/libX11.so.6
#30 0xb4d4b413 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb2848a70 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#32 0xb28498e2 in ?? () from /lib/libglib-2.0.so.0
#33 0xb2849fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb581776b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb4d4b55a in ?? () from /usr/lib/libQtGui.so.4
#36 0xb57e82bd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb57e84e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb57ecf90 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb4c93104 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x08274c13 in ?? ()
#41 0xb48ccc2e in __libc_start_main () from /lib/libc.so.6
#42 0x080ab701 in _start ()
Comment 3 caulier.gilles 2011-03-29 13:00:21 UTC
This time, crash appears in liblensfun :

Thread 9 (Thread 0x99bd3b70 (LWP 22750)):
[KCrash Handler]
#6  0xb3f883e2 in ?? () from /usr/lib/liblensfun.so.0
#7  0xb3f81bec in
lfModifier::AddCoordCallbackDistortion(lfLensCalibDistortion&, bool) () from
/usr/lib/liblensfun.so.0
#8  0xb3f8d7ef in lfModifier::Initialize(lfLens const*, lfPixelFormat, float,
float, float, float, lfLensType, int, bool) () from /usr/lib/liblensfun.so.0
#9  0xb696256c in Digikam::LensFunFilter::filterImage() () from
/usr/lib/libdigikamcore.so.1
#10 0xb686aac0 in Digikam::DImgThreadedFilter::startFilterDirectly() () from
/usr/lib/libdigikamcore.so.1
#11 0xb686a63f in Digikam::DImgThreadedFilter::run() () from
/usr/lib/libdigikamcore.so.1
#12 0xb69fa2d6 in Digikam::DynamicThread::DynamicThreadPriv::run() () from
/usr/lib/libdigikamcore.so.1
#13 0xb56e1d63 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb56ec3aa in ?? () from /usr/lib/libQtCore.so.4
#15 0xb434e980 in start_thread () from /lib/libpthread.so.0
#16 0xb498916e in clone () from /lib/libc.so.6

Do you use an external version or digiKam core version of lensfun ?

Gilles Caulier
Comment 4 caulier.gilles 2011-08-04 14:01:40 UTC
David, 

Do you see my comment from #3 ?

Gilles Caulier
Comment 5 Sun Wukong 2011-08-19 13:18:55 UTC
Hello,

I've got the same crash, trying to do the same thing : defining a new (and first) camera from the settings.

Here's the debugging data I can get :

Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xaf587860 (LWP 1998))]

Thread 5 (Thread 0xae657b70 (LWP 1999)):
#0  0xb77b8424 in __kernel_vsyscall ()
#1  0xb42c187b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb492610c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4bbee20 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x081f6ccd in _start ()

Thread 4 (Thread 0xade56b70 (LWP 2000)):
#0  0xb35978d6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#1  0xb3598310 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb35986da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb4ce74a7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb4cb81fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4cb8441 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4bbbabb in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb4c98d9d in ?? () from /usr/lib/libQtCore.so.4
#8  0xb4bbe913 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb42bdc77 in start_thread () from /lib/libpthread.so.0
#10 0xb491843e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xad655b70 (LWP 2002)):
#0  0xb77b8424 in __kernel_vsyscall ()
#1  0xb42c187b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb492610c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4bbee20 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb6a613c4 in ?? () from /usr/lib/libdigikamcore.so.2
#5  0xb4bbe913 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb42bdc77 in start_thread () from /lib/libpthread.so.0
#7  0xb491843e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa71d0b70 (LWP 2026)):
#0  0xb77b8424 in __kernel_vsyscall ()
#1  0xb42c1c23 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4926164 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb4bbedae in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb4bb2b84 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4bbe913 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb42bdc77 in start_thread () from /lib/libpthread.so.0
#7  0xb491843e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xaf587860 (LWP 1998)):
[KCrash Handler]
#7  0xb48b8a36 in realloc () from /lib/libc.so.6
#8  0xb1710041 in register_platform () from /usr/lib/libdc1394.so.22
#9  0xb1723691 in usb_init () from /usr/lib/libdc1394.so.22
#10 0xa9045e5c in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0xb483f872 in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0xb37c75b0 in ?? () from /usr/lib/libltdl.so.7
#13 0xb37c6ad7 in ?? () from /usr/lib/libltdl.so.7
#14 0xb37c7d46 in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#15 0xb483fd10 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#16 0x083a3ca2 in ?? ()
#17 0x08118829 in _start ()

=======================================================================
I'm using ArchLinux, KDE 4.7.00, Digikam 2.0.0

Don't know if it's related but when I launch digikam from CLI, I got this message at lauch time :QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
Comment 6 caulier.gilles 2011-08-19 15:35:02 UTC

*** This bug has been marked as a duplicate of bug 268267 ***
Comment 7 caulier.gilles 2022-11-24 17:06:30 UTC
Fixed with #268267