Bug 343314

Summary: Mass face tagging pictures when writing the tags into the files often crashes at the end of the writing
Product: [Applications] digikam Reporter: Marcus <wellendorf>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Marcus 2015-01-26 08:57:51 UTC
Application: digikam (4.6.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-36-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
This time tagging through face recognition. But I have often crashes when tagging pictures or changing tags. If I understnad right, Digikam is first updating the database and than writing into the files. Mostly the crash is at the end of writing the files. I have only seen this when tagging many files at once. Change or tag one or some files usually is not a problem.

- Unusual behavior I noticed:
Kind of slow writing the tags into the files, but I am not shure, if this is not regular.

Kubuntu 14.04, KDE 4.13.2, Digikam 4.6 with philip5 backports and kubuntu - backports enabled

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f1aaab67ac0 (LWP 25843))]

Thread 29 (Thread 0x7f1a83187700 (LWP 25845)):
#0  0x00007f1aa3741cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a88969248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f1aa08e3182 in start_thread (arg=0x7f1a83187700) at pthread_create.c:312
#3  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 28 (Thread 0x7f1a7c99d700 (LWP 25846)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1aa422a816 in wait (time=18446744073709551615, this=0xf26190) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xfbbd00, mutex=mutex@entry=0xfbbcf8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005db01e in Digikam::ScanController::run (this=0xf9ffd0) at /build/buildd/digikam-4.6.0/core/app/database/scancontroller.cpp:725
#4  0x00007f1aa422a32f in QThreadPrivate::start (arg=0xf9ffd0) at thread/qthread_unix.cpp:349
#5  0x00007f1aa08e3182 in start_thread (arg=0x7f1a7c99d700) at pthread_create.c:312
#6  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 27 (Thread 0x7f1a77fff700 (LWP 25847)):
#0  0x00007f1aa3741cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a9b883fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a77ffeae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a77ffeae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1aa4227c5f in QThread::exec (this=this@entry=0xe90f80) at thread/qthread.cpp:537
#7  0x00007f1aa430c823 in QInotifyFileSystemWatcherEngine::run (this=0xe90f80) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f1aa422a32f in QThreadPrivate::start (arg=0xe90f80) at thread/qthread_unix.cpp:349
#9  0x00007f1aa08e3182 in start_thread (arg=0x7f1a77fff700) at pthread_create.c:312
#10 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 26 (Thread 0x7f1a777fe700 (LWP 25851)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1aa422a816 in wait (time=18446744073709551615, this=0x106bea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x11b5370, mutex=mutex@entry=0x11b5368, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1aa88f96ca in Digikam::ParkingThread::run (this=0x11b5350) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x11b5350) at thread/qthread_unix.cpp:349
#5  0x00007f1aa08e3182 in start_thread (arg=0x7f1a777fe700) at pthread_create.c:312
#6  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 25 (Thread 0x7f1a67fff700 (LWP 25852)):
#0  0x00007f1aa37403bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a9b8c4c10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b883b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b883f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a67ffeae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a67ffeae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1aa4227c5f in QThread::exec (this=this@entry=0x1758590) at thread/qthread.cpp:537
#9  0x00007f1aa430c823 in QInotifyFileSystemWatcherEngine::run (this=0x1758590) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x1758590) at thread/qthread_unix.cpp:349
#11 0x00007f1aa08e3182 in start_thread (arg=0x7f1a67fff700) at pthread_create.c:312
#12 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 24 (Thread 0x7f1a64af5700 (LWP 25864)):
#0  0x00007f1aa08e67ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f1a44000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f1a44000a60) at pthread_mutex_unlock.c:310
#2  0x00007f1a9b8c59b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b883f91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a64af4aa0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a64af4aa0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec037860) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba2b90) at concurrent/qthreadpool.cpp:108
#10 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba2b90) at thread/qthread_unix.cpp:349
#11 0x00007f1aa08e3182 in start_thread (arg=0x7f1a64af5700) at pthread_create.c:312
#12 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 23 (Thread 0x7f1a58ff8700 (LWP 25871)):
#0  QThreadData::current () at thread/qthread_unix.cpp:220
#1  0x00007f1aa4359af5 in postEventSourcePrepare (s=0x7f1a2c001350, timeout=0x7f1a58ff78e4) at kernel/qeventdispatcher_glib.cpp:263
#2  0x00007f1a9b88368d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b883f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a58ff7aa0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a58ff7aa0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x244a200) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba4d80) at concurrent/qthreadpool.cpp:108
#10 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba4d80) at thread/qthread_unix.cpp:349
#11 0x00007f1aa08e3182 in start_thread (arg=0x7f1a58ff8700) at pthread_create.c:312
#12 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 22 (Thread 0x7f1a317fa700 (LWP 25884)):
#0  0x00007f1a9b8c561d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1a9b8c59a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8830f0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b883ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f19ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a317f9aa0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a317f9aa0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x6e4d4c0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2993630) at concurrent/qthreadpool.cpp:108
#10 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2993630) at thread/qthread_unix.cpp:349
#11 0x00007f1aa08e3182 in start_thread (arg=0x7f1a317fa700) at pthread_create.c:312
#12 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 21 (Thread 0x7f1a22ffd700 (LWP 25888)):
#0  0x00007f1aa7ef3042 in cv::AlgorithmInfo::get(cv::Algorithm const*, char const*, int, void*) const () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4
#1  0x00007f1aa6f5534e in ?? () from /usr/lib/libkface.so.3
#2  0x00007f1aa6f7fd4c in ?? () from /usr/lib/libkface.so.3
#3  0x00007f1aa6f57a58 in ?? () from /usr/lib/libkface.so.3
#4  0x00007f1aa6f48c46 in KFaceIface::RecognitionDatabase::Private::train(KFaceIface::OpenCVLBPHFaceRecognizer*, QList<KFaceIface::Identity> const&, KFaceIface::TrainingDataProvider*, QString const&) () from /usr/lib/libkface.so.3
#5  0x00007f1aa6f49165 in KFaceIface::RecognitionDatabase::train(QList<KFaceIface::Identity> const&, KFaceIface::TrainingDataProvider*, QString const&) () from /usr/lib/libkface.so.3
#6  0x0000000000705f80 in Digikam::Trainer::process (this=0x1761070, package=...) at /build/buildd/digikam-4.6.0/core/utilities/facemanagement/facepipeline.cpp:1060
#7  0x00000000007063f1 in Digikam::Trainer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/digikam-4.6.0/obj-x86_64-linux-gnu/core/app/facepipeline_p.moc:579
#8  0x00007f1aa4344c1e in QObject::event (this=0x1761070, e=<optimized out>) at kernel/qobject.cpp:1194
#9  0x00007f1aa4d1ee2c in QApplicationPrivate::notify_helper (this=this@entry=0xddcec0, receiver=receiver@entry=0x1761070, e=e@entry=0x7f1a2c061160) at kernel/qapplication.cpp:4567
#10 0x00007f1aa4d254a0 in QApplication::notify (this=this@entry=0x7fff9530ab50, receiver=receiver@entry=0x1761070, e=e@entry=0x7f1a2c061160) at kernel/qapplication.cpp:4353
#11 0x00007f1aa5a29cca in KApplication::notify (this=0x7fff9530ab50, receiver=0x1761070, event=0x7f1a2c061160) at ../../kdeui/kernel/kapplication.cpp:311
#12 0x00007f1aa432c4dd in QCoreApplication::notifyInternal (this=0x7fff9530ab50, receiver=receiver@entry=0x1761070, event=event@entry=0x7f1a2c061160) at kernel/qcoreapplication.cpp:953
#13 0x00007f1aa432fb3d in sendEvent (event=0x7f1a2c061160, receiver=0x1761070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2994b90) at kernel/qcoreapplication.cpp:1577
#15 0x00007f1aa432ffe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#16 0x00007f1aa4359f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=0x7f19dc001350) at kernel/qeventdispatcher_glib.cpp:287
#18 0x00007f1a9b883e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f1a9b884048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f1aa43597a1 in QEventDispatcherGlib::processEvents (this=0x7f19dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#22 0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a22ffcaa0, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a22ffcaa0, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x44b68f0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#25 0x00007f1aa421dfee in QThreadPoolThread::run (this=0x29949f0) at concurrent/qthreadpool.cpp:108
#26 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x29949f0) at thread/qthread_unix.cpp:349
#27 0x00007f1aa08e3182 in start_thread (arg=0x7f1a22ffd700) at pthread_create.c:312
#28 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 20 (Thread 0x7f1a5bffe700 (LWP 25936)):
#0  0x00007f1aa3741cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a9b883fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a4c083c80, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a5bffdaa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a5bffdaa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec038fa0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba3ed0) at concurrent/qthreadpool.cpp:108
#8  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba3ed0) at thread/qthread_unix.cpp:349
#9  0x00007f1aa08e3182 in start_thread (arg=0x7f1a5bffe700) at pthread_create.c:312
#10 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 19 (Thread 0x7f1a65618700 (LWP 25939)):
#0  0x00007f1aa3741cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a9b883fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a54026f30, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a65617aa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a65617aa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec050d60) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba6140) at concurrent/qthreadpool.cpp:108
#8  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba6140) at thread/qthread_unix.cpp:349
#9  0x00007f1aa08e3182 in start_thread (arg=0x7f1a65618700) at pthread_create.c:312
#10 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 18 (Thread 0x7f1a1a7fc700 (LWP 25941)):
#0  0x00007f1a9b8839bb in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1a9b883f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f19bc0032e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a1a7fbaa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a1a7fbaa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec025bb0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba5760) at concurrent/qthreadpool.cpp:108
#8  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba5760) at thread/qthread_unix.cpp:349
#9  0x00007f1aa08e3182 in start_thread (arg=0x7f1a1a7fc700) at pthread_create.c:312
#10 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 17 (Thread 0x7f1a33fff700 (LWP 25949)):
#0  0x00007f1a9b8c561a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1a9b8c5979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b883f99 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a08003130, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a33ffeaa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a33ffeaa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec03dd80) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba43a0) at concurrent/qthreadpool.cpp:108
#9  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba43a0) at thread/qthread_unix.cpp:349
#10 0x00007f1aa08e3182 in start_thread (arg=0x7f1a33fff700) at pthread_create.c:312
#11 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 16 (Thread 0x7f1a5a438700 (LWP 25956)):
#0  0x00007f1a9b8c561a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1a9b8c5979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b883699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b883f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f1a00003240, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a5a437aa0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a5a437aa0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec051300) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba6630) at concurrent/qthreadpool.cpp:108
#10 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba6630) at thread/qthread_unix.cpp:349
#11 0x00007f1aa08e3182 in start_thread (arg=0x7f1a5a438700) at pthread_create.c:312
#12 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 15 (Thread 0x7f1a59c37700 (LWP 25961)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a59c37700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 14 (Thread 0x7f1a59836700 (LWP 25962)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a59836700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 13 (Thread 0x7f1a59435700 (LWP 25963)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a59435700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7f1a53fff700 (LWP 25964)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a53fff700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7f1a52d33700 (LWP 25965)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a52d33700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f1a53bfe700 (LWP 25966)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a53bfe700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f1a52932700 (LWP 25967)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1a9f7322db in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1a9f7322f9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1aa08e3182 in start_thread (arg=0x7f1a52932700) at pthread_create.c:312
#4  0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f1a537fd700 (LWP 25969)):
#0  0x00007f1a9b8c561a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1a9b8c5979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b883fca in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f199c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a537fcaa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a537fcaa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec04d3d0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2993140) at concurrent/qthreadpool.cpp:108
#9  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2993140) at thread/qthread_unix.cpp:349
#10 0x00007f1aa08e3182 in start_thread (arg=0x7f1a537fd700) at pthread_create.c:312
#11 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f1a5152f700 (LWP 25993)):
#0  0x00007f1aa3741cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a9b883fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f19cc003330, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a5152eaa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a5152eaa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7f19ec05d7f0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba3a00) at concurrent/qthreadpool.cpp:108
#8  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba3a00) at thread/qthread_unix.cpp:349
#9  0x00007f1aa08e3182 in start_thread (arg=0x7f1a5152f700) at pthread_create.c:312
#10 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f1a324d8700 (LWP 26630)):
#0  0x00007f1aa3741cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a9b883fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1aa43597be in QEventDispatcherGlib::processEvents (this=0x7f19d0026a00, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a324d7aa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a324d7aa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x8062610) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f1aa421dfee in QThreadPoolThread::run (this=0x29953d0) at concurrent/qthreadpool.cpp:108
#8  0x00007f1aa422a32f in QThreadPrivate::start (arg=0x29953d0) at thread/qthread_unix.cpp:349
#9  0x00007f1aa08e3182 in start_thread (arg=0x7f1a324d8700) at pthread_create.c:312
#10 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f1a30ff9700 (LWP 26684)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1aa4228dd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x16133b0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x16133b0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f1aa42253bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f1aa6f4589c in KFaceIface::RecognitionDatabase::findIdentity(QMap<QString, QString> const&) const () from /usr/lib/libkface.so.3
#5  0x00000000006f66ca in Digikam::FaceUtils::identityForTag (this=this@entry=0x7f1a30ff8350, tagId=493, db=...) at /build/buildd/digikam-4.6.0/core/utilities/facemanagement/faceutils.cpp:274
#6  0x000000000070610d in Digikam::Trainer::process (this=0x1612640, package=...) at /build/buildd/digikam-4.6.0/core/utilities/facemanagement/facepipeline.cpp:1024
#7  0x00000000007063f1 in Digikam::Trainer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/digikam-4.6.0/obj-x86_64-linux-gnu/core/app/facepipeline_p.moc:579
#8  0x00007f1aa4344c1e in QObject::event (this=0x1612640, e=<optimized out>) at kernel/qobject.cpp:1194
#9  0x00007f1aa4d1ee2c in QApplicationPrivate::notify_helper (this=this@entry=0xddcec0, receiver=receiver@entry=0x1612640, e=e@entry=0x7f19d006f460) at kernel/qapplication.cpp:4567
#10 0x00007f1aa4d254a0 in QApplication::notify (this=this@entry=0x7fff9530ab50, receiver=receiver@entry=0x1612640, e=e@entry=0x7f19d006f460) at kernel/qapplication.cpp:4353
#11 0x00007f1aa5a29cca in KApplication::notify (this=0x7fff9530ab50, receiver=0x1612640, event=0x7f19d006f460) at ../../kdeui/kernel/kapplication.cpp:311
#12 0x00007f1aa432c4dd in QCoreApplication::notifyInternal (this=0x7fff9530ab50, receiver=receiver@entry=0x1612640, event=event@entry=0x7f19d006f460) at kernel/qcoreapplication.cpp:953
#13 0x00007f1aa432fb3d in sendEvent (event=0x7f19d006f460, receiver=0x1612640) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20e9480) at kernel/qcoreapplication.cpp:1577
#15 0x00007f1aa432ffe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#16 0x00007f1aa4359f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=0x7f19d8002bd0) at kernel/qeventdispatcher_glib.cpp:287
#18 0x00007f1a9b883e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f1a9b884048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f1aa43597a1 in QEventDispatcherGlib::processEvents (this=0x7f19d8002d30, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#22 0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7f1a30ff8aa0, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7f1a30ff8aa0, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007f1aa88f8d93 in Digikam::WorkerObjectRunnable::run (this=0x7ba10d0) at /build/buildd/digikam-4.6.0/core/libs/threads/threadmanager.cpp:196
#25 0x00007f1aa421dfee in QThreadPoolThread::run (this=0x29a3bf0) at concurrent/qthreadpool.cpp:108
#26 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x29a3bf0) at thread/qthread_unix.cpp:349
#27 0x00007f1aa08e3182 in start_thread (arg=0x7f1a30ff9700) at pthread_create.c:312
#28 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f1a227fc700 (LWP 26894)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f1aa08e5657 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f1aa08e5480 in __GI___pthread_mutex_lock (mutex=0xfbe948) at ../nptl/pthread_mutex_lock.c:79
#3  0x00007f1a8cc56e6e in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#4  0x00007f1a8cc56f0c in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#5  0x00007f1a8cc963db in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#6  0x00007f1a76dfa27e in QSQLiteDriver::close (this=0x7f19c807fe00) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:589
#7  0x00007f1aaa7b6bdd in QSqlDatabase::~QSqlDatabase (this=0x7f1a227fb9c0, __in_chrg=<optimized out>) at kernel/qsqldatabase.cpp:803
#8  0x00007f1aaa7b7054 in QSqlDatabasePrivate::removeDatabase (name=...) at kernel/qsqldatabase.cpp:251
#9  0x00007f1aaa7b70d5 in QSqlDatabase::removeDatabase (connectionName=...) at kernel/qsqldatabase.cpp:533
#10 0x00007f1aa88aee0e in Digikam::DatabaseThreadData::closeDatabase (this=this@entry=0x7f19cad5be70) at /build/buildd/digikam-4.6.0/core/libs/database/core/databasecorebackend.cpp:133
#11 0x00007f1aa88b0781 in Digikam::DatabaseThreadData::~DatabaseThreadData (this=0x7f19cad5be70, __in_chrg=<optimized out>) at /build/buildd/digikam-4.6.0/core/libs/database/core/databasecorebackend.cpp:112
#12 0x00007f1aa88b7e8e in qThreadStorage_deleteData<Digikam::DatabaseThreadData> (d=0x7f19cad5be70) at /usr/include/qt4/QtCore/qthreadstorage.h:97
#13 QThreadStorage<Digikam::DatabaseThreadData*>::deleteData (x=0x7f19cad5be70) at /usr/include/qt4/QtCore/qthreadstorage.h:140
#14 0x00007f1aa42284ba in QThreadStorageData::finish (p=0x2991588) at thread/qthreadstorage.cpp:203
#15 0x00007f1aa42293c3 in QThreadPrivate::finish (arg=arg@entry=0x2ba6b20) at thread/qthread_unix.cpp:372
#16 0x00007f1aa422a345 in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:572
#17 QThreadPrivate::start (arg=0x2ba6b20) at thread/qthread_unix.cpp:351
#18 0x00007f1aa08e3182 in start_thread (arg=0x7f1a227fc700) at pthread_create.c:312
#19 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f1a217fa700 (LWP 26911)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1aa4228dd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xe01d30) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0xe01d30, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f1aa42253bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f1aa88bccc4 in Digikam::ThumbnailDatabaseAccess::ThumbnailDatabaseAccess (this=<optimized out>) at /build/buildd/digikam-4.6.0/core/libs/database/core/thumbnaildatabaseaccess.cpp:87
#5  0x00007f1aa88e12db in Digikam::ThumbnailCreator::loadDatabaseThumbnailInfo (this=this@entry=0x1703330, info=...) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:875
#6  0x00007f1aa88e480f in Digikam::ThumbnailCreator::loadFromDatabase (this=this@entry=0x1703330, info=...) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:922
#7  0x00007f1aa88e603c in Digikam::ThumbnailCreator::load (this=0x1703330, identifier=..., rect=..., pregenerate=pregenerate@entry=false) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:260
#8  0x00007f1aa88e6882 in Digikam::ThumbnailCreator::load (this=<optimized out>, identifier=...) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:196
#9  0x00007f1aa88f511e in Digikam::ThumbnailLoadingTask::execute (this=0xaab0d50) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailtask.cpp:172
#10 0x00007f1aa88cc706 in Digikam::LoadSaveThread::run (this=0x17030c0) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/loadsavethread.cpp:136
#11 0x00007f1aa88fb50e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1703c40) at /build/buildd/digikam-4.6.0/core/libs/threads/dynamicthread.cpp:186
#12 0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2ba3530) at concurrent/qthreadpool.cpp:108
#13 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2ba3530) at thread/qthread_unix.cpp:349
#14 0x00007f1aa08e3182 in start_thread (arg=0x7f1a217fa700) at pthread_create.c:312
#15 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f1a51d30700 (LWP 26920)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f1a8cc6adac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007f1a8cc6af63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007f1a8cc7f59d in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007f1a8cca79c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007f1a8ccafed7 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007f1a76df911c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x7f19f26fc990, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f1a76df9e48 in QSQLiteResult::exec (this=0x7f19f09f6020) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f1aaa7b3b7d in QSqlQuery::exec (this=this@entry=0x7f1a51d2f528) at kernel/qsqlquery.cpp:949
#15 0x00007f1aa88b2076 in Digikam::DatabaseCoreBackend::exec (this=0xfce030, query=...) at /build/buildd/digikam-4.6.0/core/libs/database/core/databasecorebackend.cpp:1422
#16 0x00007f1aa88b20fc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xfce030, query=..., boundValue1=...) at /build/buildd/digikam-4.6.0/core/libs/database/core/databasecorebackend.cpp:1062
#17 0x00007f1aa88b2e00 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xfce030, sql=..., boundValue1=...) at /build/buildd/digikam-4.6.0/core/libs/database/core/databasecorebackend.cpp:1011
#18 0x00007f1aa88b2e49 in Digikam::DatabaseCoreBackend::execSql (this=0xfce030, sql=..., boundValue1=..., values=values@entry=0x7f1a51d2f570, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.6.0/core/libs/database/core/databasecorebackend.cpp:911
#19 0x00007f1aa88bedae in Digikam::ThumbnailDB::findByFilePath (this=this@entry=0xfd6a70, path=...) at /build/buildd/digikam-4.6.0/core/libs/database/core/thumbnaildb.cpp:129
#20 0x00007f1aa88c0237 in Digikam::ThumbnailDB::findByFilePath (this=0xfd6a70, path=..., uniqueHash=...) at /build/buildd/digikam-4.6.0/core/libs/database/core/thumbnaildb.cpp:138
#21 0x00007f1aa88e13f6 in Digikam::ThumbnailCreator::loadDatabaseThumbnailInfo (this=this@entry=0x1709780, info=...) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:892
#22 0x00007f1aa88e15ba in Digikam::ThumbnailCreator::isInDatabase (this=this@entry=0x1709780, info=...) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:904
#23 0x00007f1aa88e611b in Digikam::ThumbnailCreator::load (this=0x1709780, identifier=..., rect=..., pregenerate=pregenerate@entry=true) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:251
#24 0x00007f1aa88e6d80 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, identifier=...) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailcreator.cpp:212
#25 0x00007f1aa88f51a0 in Digikam::ThumbnailLoadingTask::execute (this=0xabdaee0) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/thumbnailtask.cpp:82
#26 0x00007f1aa88cc706 in Digikam::LoadSaveThread::run (this=0x1709580) at /build/buildd/digikam-4.6.0/core/libs/threadimageio/loadsavethread.cpp:136
#27 0x00007f1aa88fb50e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1705a10) at /build/buildd/digikam-4.6.0/core/libs/threads/dynamicthread.cpp:186
#28 0x00007f1aa421dfee in QThreadPoolThread::run (this=0x2994ee0) at concurrent/qthreadpool.cpp:108
#29 0x00007f1aa422a32f in QThreadPrivate::start (arg=0x2994ee0) at thread/qthread_unix.cpp:349
#30 0x00007f1aa08e3182 in start_thread (arg=0x7f1a51d30700) at pthread_create.c:312
#31 0x00007f1aa374f00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1aaab67ac0 (LWP 25843)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1aa422a816 in wait (time=18446744073709551615, this=0x16f6580) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x16f0c28, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1aa88f9994 in Digikam::WorkerObject::wait (this=0x16f6490) at /build/buildd/digikam-4.6.0/core/libs/threads/workerobject.cpp:95
#4  0x000000000061ff13 in Digikam::FileActionMngr::shutDown (this=this@entry=0x16f6160) at /build/buildd/digikam-4.6.0/core/app/fileaction/fileactionmngr.cpp:110
#5  0x000000000061ff45 in Digikam::FileActionMngr::~FileActionMngr (this=0x16f6160, __in_chrg=<optimized out>) at /build/buildd/digikam-4.6.0/core/app/fileaction/fileactionmngr.cpp:78
#6  0x000000000061ffa7 in ~FileActionMngrCreator (this=0x16f6160, __in_chrg=<optimized out>) at /build/buildd/digikam-4.6.0/core/app/fileaction/fileactionmngr.cpp:52
#7  destroy () at /build/buildd/digikam-4.6.0/core/app/fileaction/fileactionmngr.cpp:59
#8  0x00007f1aa3690259 in __run_exit_handlers (status=1, listp=0x7f1aa3a136c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#9  0x00007f1aa36902a5 in __GI_exit (status=<optimized out>) at exit.c:104
#10 0x00007f1aa4d85878 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:783
#11 0x00007f1aa5a28880 in KApplication::xioErrhandler (this=0x7fff9530ab50, dpy=0xdf2730) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f1aa214b5ee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f1aa2148fed in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f1aa212bb4a in XFlush () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f1aa4d673b8 in QWidget::unsetCursor (this=this@entry=0x1b399e0) at kernel/qwidget.cpp:5135
#16 0x00000000004ae0b6 in Digikam::ImagePropertiesSideBarDB::slotChangedTab (this=this@entry=0x1b399e0, tab=0x1cc85a0) at /build/buildd/digikam-4.6.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:395
#17 0x00000000004ab81a in Digikam::ImagePropertiesSideBarDB::itemChanged (this=this@entry=0x1b399e0, infos=..., rect=..., img=img@entry=0x0, history=...) at /build/buildd/digikam-4.6.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:203
#18 0x00000000004ab8cc in Digikam::ImagePropertiesSideBarDB::itemChanged (this=0x1b399e0, infos=...) at /build/buildd/digikam-4.6.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:179
#19 0x000000000067598e in Digikam::DigikamView::slotDispatchImageSelected (this=0x15f6240) at /build/buildd/digikam-4.6.0/core/app/views/digikamview.cpp:1396
#20 0x00000000006797b0 in Digikam::DigikamView::qt_static_metacall (_o=0x15f6240, _c=128, _id=1, _a=0xffffffffffffffff) at /build/buildd/digikam-4.6.0/obj-x86_64-linux-gnu/core/app/digikamview.moc:358
#21 0x00007f1aa434087a in QMetaObject::activate (sender=0x21860b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#22 0x00007f1aa4344a31 in QObject::event (this=0x21860b0, e=<optimized out>) at kernel/qobject.cpp:1156
#23 0x00007f1aa4d1ee2c in QApplicationPrivate::notify_helper (this=this@entry=0xddcec0, receiver=receiver@entry=0x21860b0, e=e@entry=0x7fff9530a3c0) at kernel/qapplication.cpp:4567
#24 0x00007f1aa4d254a0 in QApplication::notify (this=this@entry=0x7fff9530ab50, receiver=receiver@entry=0x21860b0, e=e@entry=0x7fff9530a3c0) at kernel/qapplication.cpp:4353
#25 0x00007f1aa5a29cca in KApplication::notify (this=0x7fff9530ab50, receiver=0x21860b0, event=0x7fff9530a3c0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f1aa432c4dd in QCoreApplication::notifyInternal (this=0x7fff9530ab50, receiver=0x21860b0, event=0x7fff9530a3c0) at kernel/qcoreapplication.cpp:953
#27 0x00007f1aa435c323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QTimerInfoList::activateTimers (this=0xdeef40) at kernel/qeventdispatcher_unix.cpp:621
#29 0x00007f1aa43595f1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#30 0x00007f1a9b883e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f1a9b884048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f1a9b8840ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f1aa43597a1 in QEventDispatcherGlib::processEvents (this=0xcfcfb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#34 0x00007f1aa4dc0bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f1aa432b0af in QEventLoop::processEvents (this=this@entry=0x7fff9530a630, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f1aa432b3a5 in QEventLoop::exec (this=this@entry=0x7fff9530a630, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f1aa4330b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#38 0x00007f1aa4d1d37c in QApplication::exec () at kernel/qapplication.cpp:3828
#39 0x0000000000497c90 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.6.0/core/app/main/main.cpp:237

