Bug 378836 - Digikam Crash when start searching for persons
Summary: Digikam Crash when start searching for persons
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 4.14.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-16 12:42 UTC by Uwe
Modified: 2017-04-16 20:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe 2017-04-16 12:42:05 UTC
Application: digikam (4.14.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-53-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

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

Started search for persons. Digikam crashes reproducably immediatelly.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49c2f7d840 (LWP 3242))]

Thread 14 (Thread 0x7f49a4e76700 (LWP 3243)):
#0  0x00007f49bbc5165d in recvmsg () at /lib64/libc.so.6
#1  0x00007f49b998c079 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007f49a57452eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f499e760700 (LWP 3244)):
#0  0x00007f49b9ba003f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f49bc730c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x1e39ba0) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f49bc730c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x1e39aa8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3fee in  ()
#4  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x1ed3ae0) at thread/qthread_unix.cpp:349
#5  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f499df5f700 (LWP 3245)):
#0  0x00007f49bbc482bd in poll () at /lib64/libc.so.6
#1  0x00007f49b4057be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f49900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f499df5ed60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f499df5ed60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49bc72e0bf in QThread::exec() (this=this@entry=0x1ec6810) at thread/qthread.cpp:538
#7  0x00007f49bc812783 in QInotifyFileSystemWatcherEngine::run() (this=0x1ec6810) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x1ec6810) at thread/qthread_unix.cpp:349
#9  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f499d75e700 (LWP 3261)):
#0  0x00007f49b9ba003f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f49bc730c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x2052890) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f49bc730c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x20d4ed8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f49c0ce816a in  () at /usr/lib64/libdigikamcore.so.4.14.0
#4  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x20d4ec0) at thread/qthread_unix.cpp:349
#5  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f4945ffb700 (LWP 3423)):
#0  0x00007f49bbc482bd in poll () at /lib64/libc.so.6
#1  0x00007f49b4057be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4928088800, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4945ffad60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4945ffad60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49bc72e0bf in QThread::exec() (this=this@entry=0x87ff870) at thread/qthread.cpp:538
#7  0x00007f49bc812783 in QInotifyFileSystemWatcherEngine::run() (this=0x87ff870) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x87ff870) at thread/qthread_unix.cpp:349
#9  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f4933fff700 (LWP 3424)):
#0  0x00007f49b9ba003f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f49ad1c6686 in WTF::TCMalloc_PageHeap::scavengerThread() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007f49ad1c66b9 in  () at /usr/lib64/libQtWebKit.so.4
#3  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f49337fe700 (LWP 3425)):
#0  0x00007f49b9ba003f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f49acf38e7d in JSC::BlockAllocator::blockFreeingThreadMain() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007f49ad1ee1e6 in WTF::wtfThreadEntryPoint(void*) () at /usr/lib64/libQtWebKit.so.4
#3  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f4906ffd700 (LWP 3452)):
#0  0x00007f49bbc482bd in poll () at /lib64/libc.so.6
#1  0x00007f49b4057be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4900003180, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4906ffcda0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4906ffcda0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49bc72e0bf in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x8559d30) at thread/qthread_unix.cpp:349
#8  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f49899be700 (LWP 4000)):
[KCrash Handler]
#5  0x00007f49beaaf344 in cv::CascadeClassifier::~CascadeClassifier() () at /usr/lib64/libopencv_objdetect.so.3.1
#6  0x00007f49bf6f9cbf in  () at /usr/lib64/libkface.so.3
#7  0x00007f49bf6f1d86 in  () at /usr/lib64/libkface.so.3
#8  0x00007f49bf6dd83e in KFaceIface::FaceDetector::detectFaces(QImage const&, QSize const&) () at /usr/lib64/libkface.so.3
#9  0x000000000070f275 in  ()
#10 0x000000000070f51a in  ()
#11 0x00007f49bc84a59e in QObject::event(QEvent*) (this=0x8b10610, e=<optimized out>) at kernel/qobject.cpp:1231
#12 0x00007f49bd24076c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#13 0x00007f49bd246cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#14 0x00007f49bdf58e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#15 0x00007f49bc8322ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff872e19e0, receiver=receiver@entry=0x8b10610, event=event@entry=0xaf6b230) at kernel/qcoreapplication.cpp:953
#16 0x00007f49bc83557d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0xaf6b230, receiver=0x8b10610) at kernel/qcoreapplication.h:231
#17 0x00007f49bc83557d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x43d4560) at kernel/qcoreapplication.cpp:1577
#18 0x00007f49bc835a23 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#19 0x00007f49bc85f8fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#20 0x00007f49bc85f8fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7f497c012ea0) at kernel/qeventdispatcher_glib.cpp:300
#21 0x00007f49b4057a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f49b4057c48 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f497c0533c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#25 0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f49899bdd20, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f49899bdd20, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007f49c0ce7833 in  () at /usr/lib64/libdigikamcore.so.4.14.0
#28 0x00007f49bc7246ae in QThreadPoolThread::run() (this=0x43d43c0) at concurrent/qthreadpool.cpp:108
#29 0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x43d43c0) at thread/qthread_unix.cpp:349
#30 0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#31 0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f4930ff9700 (LWP 4001)):
#0  0x00007f49bbc4438d in read () at /lib64/libc.so.6
#1  0x00007f49b4098750 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f49b4057714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f49b4057b7b in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f48fc0278e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4930ff8d20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4930ff8d20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f49c0ce7833 in  () at /usr/lib64/libdigikamcore.so.4.14.0
#9  0x00007f49bc7246ae in QThreadPoolThread::run() (this=0x43d64c0) at concurrent/qthreadpool.cpp:108
#10 0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x43d64c0) at thread/qthread_unix.cpp:349
#11 0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f48a48a5700 (LWP 4002)):
#0  0x00007f49bbc482bd in poll () at /lib64/libc.so.6
#1  0x00007f49b4057be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f48ec0304a0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f48a48a4d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f48a48a4d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49c0ce7833 in  () at /usr/lib64/libdigikamcore.so.4.14.0
#7  0x00007f49bc7246ae in QThreadPoolThread::run() (this=0x43d6ef0) at concurrent/qthreadpool.cpp:108
#8  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x43d6ef0) at thread/qthread_unix.cpp:349
#9  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f49067fc700 (LWP 4003)):
#0  0x00007f49b40572a6 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f49b4057b03 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f49bc85f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4940001cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f49067fbd20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f49067fbd20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49c0ce7833 in  () at /usr/lib64/libdigikamcore.so.4.14.0
#7  0x00007f49bc7246ae in QThreadPoolThread::run() (this=0x43d3040) at concurrent/qthreadpool.cpp:108
#8  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x43d3040) at thread/qthread_unix.cpp:349
#9  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f495f186700 (LWP 4004)):
#0  0x00007f49b9ba03e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f49bc730c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x43d7f40) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f49bc730c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x43d7cf0, mutex=mutex@entry=0x1f074a8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f49bc7247ba in QThreadPoolThread::run() (this=0x43d7ce0) at concurrent/qthreadpool.cpp:142
#4  0x00007f49bc73079f in QThreadPrivate::start(void*) (arg=0x43d7ce0) at thread/qthread_unix.cpp:349
#5  0x00007f49b9b9c0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f49bbc506ed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f49c2f7d840 (LWP 3242)):
#0  0x00007f49bbc4c679 in syscall () at /lib64/libc.so.6
#1  0x00007f49bc72f243 in QMutexPrivate::wait(int) (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x1d10d60) at thread/qmutex_unix.cpp:99
#2  0x00007f49bc72f243 in QMutexPrivate::wait(int) (this=this@entry=0x1d10d60, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f49bc72b6c5 in QMutex::lockInternal() (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f49bcca0687 in KDebug::hasNullOutput(QtMsgType, bool, int, bool) () at /usr/lib64/libkdecore.so.5
#5  0x00007f49be74f61a in KIO::Slave::kill() () at /usr/lib64/libkio.so.5
#6  0x00007f49be74d078 in  () at /usr/lib64/libkio.so.5
#7  0x00007f49be7436f7 in  () at /usr/lib64/libkio.so.5
#8  0x00007f49bbba0b19 in __run_exit_handlers () at /lib64/libc.so.6
#9  0x00007f49bbba0b65 in  () at /lib64/libc.so.6
#10 0x00007f49bd2a6fc8 in  () at /usr/lib64/libQtGui.so.4
#11 0x00007f49bdf579c0 in KApplication::xioErrhandler(_XDisplay*) () at /usr/lib64/libkdeui.so.5
#12 0x00007f49ba13b3fe in _XIOError () at /usr/lib64/libX11.so.6
#13 0x00007f49ba138dfd in _XEventsQueued () at /usr/lib64/libX11.so.6
#14 0x00007f49ba12aeab in XEventsQueued () at /usr/lib64/libX11.so.6
#15 0x00007f49bd2dd0ec in  () at /usr/lib64/libQtGui.so.4
#16 0x00007f49b4057661 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#17 0x00007f49b4057b7b in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007f49b4057cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f49bc85f0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1c09d90, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#20 0x00007f49bd2dd676 in  () at /usr/lib64/libQtGui.so.4
#21 0x00007f49bc830e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff872e14f0, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f49bc831165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff872e14f0, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f49bc8365b9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#24 0x00000000004a1036 in  ()
#25 0x00007f49bbb8ab05 in __libc_start_main () at /lib64/libc.so.6
#26 0x00000000004a38af in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2017-04-16 13:27:14 UTC
In crash in OpenCV 3.1 through face management interface.

I recommend to switch to digiKam 5, where face interface was been re-writen and ported and fully tested with OpenCV 3.1.

You can use digiKam 5.6.0 pre version available as universal Linux AppImage bundle here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 2 Uwe 2017-04-16 18:15:41 UTC
Looks much better, Thanks