Bug 262356

Summary: Digikam shutdown after attempting to move a picture
Product: [Applications] digikam Reporter: Ken Jarvis <kenjarvis>
Component: BatchQueueManager-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:

Description Ken Jarvis 2011-01-07 00:22:53 UTC
Application: digikam (1.6.0)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I was migrating my pictures from one drive to another. Went to move a single picture from one directory to another and digikam shut down.

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

Thread 16 (Thread 0xb75efb70 (LWP 4441)):
#0  0x031bf0ac in poll@plt () from /lib/libglib-2.0.so.0
#1  0x031fba1b in g_poll () from /lib/libglib-2.0.so.0
#2  0x031ee43c in ?? () from /lib/libglib-2.0.so.0
#3  0x031eeba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0x02ffa9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0x0321548f in ?? () from /lib/libglib-2.0.so.0
#6  0x006cccc9 in start_thread () from /lib/libpthread.so.0
#7  0x02c2869e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb4fb0b70 (LWP 4442)):
#0  0x00fb4416 in __kernel_vsyscall ()
#1  0x006d14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0332a9c7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x08266c04 in Digikam::ScanController::run (this=0xa2f6040) at /usr/local/src/digikam-1.6.0/digikam/scancontroller.cpp:519
#4  0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#5  0x006cccc9 in start_thread () from /lib/libpthread.so.0
#6  0x02c2869e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb47afb70 (LWP 4444)):
#0  0x025dde36 in clock_gettime () from /lib/librt.so.1
#1  0x0338550b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0345c6e5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0345c72a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0345a7a8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0345a83d in ?? () from /usr/lib/libQtCore.so.4
#6  0x031ede6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#8  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x00e6c05d in Digikam::ImageFilterModelWorker::Thread::run (this=0xa41e528) at /usr/local/src/digikam-1.7.0/build/digikam/../../libs/models/imagefiltermodelthreads.h:74
#14 0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#15 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#16 0x02c2869e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb3153b70 (LWP 4445)):
#0  0x006cf3f1 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x031edea3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#3  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00e6c05d in Digikam::ImageFilterModelWorker::Thread::run (this=0xa4186e0) at /usr/local/src/digikam-1.7.0/build/digikam/../../libs/models/imagefiltermodelthreads.h:74
#9  0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#10 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#11 0x02c2869e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb28d1b70 (LWP 4446)):
#0  0x00fb4416 in __kernel_vsyscall ()
#1  0x006d14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0332a9c7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x072c9e5a in Digikam::ParkingThread::run (this=0xa448470) at /usr/local/src/digikam-1.7.0/libs/threads/threadmanager.cpp:119
#4  0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#5  0x006cccc9 in start_thread () from /lib/libpthread.so.0
#6  0x02c2869e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb20d0b70 (LWP 4447)):
#0  0x025dde36 in clock_gettime () from /lib/librt.so.1
#1  0x0338550b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0345c6e5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0345c72a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0345a7a8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0345a83d in ?? () from /usr/lib/libQtCore.so.4
#6  0x031ede6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#8  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#14 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#15 0x02c2869e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb18cfb70 (LWP 4448)):
#0  0x02c19df8 in poll () from /lib/libc.so.6
#1  0x031fba1b in g_poll () from /lib/libglib-2.0.so.0
#2  0x031ee43c in ?? () from /lib/libglib-2.0.so.0
#3  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#9  0x006cccc9 in start_thread () from /lib/libpthread.so.0
#10 0x02c2869e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xab245b70 (LWP 4449)):
#0  0x00fb4416 in __kernel_vsyscall ()
#1  0x006d1884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x052cbb3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xaa639b70 (LWP 4450)):
#0  0x00fb4416 in __kernel_vsyscall ()
#1  0x02c21371 in select () from /lib/libc.so.6
#2  0x052f7f1c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 7 (Thread 0xa9e38b70 (LWP 4451)):
#0  0x025dde36 in clock_gettime () from /lib/librt.so.1
#1  0x0338550b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0345c6e5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0345c72a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0345a7a8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0345a83d in ?? () from /usr/lib/libQtCore.so.4
#6  0x031ede6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#8  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x08c9681a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#14 0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#15 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#16 0x02c2869e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa9637b70 (LWP 4452)):
#0  0x0081157f in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#1  0x00811a81 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#2  0x00811b44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#3  0x00823303 in ?? () from /usr/lib/libpulse.so.0
#4  0x028f6bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#5  0x006cccc9 in start_thread () from /lib/libpthread.so.0
#6  0x02c2869e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa4e35b70 (LWP 4453)):
#0  0x00fb4416 in __kernel_vsyscall ()
#1  0x006d14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x052ddb54 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa4634b70 (LWP 4454)):
#0  0x006cf3eb in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x031edea3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#3  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x0340935b in ?? () from /usr/lib/libQtCore.so.4
#9  0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#10 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#11 0x02c2869e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa1d4fb70 (LWP 4461)):
#0  0x025dde36 in clock_gettime () from /lib/librt.so.1
#1  0x0338550b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0345c6e5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0345c72a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0345a7a8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0345a83d in ?? () from /usr/lib/libQtCore.so.4
#6  0x031ede6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#8  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x0340935b in ?? () from /usr/lib/libQtCore.so.4
#14 0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#15 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#16 0x02c2869e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa154eb70 (LWP 4495)):
#0  0x025dde36 in clock_gettime () from /lib/librt.so.1
#1  0x0338550b in ?? () from /usr/lib/libQtCore.so.4
#2  0x0345c6e5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0345c72a in ?? () from /usr/lib/libQtCore.so.4
#4  0x0345a7a8 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0345a83d in ?? () from /usr/lib/libQtCore.so.4
#6  0x031ede6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x031ee279 in ?? () from /lib/libglib-2.0.so.0
#8  0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x03326b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x0340935b in ?? () from /usr/lib/libQtCore.so.4
#14 0x03329df9 in ?? () from /usr/lib/libQtCore.so.4
#15 0x006cccc9 in start_thread () from /lib/libpthread.so.0
#16 0x02c2869e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb785e960 (LWP 4440)):
[KCrash Handler]
#7  0x0337559a in QString::operator=(QString const&) () from /usr/lib/libQtCore.so.4
#8  0x082fdb47 in Digikam::QueueMgrWindow::applySettings (this=0xc2c0978) at /usr/local/src/digikam-1.6.0/utilities/queuemanager/queuemgrwindow.cpp:528
#9  0x08302257 in Digikam::QueueMgrWindow::QueueMgrWindow (this=0xc2c0978, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/local/src/digikam-1.6.0/utilities/queuemanager/queuemgrwindow.cpp:156
#10 0x083025d6 in Digikam::QueueMgrWindow::queueManagerWindow () at /usr/local/src/digikam-1.6.0/utilities/queuemanager/queuemgrwindow.cpp:105
#11 0x081ecd74 in Digikam::ContextMenuHelper::addQueueManagerMenu (this=0xbff14630) at /usr/local/src/digikam-1.6.0/digikam/contextmenuhelper.cpp:717
#12 0x082160ee in Digikam::DigikamImageView::showContextMenuOnInfo (this=0xa440360, event=0xbff15058, info=...) at /usr/local/src/digikam-1.6.0/digikam/digikamimageview.cpp:213
#13 0x0822d3e4 in Digikam::ImageCategorizedView::showContextMenuOnIndex (this=0xa440360, event=0xbff15058, index=...) at /usr/local/src/digikam-1.6.0/digikam/imagecategorizedview.cpp:498
#14 0x072d5502 in Digikam::DCategorizedView::contextMenuEvent (this=0xa440360, event=0xbff15058) at /usr/local/src/digikam-1.7.0/libs/widgets/common/dcategorizedview.cpp:615
#15 0x017d5528 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x01bf6763 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x01c93a82 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x01d500f7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x072d7ccd in Digikam::DCategorizedView::viewportEvent (this=0xa440360, event=0xbff15058) at /usr/local/src/digikam-1.7.0/libs/widgets/common/dcategorizedview.cpp:819
#20 0x01c964d5 in ?? () from /usr/lib/libQtGui.so.4
#21 0x0342b29a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x01776fb9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x0177d458 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x08edd05a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x0342bb3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x0180f62e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x0180ad7c in ?? () from /usr/lib/libQtGui.so.4
#28 0x0180a151 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#29 0x0183936a in ?? () from /usr/lib/libQtGui.so.4
#30 0x031ea855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x031ee668 in ?? () from /lib/libglib-2.0.so.0
#32 0x031ee848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x0345a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x01838be5 in ?? () from /usr/lib/libQtGui.so.4
#35 0x0342a609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x0342aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x0342f00f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0x01775e07 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0x082ba933 in main (argc=5, argv=0xbff15dd4) at /usr/local/src/digikam-1.6.0/digikam/main.cpp:213

Reported using DrKonqi
Comment 1 caulier.gilles 2011-01-07 08:43:35 UTC
The crash come from Batch Queue Manager and application is killed about Qt4::QString manipulation.

There is no reason for that. I suspect a problem from your Qt4 installation.

Also, i recommend to update and test with digiKam 1.7.0.

Gilles Caulier
Comment 2 caulier.gilles 2011-07-06 11:01:38 UTC
We need feedback using a recent version. 2.0.0 RC is out, please test...

Thanks in advance

Gilles Caulier
Comment 3 caulier.gilles 2015-07-02 05:08:09 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 4 caulier.gilles 2015-08-24 05:15:44 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 5 caulier.gilles 2016-07-03 07:06:49 UTC
With digiKam 5.0.0, this problem is not reproducible.

I close this file now. Re-open it if necessary.

Gilles Caulier