Bug 350599

Summary: Crash after maintenance
Product: [Applications] digikam Reporter: Jose Gómez <adler>
Component: Maintenance-FacesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: adler, caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.11.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:
Attachments: Backtrace after the crash

Description Jose Gómez 2015-07-24 21:48:06 UTC
Application: digikam (4.11.0)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 4.0.3-040003-generic x86_64
Distribution: Ubuntu 15.04

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

Ran maintenance with all the options enabled and left it in the background. Once it finished, digiKam crashed.

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

Thread 25 (Thread 0x7f6b66068700 (LWP 3150)):
#0  0x00007f6b9088a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6b88967ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88968242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b74240af6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f6b8898e955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6b8d9776aa in start_thread (arg=0x7f6b66068700) at pthread_create.c:333
#6  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7f6b65867700 (LWP 3151)):
#0  0x00007f6b9088a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6b88967ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88968009 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b8898e955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6b8d9776aa in start_thread (arg=0x7f6b65867700) at pthread_create.c:333
#6  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 23 (Thread 0x7f6b4ffff700 (LWP 3154)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b91377c56 in wait (time=18446744073709551615, this=0x285f300) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x285f240, mutex=mutex@entry=0x285f238, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e9b11 in Digikam::ScanController::run (this=0x27c7e80) at /build/digikam-bkwhtQ/digikam-4.11.0/core/app/database/scancontroller.cpp:725
#4  0x00007f6b913776ff in QThreadPrivate::start (arg=0x27c7e80) at thread/qthread_unix.cpp:349
#5  0x00007f6b8d9776aa in start_thread (arg=0x7f6b4ffff700) at pthread_create.c:333
#6  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7f6b4f7fe700 (LWP 3155)):
#0  0x00007f6b889ac789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b889678cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6b400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6b4f7fda80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6b4f7fda80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6b91374e89 in QThread::exec (this=this@entry=0x27cd740) at thread/qthread.cpp:538
#8  0x00007f6b91461493 in QInotifyFileSystemWatcherEngine::run (this=0x27cd740) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f6b913776ff in QThreadPrivate::start (arg=0x27cd740) at thread/qthread_unix.cpp:349
#10 0x00007f6b8d9776aa in start_thread (arg=0x7f6b4f7fe700) at pthread_create.c:333
#11 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7f6b65066700 (LWP 3166)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b91377c56 in wait (time=18446744073709551615, this=0x2a93f20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2c23fb0, mutex=mutex@entry=0x2c23fa8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6b95b91199 in Digikam::ParkingThread::run (this=0x2c23f90) at /build/digikam-bkwhtQ/digikam-4.11.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f6b913776ff in QThreadPrivate::start (arg=0x2c23f90) at thread/qthread_unix.cpp:349
#5  0x00007f6b8d9776aa in start_thread (arg=0x7f6b65066700) at pthread_create.c:333
#6  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7f6b4effd700 (LWP 3167)):
#0  0x00007f6b889ac789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b88967409 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6b440030d0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6b4effca80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6b4effca80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6b91374e89 in QThread::exec (this=this@entry=0x30066d0) at thread/qthread.cpp:538
#8  0x00007f6b91461493 in QInotifyFileSystemWatcherEngine::run (this=0x30066d0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f6b913776ff in QThreadPrivate::start (arg=0x30066d0) at thread/qthread_unix.cpp:349
#10 0x00007f6b8d9776aa in start_thread (arg=0x7f6b4effd700) at pthread_create.c:333
#11 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7f6af3fff700 (LWP 3461)):
#0  0x00007f6b889ac7a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b88967d6d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6a880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6af3ffea80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6af3ffea80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6b91374e89 in QThread::exec (this=this@entry=0xb8f1720) at thread/qthread.cpp:538
#7  0x00007f6b91461493 in QInotifyFileSystemWatcherEngine::run (this=0xb8f1720) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f6b913776ff in QThreadPrivate::start (arg=0xb8f1720) at thread/qthread_unix.cpp:349
#9  0x00007f6b8d9776aa in start_thread (arg=0x7f6af3fff700) at pthread_create.c:333
#10 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7f6ace501700 (LWP 3462)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b8155981d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6b81559859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6ace501700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7f6acdd00700 (LWP 3463)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b8129a20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6b81588fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6acdd00700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f6a76119700 (LWP 3499)):
#0  0x00007f6b889ac789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b88967409 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6ac4002240, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6a76118ad0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6a76118ad0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6b91374e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f6b913776ff in QThreadPrivate::start (arg=0xc45a1f0) at thread/qthread_unix.cpp:349
#9  0x00007f6b8d9776aa in start_thread (arg=0x7f6a76119700) at pthread_create.c:333
#10 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f6aadffb700 (LWP 3982)):
#0  0x00007f6b889ac789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b88967dbd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6a9801c4c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6aadffaad0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6aadffaad0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6b91374e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f6b913776ff in QThreadPrivate::start (arg=0x54f4ad0) at thread/qthread_unix.cpp:349
#8  0x00007f6b8d9776aa in start_thread (arg=0x7f6aadffb700) at pthread_create.c:333
#9  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f6aaf7fe700 (LWP 7298)):
#0  __GI___pthread_getspecific (key=<optimized out>) at pthread_getspecific.c:66
#1  0x00007f6b8898ee00 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88966ddc in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88967d75 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6ab0001330, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6aaf7fda50, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6aaf7fda50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6b95b90803 in Digikam::WorkerObjectRunnable::run (this=0x122199f0) at /build/digikam-bkwhtQ/digikam-4.11.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f6b9136ab70 in QThreadPoolThread::run (this=0x425bd10) at concurrent/qthreadpool.cpp:108
#10 0x00007f6b913776ff in QThreadPrivate::start (arg=0x425bd10) at thread/qthread_unix.cpp:349
#11 0x00007f6b8d9776aa in start_thread (arg=0x7f6aaf7fe700) at pthread_create.c:333
#12 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f6a754c9700 (LWP 7361)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6b91377c56 in wait (time=18446744073709551615, this=0xd76bbe0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x147594a0, mutex=mutex@entry=0x14759498, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6af05cd7b2 in KIPIPlugins::KPRawThumbThread::run (this=0x8f29a20) at /build/digikam-bkwhtQ/digikam-4.11.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007f6b913776ff in QThreadPrivate::start (arg=0x8f29a20) at thread/qthread_unix.cpp:349
#5  0x00007f6b8d9776aa in start_thread (arg=0x7f6a754c9700) at pthread_create.c:333
#6  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f6a1b7fe700 (LWP 10746)):
#0  0x00007f6b914b1288 in testAndSetOrdered (newValue=0, expectedValue=1, this=0x4064850) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetRelease (newValue=0, expectedValue=1, this=0x4064850) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:272
#2  unlockInline (this=0x4064808) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:171
#3  unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:121
#4  ~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:115
#5  canWaitLocked (this=0x40647c0) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:229
#6  postEventSourcePrepare (s=0x7f69e039dff0, timeout=0x7f6a1b7fd884) at kernel/qeventdispatcher_glib.cpp:279
#7  0x00007f6b889673fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f6b88967de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f69e03a15b0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#11 0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6a1b7fda50, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6a1b7fda50, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f6b95b90803 in Digikam::WorkerObjectRunnable::run (this=0x13cc8560) at /build/digikam-bkwhtQ/digikam-4.11.0/core/libs/threads/threadmanager.cpp:196
#14 0x00007f6b9136ab70 in QThreadPoolThread::run (this=0x4064620) at concurrent/qthreadpool.cpp:108
#15 0x00007f6b913776ff in QThreadPrivate::start (arg=0x4064620) at thread/qthread_unix.cpp:349
#16 0x00007f6b8d9776aa in start_thread (arg=0x7f6a1b7fe700) at pthread_create.c:333
#17 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f6a13fff700 (LWP 10747)):
#0  0x00007f6b9088649d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6b889ab2f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b8896796c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88967e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6b0f521980, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6a13ffea50, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6a13ffea50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6b95b90803 in Digikam::WorkerObjectRunnable::run (this=0x1d2ed270) at /build/digikam-bkwhtQ/digikam-4.11.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f6b9136ab70 in QThreadPoolThread::run (this=0x4264e30) at concurrent/qthreadpool.cpp:108
#10 0x00007f6b913776ff in QThreadPrivate::start (arg=0x4264e30) at thread/qthread_unix.cpp:349
#11 0x00007f6b8d9776aa in start_thread (arg=0x7f6a13fff700) at pthread_create.c:333
#12 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f6a1bfff700 (LWP 10749)):
#0  0x00007f6b889ac7a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b889673f0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6b1807cf30, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6a1bffea50, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6a1bffea50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6b95b90803 in Digikam::WorkerObjectRunnable::run (this=0x21410df0) at /build/digikam-bkwhtQ/digikam-4.11.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f6b9136ab70 in QThreadPoolThread::run (this=0x4064c70) at concurrent/qthreadpool.cpp:108
#9  0x00007f6b913776ff in QThreadPrivate::start (arg=0x4064c70) at thread/qthread_unix.cpp:349
#10 0x00007f6b8d9776aa in start_thread (arg=0x7f6a1bfff700) at pthread_create.c:333
#11 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f6b0b9e5700 (LWP 10751)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6b0b9e5700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f6b0b5e4700 (LWP 10752)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6b0b5e4700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f6aaffff700 (LWP 10753)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6aaffff700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f6aaeffd700 (LWP 10754)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6aaeffd700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f6aae7fb700 (LWP 10755)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6aae7fb700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f6aad7fa700 (LWP 10756)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6aad7fa700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f6aaebfc700 (LWP 10757)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b8c78d582 in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f6b8c78d5a9 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f6b8d9776aa in start_thread (arg=0x7f6aaebfc700) at pthread_create.c:333
#4  0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f6aa7fff700 (LWP 10762)):
#0  0x00007f6b889ac7a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6b88967ddb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6b914b187e in QEventDispatcherGlib::processEvents (this=0x7f6aa0111fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7f6aa7ffea50, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7f6aa7ffea50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6b95b90803 in Digikam::WorkerObjectRunnable::run (this=0x22118d50) at /build/digikam-bkwhtQ/digikam-4.11.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f6b9136ab70 in QThreadPoolThread::run (this=0x425dc80) at concurrent/qthreadpool.cpp:108
#8  0x00007f6b913776ff in QThreadPrivate::start (arg=0x425dc80) at thread/qthread_unix.cpp:349
#9  0x00007f6b8d9776aa in start_thread (arg=0x7f6aa7fff700) at pthread_create.c:333
#10 0x00007f6b90895eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f6b97ea8b00 (LWP 3147)):
[KCrash Handler]
#6  0x0000000000525f19 in Digikam::ImageInfoJob::allItemsFromAlbum (this=0x221deb30, album=album@entry=0x46cc3d0) at /build/digikam-bkwhtQ/digikam-4.11.0/core/utilities/maintenance/imageinfojob.cpp:88
#7  0x000000000053a141 in Digikam::FaceDetector::slotContinueAlbumListing (this=0x19882340) at /build/digikam-bkwhtQ/digikam-4.11.0/core/utilities/maintenance/facedetector.cpp:347
#8  0x00007f6b914971ec in QMetaObject::activate (sender=0x221deb48, m=m@entry=0x90c1c0 <Digikam::FacePipeline::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#9  0x00000000007225da in finished (this=<optimized out>) at /build/digikam-bkwhtQ/digikam-4.11.0/obj-x86_64-linux-gnu/core/app/facepipeline.moc:211
#10 Digikam::FacePipeline::Private::checkFinished (this=this@entry=0x216c4b50) at /build/digikam-bkwhtQ/digikam-4.11.0/core/utilities/facemanagement/facepipeline.cpp:1234
#11 0x0000000000722d0f in Digikam::FacePipeline::Private::finishProcess (this=0x216c4b50, package=...) at /build/digikam-bkwhtQ/digikam-4.11.0/core/utilities/facemanagement/facepipeline.cpp:1198
#12 0x0000000000722df8 in Digikam::FacePipeline::Private::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/digikam-bkwhtQ/digikam-4.11.0/obj-x86_64-linux-gnu/core/app/facepipeline_p.moc:843
#13 0x00007f6b9149b8e1 in QObject::event (this=0x216c4b50, e=<optimized out>) at kernel/qobject.cpp:1222
#14 0x00007f6b91e8e9bc in QApplicationPrivate::notify_helper (this=this@entry=0x259abe0, receiver=receiver@entry=0x216c4b50, e=e@entry=0x7f6aa01285f0) at kernel/qapplication.cpp:4570
#15 0x00007f6b91e954d8 in QApplication::notify (this=this@entry=0x7ffc4cc14980, receiver=receiver@entry=0x216c4b50, e=e@entry=0x7f6aa01285f0) at kernel/qapplication.cpp:4356
#16 0x00007f6b92bf0b4a in KApplication::notify (this=0x7ffc4cc14980, receiver=0x216c4b50, event=0x7f6aa01285f0) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f6b914821cd in QCoreApplication::notifyInternal (this=0x7ffc4cc14980, receiver=receiver@entry=0x216c4b50, event=event@entry=0x7f6aa01285f0) at kernel/qcoreapplication.cpp:955
#18 0x00007f6b91485a71 in sendEvent (event=0x7f6aa01285f0, receiver=0x216c4b50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24e90d0) at kernel/qcoreapplication.cpp:1579
#20 0x00007f6b91485f03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#21 0x00007f6b914b16ee in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=0x25875a0) at kernel/qeventdispatcher_glib.cpp:300
#23 0x00007f6b88967c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f6b88967f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f6b88967fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f6b914b185e in QEventDispatcherGlib::processEvents (this=0x25896a0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#27 0x00007f6b91f36c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f6b91480d21 in QEventLoop::processEvents (this=this@entry=0x7ffc4cc144a0, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f6b91481085 in QEventLoop::exec (this=this@entry=0x7ffc4cc144a0, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f6b91486b09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#31 0x00007f6b91e8cc1c in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0x000000000049694a in main (argc=<optimized out>, argv=<optimized out>) at /build/digikam-bkwhtQ/digikam-4.11.0/core/app/main/main.cpp:230

