Bug 210536

Summary: dikicam crashes when cannot access camera
Product: [Applications] digikam Reporter: stompdagger1
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description stompdagger1 2009-10-14 13:50:30 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-tuxonice x86_64

What I was doing when the application crashed:
I've plugged my camera, tried to load it with digikam due to a problem on my computer with has the digikam crashed.
I'll deal with the hal error but it would be nice that digikam won't crash next time on similar event

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

Thread 10 (Thread 0x7f0b627de910 (LWP 22537)):
#0  0x00007f0b6febb279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b7012846b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000000000640b8b in ?? ()
#3  0x00007f0b70127693 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f0b6128e910 (LWP 22539)):
#0  0x00007f0b6febb279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b7012846b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0b72017b72 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#3  0x00007f0b70127693 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0b60a01910 (LWP 22540)):
#0  0x00007f0b6febb279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b7012846b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0b72017b72 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#3  0x00007f0b70127693 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0b55775910 (LWP 22541)):
#0  0x00007f0b6febb4fd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b5a30ef5e in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0b53d01910 (LWP 22542)):
#0  0x00007f0b6e475bd2 in select () from /lib/libc.so.6
#1  0x00007f0b5a334a55 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f0b5a31b761 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0b53500910 (LWP 22543)):
#0  0x00007f0b6e473856 in poll () from /lib/libc.so.6
#1  0x00007f0b6ba920bc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0b6ba92400 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0b7021f05e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0b701f9342 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f0b701f94dd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f0b70124cab in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f0b5a5675dc in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f0b70127693 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#10 0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0b52af5910 (LWP 22546)):
#0  0x00007f0b6e473856 in poll () from /lib/libc.so.6
#1  0x00007f0b52afc0fe in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0b522f4910 (LWP 22547)):
#0  0x00007f0b6febb279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b5a31ce53 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f0b5a31e85a in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0b51af3910 (LWP 22548)):
#0  0x00007f0b6febb279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b7012846b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0b72017b72 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#3  0x00007f0b70127693 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0b6feb72e7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f0b6e47c7ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0b74c8e750 (LWP 22535)):
[KCrash Handler]
#5  0x00007f0b73f07fb8 in KHTMLPart::~KHTMLPart() () from /usr/lib64/libkhtml.so.5
#6  0x000000000065e2aa in ?? ()
#7  0x00007f0b748aa4b5 in KParts::Part::slotWidgetDestroyed() () from /usr/lib64/libkparts.so.4
#8  0x00007f0b748aa5ac in KParts::Part::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkparts.so.4
#9  0x00007f0b748aa605 in KParts::ReadOnlyPart::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkparts.so.4
#10 0x00007f0b73f1038e in KHTMLPart::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkhtml.so.5
#11 0x0000000000661b50 in ?? ()
#12 0x00007f0b7020bfe4 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f0b7020c3d4 in QObject::destroyed(QObject*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f0b7020e3d1 in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f0b6f08eae4 in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f0b7020782c in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f0b6f08edf9 in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00000000005e6c1d in ?? ()
#19 0x00007f0b7020782c in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f0b6f08edf9 in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f0b7205252c in Digikam::SidebarSplitter::~SidebarSplitter() () from /usr/lib64/libdigikamcore.so.1
#22 0x00007f0b7020782c in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f0b6f08edf9 in QWidget::~QWidget() () from /usr/lib64/qt4/libQtGui.so.4
#24 0x000000000060eaab in ?? ()
#25 0x00000000005eee53 in ?? ()
#26 0x00007f0b70208bdd in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f0b6f097e98 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f0b6f3c17bb in QMainWindow::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f0b711273d3 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007f0b6f04a91c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f0b6f0501c8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f0b7101c306 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#33 0x00007f0b701fa91b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f0b701faf6f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007f0b7021f383 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007f0b6ba8eb2d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x00007f0b6ba922d8 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00007f0b6ba92400 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0x00007f0b7021f006 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007f0b6f0d07ee in ?? () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f0b701f9342 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f0b701f94dd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007f0b701fb2c9 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#44 0x0000000000665952 in ?? ()
#45 0x00007f0b6e3c8a26 in __libc_start_main () from /lib/libc.so.6
#46 0x00000000004572d9 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2009-10-14 13:56:39 UTC
Dario,

Another crash in KHTML

Gilles
Comment 2 Dario Andres 2009-10-14 14:06:10 UTC
Yes, this is bug 209960, fixed after 4.3.2. Distributions should update their
distro packages to get this fix too. Until that moment Digikam will crash on some situations (it is not Digikam code fault)
Regards

*** This bug has been marked as a duplicate of bug 209960 ***
Comment 3 caulier.gilles 2017-08-15 13:12:17 UTC
This crash is relevant of KHTML. Since digiKam 5.x we use Qt5::WebView instead.

Gilles Caulier