Possible duplicates by query: bug 343243, bug 343014, bug 342802, bug 342143, bug 342050.

Reported using DrKonqi
Comment 1 Marcus 2015-01-26 09:30:17 UTC
Now I used face recognition, it found about 40 pictures, like 10 I have not tagged, as it haven't been faces. The left 30 ones I tagged with existing people tags.
Digikam says it's applying the changes, 0%  progress in half an hour. Digikam needs 14G of my memory at the moment, processor just at 2%. The harddrive is under heavy use the whole time. The system is very slow responding.

I had this earlier this day. But filing this crash a havent had this problem.

Beside this I saw, that already tagged pictures reappeared in the face recognition window. They first disappear if I put in a name into the face tag field as expected but after a while they come back into the window. I thought, not finished writing the tags into database or files maybe the GUI of Digikam is faster and still see them as not tagged now.
Comment 2 caulier.gilles 2015-01-26 09:54:49 UTC

*** This bug has been marked as a duplicate of bug 338176 ***
Comment 3 Marcus 2015-01-26 10:19:31 UTC
Actually I wrote face recognition but I meant face detection. I dont remember I have ever used face recognition. But the behavior looks quite the same like bug 338176
Comment 4 caulier.gilles 2019-12-23 14:22:39 UTC
Problem is fixed with new 7.0.0-beta1 through this long story from this bug

https://bugs.kde.org/show_bug.cgi?id=399923

You can test digiKam 7.0.0-beta1 with bundle available here:

https://download.kde.org/unstable/digikam/

Don't hesitate to give us a fresh feedback about his entry.

Thanks in advance

Gilles Caulier