Reported using DrKonqi
Comment 1 caulier.gilles 2015-07-25 04:52:44 UTC
It crash in Face Detection process.

Which configuration did you use ? libkface version ? Maintenance tool settings ?

Gilles Caulier
Comment 2 caulier.gilles 2015-07-25 04:59:29 UTC
Look like your trace is uncomplete :

Thread 1 (Thread 0x7f6b97ea8b00 (LWP 3147)):
[KCrash Handler]
#6  0x0000000000525f19 in Digikam::ImageInfoJob::allItemsFromAlbum (this=0x221deb30, album=album@entry=0x46cc3d0) at /build/digikam-bkwhtQ/digikam-4.11.0/core/utilities/maintenance/imageinfojob.cpp:88
#7  0x000000000053a141 in Digikam::FaceDetector::slotContinueAlbumListing (this=0x19882340) at /build/digikam-bkwhtQ/digikam-4.11.0/core/utilities/maintenance/facedetector.cpp:347

It miss line #0 to #5...

Please install all debug packages : digikam, libkface, libkexiv2, opencv and Exiv2. Re run digikam from a console into GDB as explained here :

https://www.digikam.org/contrib

... and try to reproduce the crash. The trace to report will be printed in the console...

Gilles Caulier
Comment 3 Jose Gómez 2015-07-25 09:49:39 UTC
On the configuration, I set it to detect all faces, and as far as I remember I used an accuracy setting of 100 (not 80% sure, as I did another run at 100% which did not detect any face in thousands of images).

My libkface3 version is 4:14.12.3-ubuntu1.

I just installed the libkexiv2-dbg package (I already had symbols installed for digikam, and there are no symbols available in my distribution for libkface3).

Will try to reproduce the issue via gdb, as suggested. But it will take time, as each run takes many hours.
Comment 4 Jose Gómez 2015-07-26 13:21:12 UTC
Created attachment 93746 [details]
Backtrace after the crash

As requested, I've installed all the -dbg packages available, reproduced the issue from within gdb and posted the backtrace. I hope it is useful. Let me know if I can do anything else to help debug the crash, which seems to happen every time I run the full maintenance.
Comment 5 caulier.gilles 2015-07-26 13:50:34 UTC
It crash in Exiv2 shared lib, especially in TIFFLoader, not in libkface.

It's a duplicate of bug #350423. Read well instructions that i give in this bug.

Gilles Caulier

*** This bug has been marked as a duplicate of bug 350423 ***
Comment 6 caulier.gilles 2019-12-23 06:16:27 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