Bug 333555

Summary: Digikam crashed while exporting photos
Product: [Applications] digikam Reporter: cchamilton1985
Component: BatchQueueManager-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 3.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description cchamilton1985 2014-04-17 21:31:31 UTC
Application: digikam (3.4.0)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-19-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Exporting photos using the batch que manager, I clicked the remove que button and the entire program crashed.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xad114900 (LWP 2647))]

Thread 10 (Thread 0xaad6cb40 (LWP 2653)):
#0  0xb2e7986e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb2e79be8 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2e35b72 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e36a08 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e3704b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xadd4232a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb2e5cc4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3254d78 in start_thread (arg=0xaad6cb40) at pthread_create.c:311
#8  0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 9 (Thread 0xaa2d4b40 (LWP 2654)):
#0  0xb7766424 in __kernel_vsyscall ()
#1  0xb4abf8db in read () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2e78d4e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e3665b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e36afa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2e36ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb2e36d2e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb2e5cc4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb3254d78 in start_thread (arg=0xaa2d4b40) at pthread_create.c:311
#9  0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 8 (Thread 0xa9ad3b40 (LWP 2659)):
#0  0xb7766424 in __kernel_vsyscall ()
#1  0xb325884b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4ade9bc in __pthread_cond_wait (cond=0x8f5c148, mutex=0x8f5c130) at forward.c:149
#3  0xb4dc0ca5 in wait (time=4294967295, this=0x8f5c130) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x8f5c0a4, mutex=mutex@entry=0x8f5c0a0, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820d9c4 in Digikam::ScanController::run (this=0x8f59f70) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:725
#6  0xb4dc072f in QThreadPrivate::start (arg=0x8f59f70) at thread/qthread_unix.cpp:338
#7  0xb3254d78 in start_thread (arg=0xa9ad3b40) at pthread_create.c:311
#8  0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 7 (Thread 0xa7cf4b40 (LWP 2660)):
#0  0xb2e33d63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb2e360d3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2e36a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e36ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4eff8df in QEventDispatcherGlib::processEvents (this=0xa8900480, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb4ece9f3 in QEventLoop::processEvents (this=this@entry=0xa7cf4068, flags=...) at kernel/qeventloop.cpp:149
#6  0xb4eced19 in QEventLoop::exec (this=this@entry=0xa7cf4068, flags=...) at kernel/qeventloop.cpp:204
#7  0xb4dbde3d in QThread::exec (this=this@entry=0x8f76218) at thread/qthread.cpp:542
#8  0xb4eaee14 in QInotifyFileSystemWatcherEngine::run (this=0x8f76218) at io/qfilesystemwatcher_inotify.cpp:265
#9  0xb4dc072f in QThreadPrivate::start (arg=0x8f76218) at thread/qthread_unix.cpp:338
#10 0xb3254d78 in start_thread (arg=0xa7cf4b40) at pthread_create.c:311
#11 0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 6 (Thread 0xa74f3b40 (LWP 2663)):
#0  0xb7766424 in __kernel_vsyscall ()
#1  0xb325884b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4ade9bc in __pthread_cond_wait (cond=0x917ef40, mutex=0x917ef28) at forward.c:149
#3  0xb4dc0ca5 in wait (time=4294967295, this=0x917ef28) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x93582d0, mutex=mutex@entry=0x93582cc, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb69cfd54 in Digikam::ParkingThread::run (this=0x93582c0) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4dc072f in QThreadPrivate::start (arg=0x93582c0) at thread/qthread_unix.cpp:338
#7  0xb3254d78 in start_thread (arg=0xa74f3b40) at pthread_create.c:311
#8  0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0x91d78b40 (LWP 3213)):
#0  0xb2e7986e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb2e79be8 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2e36a00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e36ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4eff8df in QEventDispatcherGlib::processEvents (this=0xa9102ba8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb4ece9f3 in QEventLoop::processEvents (this=this@entry=0x91d78068, flags=...) at kernel/qeventloop.cpp:149
#6  0xb4eced19 in QEventLoop::exec (this=this@entry=0x91d78068, flags=...) at kernel/qeventloop.cpp:204
#7  0xb69cf322 in Digikam::WorkerObjectRunnable::run (this=0x95decb8) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#8  0xb4db363a in QThreadPoolThread::run (this=0xa1c4d08) at concurrent/qthreadpool.cpp:107
#9  0xb4dc072f in QThreadPrivate::start (arg=0xa1c4d08) at thread/qthread_unix.cpp:338
#10 0xb3254d78 in start_thread (arg=0x91d78b40) at pthread_create.c:311
#11 0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0x9864eb40 (LWP 3636)):
#0  Digikam::ImageHistogram::calculate (this=this@entry=0x9ad4b9d8) at /build/buildd/digikam-3.4.0/core/libs/dimg/filters/levels/imagehistogram.cpp:244
#1  0xb684d9fc in Digikam::AutoLevelsFilter::autoLevelsCorrectionImage (this=this@entry=0x9864dd28) at /build/buildd/digikam-3.4.0/core/libs/dimg/filters/auto/autolevelsfilter.cpp:120
#2  0xb684dd7f in Digikam::AutoLevelsFilter::filterImage (this=0x9864dd28) at /build/buildd/digikam-3.4.0/core/libs/dimg/filters/auto/autolevelsfilter.cpp:69
#3  0xb6801d98 in Digikam::DImgThreadedFilter::startFilterDirectly (this=0x9864dd28) at /build/buildd/digikam-3.4.0/core/libs/dimg/filters/dimgthreadedfilter.cpp:194
#4  0x0835b147 in Digikam::BatchTool::applyFilter (this=this@entry=0xa8ffc6c8, filter=filter@entry=0x9864dd28) at /build/buildd/digikam-3.4.0/core/utilities/queuemanager/manager/batchtool.cpp:446
#5  0x08383483 in Digikam::AutoCorrection::toolOperations (this=0xa8ffc6c8) at /build/buildd/digikam-3.4.0/core/utilities/queuemanager/basetools/color/autocorrection.cpp:119
#6  0x0835c2a8 in Digikam::BatchTool::apply (this=0xa8ffc6c8) at /build/buildd/digikam-3.4.0/core/utilities/queuemanager/manager/batchtool.cpp:441
#7  0x08358202 in Digikam::Task::run (this=0xdf78f40) at /build/buildd/digikam-3.4.0/core/utilities/queuemanager/manager/task.cpp:162
#8  0xb6e859c9 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x9864e068, th=0xa8736a58, job=job@entry=0xdf78f40) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0xb6e85bc5 in ThreadWeaver::Job::execute (this=0xdf78f40, th=0xa8736a58) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0xb6e87d0c in ThreadWeaver::JobCollectionJobRunner::execute (this=0xdf791b8, t=0xa8736a58) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#11 0xb6e85314 in ThreadWeaver::Thread::run (this=0xa8736a58) at ../../../threadweaver/Weaver/Thread.cpp:108
#12 0xb4dc072f in QThreadPrivate::start (arg=0xa8736a58) at thread/qthread_unix.cpp:338
#13 0xb3254d78 in start_thread (arg=0x9864eb40) at pthread_create.c:311
#14 0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0x94a40b40 (LWP 3637)):
#0  __GI___pthread_mutex_lock (mutex=0xd74c358) at pthread_mutex_lock.c:47
#1  0xb4adebc4 in pthread_mutex_lock (mutex=0xd74c358) at forward.c:192
#2  0xb2e79bb0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e3614d in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e36a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2e36ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4eff8df in QEventDispatcherGlib::processEvents (this=0xcd042c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4ece9f3 in QEventLoop::processEvents (this=this@entry=0x94a40068, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4eced19 in QEventLoop::exec (this=this@entry=0x94a40068, flags=...) at kernel/qeventloop.cpp:204
#9  0xb69cf322 in Digikam::WorkerObjectRunnable::run (this=0xa8bbb430) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4db363a in QThreadPoolThread::run (this=0xa1c4a70) at concurrent/qthreadpool.cpp:107
#11 0xb4dc072f in QThreadPrivate::start (arg=0xa1c4a70) at thread/qthread_unix.cpp:338
#12 0xb3254d78 in start_thread (arg=0x94a40b40) at pthread_create.c:311
#13 0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0x8cf7eb40 (LWP 7233)):
#0  0xb7766424 in __kernel_vsyscall ()
#1  0xb325884b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4ade9bc in __pthread_cond_wait (cond=0xa0bf868, mutex=0xa0bf850) at forward.c:149
#3  0xb4dc0ca5 in wait (time=4294967295, this=0xa0bf850) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa0bcbfc, mutex=0xa0bcc00, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6c2b1c8 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.22
#6  0xb4dc072f in QThreadPrivate::start (arg=0xa0bf718) at thread/qthread_unix.cpp:338
#7  0xb3254d78 in start_thread (arg=0x8cf7eb40) at pthread_create.c:311
#8  0xb4ad101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xad114900 (LWP 2647)):
[KCrash Handler]
#7  0x08369566 in Digikam::QueueListViewItem::setDestFileName (this=this@entry=0x0, str=...) at /build/buildd/digikam-3.4.0/core/utilities/queuemanager/views/queuelist.cpp:218
#8  0x0835255a in Digikam::QueueMgrWindow::slotAction (this=0x9d35870, ad=...) at /build/buildd/digikam-3.4.0/core/utilities/queuemanager/main/queuemgrwindow.cpp:944
#9  0x08355e87 in Digikam::QueueMgrWindow::qt_static_metacall (_o=0xbff7f98c, _id=246206209, _a=0xbff7f93c, _c=<optimized out>) at /build/buildd/digikam-3.4.0/obj-i686-linux-gnu/core/utilities/queuemanager/queuemgrwindow.moc:96
#10 0xb4ee4fc7 in QMetaObject::activate (sender=0xa0bf718, m=m@entry=0x84c85c0 <Digikam::ActionThread::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbff7fa98) at kernel/qobject.cpp:3539
#11 0x083573ef in signalFinished (_t1=..., this=<optimized out>) at /build/buildd/digikam-3.4.0/obj-i686-linux-gnu/core/utilities/queuemanager/actionthread.moc:119
#12 Digikam::ActionThread::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.4.0/obj-i686-linux-gnu/core/utilities/queuemanager/actionthread.moc:60
#13 0xb4ee177a in QMetaCallEvent::placeMetaCall (this=0x9ae432c0, object=0xa0bf718) at kernel/qobject.cpp:524
#14 0xb4ee958b in QObject::event (this=0xa0bf718, e=0x9ae432c0) at kernel/qobject.cpp:1194
#15 0xb542b744 in QApplicationPrivate::notify_helper (this=0x8d8c498, receiver=0xa0bf718, e=0x9ae432c0) at kernel/qapplication.cpp:4567
#16 0xb5432223 in QApplication::notify (this=0xbff801e8, receiver=receiver@entry=0xa0bf718, e=e@entry=0x9ae432c0) at kernel/qapplication.cpp:4353
#17 0xb5f78ff4 in KApplication::notify (this=0xbff801e8, receiver=0xa0bf718, event=0x9ae432c0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb4ecfeda in QCoreApplication::notifyInternal (this=0xbff801e8, receiver=receiver@entry=0xa0bf718, event=event@entry=0x9ae432c0) at kernel/qcoreapplication.cpp:946
#19 0xb4ed36ad in sendEvent (event=0x9ae432c0, receiver=0xa0bf718) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8d27ea8) at kernel/qcoreapplication.cpp:1570
#21 0xb4ed3bbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#22 0xb4efff6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0x8d893d8) at kernel/qeventdispatcher_glib.cpp:279
#24 0xb2e3683e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb2e36be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb2e36ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb4eff8bf in QEventDispatcherGlib::processEvents (this=this@entry=0x8d087b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0xb54e032e in QGuiEventDispatcherGlib::processEvents (this=0x8d087b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb4ece9f3 in QEventLoop::processEvents (this=this@entry=0xbff80018, flags=...) at kernel/qeventloop.cpp:149
#30 0xb4eced19 in QEventLoop::exec (this=this@entry=0xbff80018, flags=...) at kernel/qeventloop.cpp:204
#31 0xb4ed489e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#32 0xb5429974 in QApplication::exec () at kernel/qapplication.cpp:3828
#33 0x080bc0b0 in main (argc=5, argv=0xbff80324) at /build/buildd/digikam-3.4.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 330133.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-16 07:30:17 UTC
digiKam 4.0.0 is out :

http://www.digikam.org/node/713

Please check if this entry still valid with this new version.

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2014-09-01 11:44:49 UTC
cchamilton1985,

This file still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 3 caulier.gilles 2015-06-25 13:14:20 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

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

Can you reproduce the problem with this release ?
Comment 4 caulier.gilles 2015-08-20 06:52:14 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.

Gilles Caulier
Comment 5 caulier.gilles 2016-07-14 17:11:47 UTC
With digiKam 5.0.0  this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier