Bug 230666

Summary: Crash during start
Product: [Applications] digikam Reporter: Tom Broucek <broucek>
Component: Setup-ConfigFilesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, cirdan52, fauxpas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Tom Broucek 2010-03-14 10:08:52 UTC
Application that crashed: digikam
Version of the application: 1.0.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-18-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
DigiKam started once right, it worked fine. During next start it crashed.

(DigiKam builded from SVN trunk, rev. 1102776)

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 0 (LWP 6962)]

Thread 16 (Thread 0xb1ea3b90 (LWP 6963)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb54e6172 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0x08323399 in Digikam::ScanController::run (this=0x98468b8) at /home/tom/src/digikam-1.0.0/digikam/scancontroller.cpp:499
#5  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xb11ffb90 (LWP 6982)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb52e7ae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb3a4674b in IA__g_poll (fds=0xb0848940, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.20.1/glib/gpoll.c:127
#3  0xb3a38f82 in g_main_context_iterate (context=0x9be54c0, block=1, dispatch=1, self=0xb08b07d0) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2761
#4  0xb3a39268 in IA__g_main_context_iteration (context=0x9be54c0, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#5  0xb5605317 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb55d81fa in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb55d8642 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb54e1e19 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb6e6b42d in Digikam::ImageFilterModelWorker::Thread::run (this=0x995efb8) at /home/tom/src/digikam-1.0.0/digikam/../libs/models/imagefiltermodelthreads.h:66
#10 0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xb034db90 (LWP 6983)):
#0  0xb399c0ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb560704b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5607221 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5608e0c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56054da in ?? () from /usr/lib/libQtCore.so.4
#5  0xb3a389c0 in IA__g_main_context_prepare (context=0x9bd9db8, priority=0xb034d228) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2134
#6  0xb3a38dda in g_main_context_iterate (context=0x9bd9db8, block=1, dispatch=1, self=0x9aa0f88) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2428
#7  0xb3a39268 in IA__g_main_context_iteration (context=0x9bd9db8, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#8  0xb5605317 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb55d81fa in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb55d8642 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb54e1e19 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb6e6b42d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9b92d60) at /home/tom/src/digikam-1.0.0/digikam/../libs/models/imagefiltermodelthreads.h:66
#13 0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xafb4cb90 (LWP 6984)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb54e6172 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7087e1a in Digikam::LoadSaveThread::run (this=0x9bbbc18) at /home/tom/src/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#5  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xaf34bb90 (LWP 6985)):
#0  0xb51fca3d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb53014b6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb3a389fc in IA__g_main_context_prepare (context=0x9c926a8, priority=0xaf34b238) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2136
#3  0xb3a38dda in g_main_context_iterate (context=0x9c926a8, block=1, dispatch=1, self=0x9b98358) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2428
#4  0xb3a39268 in IA__g_main_context_iteration (context=0x9c926a8, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#5  0xb5605317 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb55d81fa in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb55d8642 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb54e1e19 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xaeb4ab90 (LWP 6986)):
#0  0xb530171b in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xb52e7acd in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb3a4674b in IA__g_poll (fds=0xb12b55c8, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.20.1/glib/gpoll.c:127
#3  0xb3a38f82 in g_main_context_iterate (context=0x9c67ab0, block=1, dispatch=1, self=0xb1200980) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2761
#4  0xb3a39268 in IA__g_main_context_iteration (context=0x9c67ab0, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#5  0xb5605317 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb55d81fa in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb55d8642 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb54e1e19 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xae349b90 (LWP 6987)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb54e6172 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7087e1a in Digikam::LoadSaveThread::run (this=0x9c62240) at /home/tom/src/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#5  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xab577b90 (LWP 6988)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5301344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xac429ae3 in ?? () from /usr/lib/libxine.so.1

Thread 8 (Thread 0xaa8ddb90 (LWP 6989)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb52ea7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xac4537d6 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 7 (Thread 0xaa0dcb90 (LWP 6990)):
#0  0xb399c0ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb560704b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5607221 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5608e0c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb56054da in ?? () from /usr/lib/libQtCore.so.4
#5  0xb3a389c0 in IA__g_main_context_prepare (context=0xa3c5d60, priority=0xaa0dc1e8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2134
#6  0xb3a38dda in g_main_context_iterate (context=0xa3c5d60, block=1, dispatch=1, self=0xa3c6d40) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2428
#7  0xb3a39268 in IA__g_main_context_iteration (context=0xa3c5d60, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#8  0xb5605317 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb55d81fa in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb55d8642 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb54e1e19 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb092920a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xa58dab90 (LWP 6996)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb52e7ae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xaad5db19 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0xb08f87dc in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa98d5b90 (LWP 6997)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xac43ad8e in ?? () from /usr/lib/libxine.so.1
#4  0x00000001 in ?? ()
#5  0x00000000 in ?? ()

Thread 4 (Thread 0xa7fc9b90 (LWP 7007)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb54e6172 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7087e1a in Digikam::LoadSaveThread::run (this=0xa81c650) at /home/tom/src/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#5  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa77c8b90 (LWP 7014)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb54e6172 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7087e1a in Digikam::LoadSaveThread::run (this=0xa9ef970) at /home/tom/src/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#5  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa50d9b90 (LWP 7015)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb51ff0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb53012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb54e6172 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7087e1a in Digikam::LoadSaveThread::run (this=0xa940360) at /home/tom/src/digikam-1.0.0/libs/threadimageio/loadsavethread.cpp:131
#5  0xb54e5132 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb51fb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb52f249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb35b6a90 (LWP 6962)):
[KCrash Handler]
#6  0xb5af7df2 in QWidgetPrivate::init () from /usr/lib/libQtGui.so.4
#7  0xb5af880e in QWidget::QWidget () from /usr/lib/libQtGui.so.4
#8  0xb7732ab7 in KIPI::UploadWidget::UploadWidget () from /usr/lib/libkipi.so.6
#9  0x0819b48b in KipiUploadWidget (this=0xc3456f0, iface=0xbfb901dc, parent=0xc1d3d08) at /home/tom/src/digikam-1.0.0/utilities/kipiiface/kipiuploadwidget.cpp:72
#10 0x0819b890 in Digikam::KipiInterface::uploadWidget (this=0xbfb901dc, parent=0xc1d3d08) at /home/tom/src/digikam-1.0.0/utilities/kipiiface/kipiinterface.cpp:264
#11 0x9e8196a5 in ActionThread (this=0xc3062f8, interface=0xc1d3d08, parent=0xc095d40) at /home/tom/src/graphics/kipi-plugins/jpeglossless/actionthread.cpp:97
#12 0x9e80f7b7 in Plugin_JPEGLossless::setup (this=0xc095d40, widget=0x9a14810) at /home/tom/src/graphics/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp:171
#13 0x082b0509 in Digikam::DigikamApp::slotKipiPluginPlug (this=0x9a14810) at /home/tom/src/digikam-1.0.0/digikam/digikamapp.cpp:2360
#14 0x082c70f0 in Digikam::DigikamApp::qt_metacall (this=0x9a14810, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfb904c8) at /home/tom/src/digikam-1.0.0/digikam/digikamapp.moc:222
#15 0xb55ef1b8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb55efe42 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb772a3c7 in KIPI::PluginLoader::replug () from /usr/lib/libkipi.so.6
#18 0xb772d970 in KIPI::PluginLoader::loadPlugins () from /usr/lib/libkipi.so.6
#19 0x082b8a9d in Digikam::DigikamApp::loadPlugins (this=0x9a14810) at /home/tom/src/digikam-1.0.0/digikam/digikamapp.cpp:2303
#20 0x082c5586 in DigikamApp (this=0x9a14810) at /home/tom/src/digikam-1.0.0/digikam/digikamapp.cpp:262
#21 0x083c4e82 in main (argc=1, argv=0xbfb90b44) at /home/tom/src/digikam-1.0.0/digikam/main.cpp:172

This bug may be a duplicate of or related to bug 201654

Reported using DrKonqi
Comment 1 Tom Broucek 2010-03-14 10:13:56 UTC
After restart from bugreport dialogue it works again fine.
The build version is 1.2.0 (rev.: 1102931). 
I didn't read revision correctly from my SVN sandbox in original report.
Comment 2 caulier.gilles 2010-03-14 11:51:52 UTC
Uodate kipi-plugins to 1.1.0 and try again. Crash appears in JpegLossLess tool...

Also, go to Help/Components Info to see which libjpeg you use.

Gilles Caulier
Comment 3 caulier.gilles 2010-04-04 10:47:04 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2010-10-07 09:09:50 UTC
We need feedback using kipi-plugins 1.4.0

Gilles Caulier
Comment 5 fauxpas 2010-10-15 00:12:20 UTC
Created attachment 52523 [details]
New crash information added by DrKonqi

I have never managed to open Digikam, as it gets as far as the flash screen and starts its initialization, then starts to load its plug-ins before crashing.
Comment 6 caulier.gilles 2010-10-15 10:21:40 UTC
Crash apperas in libkipi. this problem have been already fixed.

#14 0xb7009755 in KIPI::PluginLoader::replug (this=0xa30ae98) at /usr/src/debug/kdegraphics-4.4.4/build/libs/libkipi/libkipi/pluginloader.moc:103
#15 0xb7009aeb in KIPI::PluginLoader::loadPlugins (this=0xa30ae98) at /usr/src/debug/kdegraphics-4.4.4/libs/libkipi/libkipi/pluginloader.cpp:314
#16 0x082942f6 in Digikam::DigikamApp::loadPlugins (this=0x857f198) at /usr/src/debug/digikam-1.2.0/digikam/digikamapp.cpp:2297
#17 0x082a48d5 in Digikam::DigikamApp::DigikamApp (this=0x857f198, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/digikam-1.2.0/digikam/digikamapp.cpp:252
#18 0x08370c5c in main (argc=) at /usr/src/debug/digikam-1.2.0/digikam/main.cpp:170

Please update likipi and kipi-plugins.

Gilles Caulier
Comment 7 caulier.gilles 2010-11-24 09:16:51 UTC
kipi-plugins 1.6.0 is out:

http://www.digikam.org/drupal/node/551

Please update and check if this entry still valid.

Thanks in advance

Gilles Caulier
Comment 8 cirdan52 2011-01-27 03:33:08 UTC
Created attachment 56457 [details]
New crash information added by DrKonqi

digikam (1.9.0 (rev.: 1217386)) on KDE Platform 4.5.5 (KDE 4.5.5) "release 1" using Qt 4.6.3

- What I was doing when the application crashed:

Restarted application, worked a couple of times but then it crashed after the third start

-- Backtrace (Reduced):
#15 0xb6f107a5 in KIPI::PluginLoader::replug (this=0x11d169d0) at /usr/src/debug/kdegraphics-4.5.5/build/libs/libkipi/libkipi/pluginloader.moc:103
#16 0xb6f10b3b in KIPI::PluginLoader::loadPlugins (this=0x11d169d0) at /usr/src/debug/kdegraphics-4.5.5/libs/libkipi/libkipi/pluginloader.cpp:324
#17 0x081c8392 in Digikam::DigikamApp::loadPlugins (this=0x8601be8) at /home/barrie/graphics/digikam/digikam/digikamapp.cpp:2495
#18 0x081b5134 in Digikam::DigikamApp::DigikamApp (this=0x8601be8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/barrie/graphics/digikam/digikam/digikamapp.cpp:260
#19 0x08248ba7 in main (argc=5, argv=0xbff2e024) at /home/barrie/graphics/digikam/digikam/main.cpp:177
Comment 9 caulier.gilles 2011-11-03 12:44:10 UTC
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 10 caulier.gilles 2011-12-20 10:22:46 UTC
Tom,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 11 caulier.gilles 2012-01-25 09:55:58 UTC

*** This bug has been marked as a duplicate of bug 201654 ***
Comment 12 caulier.gilles 2018-02-04 09:05:15 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core