Bug 336979 - Digikam crash during facial recognition when closed before finished
Summary: Digikam crash during facial recognition when closed before finished
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (show other bugs)
Version: 4.1.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-07-02 21:02 UTC by robert
Modified: 2017-07-26 18:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert 2014-07-02 21:02:33 UTC
Application: digikam (4.1.0)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.8-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: Closed digikam while facial recognition was still running.  Immediately threw up segmentation fault crash report.

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

Thread 12 (Thread 0x7fb3a6341700 (LWP 11647)):
#0  0x0000003e3ecea9dd in poll () from /lib64/libc.so.6
#1  0x0000003e424495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x0000003e424496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000031b57b5a7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00000031b578595f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00000031b5785cad in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00000031b5679e8f in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x00000031b57662e3 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#8  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#10 0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fb3a5b40700 (LWP 11658)):
#0  0x0000003e3f80bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbf6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00007fb3ba319ce9 in Digikam::ParkingThread::run (this=0x1241250) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threads/threadmanager.cpp:119
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fb391d66700 (LWP 31028)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fb36929d700 (LWP 23614)):
[KCrash Handler]
#5  0x00000031b56774d6 in QMutex::lock() () from /lib64/libQtCore.so.4
#6  0x00007fb3ba2f95d0 in Digikam::LoadingCache::CacheLock::CacheLock (this=0x7fb36929c410, cache=0x112b730) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threadimageio/loadingcache.cpp:504
#7  0x00007fb3ba303dbc in Digikam::PreviewLoadingTask::execute (this=0xc07b720) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threadimageio/previewtask.cpp:451
#8  0x00007fb3ba2f05e0 in Digikam::LoadSaveThread::run (this=0x8c31c60) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threadimageio/loadsavethread.cpp:136
#9  0x00007fb3ba31beb8 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x9057b10) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threads/dynamicthread.cpp:186
#10 0x00000031b567004e in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#11 0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#12 0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#13 0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fb390d64700 (LWP 23615)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fb383fff700 (LWP 24253)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fb3827fc700 (LWP 26227)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fb381ffb700 (LWP 26228)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb3817fa700 (LWP 26333)):
#0  0x0000003e3f80bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbf6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00007fb3601319ea in KIPIPlugins::KPRawThumbThread::run (this=0x7002d40) at /home/rasusmilch/Downloads/digikam-4.1.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb36129d700 (LWP 27653)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb391565700 (LWP 27654)):
#0  0x0000003e3f80c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbd4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000031b567016a in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x00000031b567c6bf in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003e3f807f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e3ecf4ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb3b2e4eac0 (LWP 11632)):
#0  0x0000003e3f80bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000031b567cbf6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00007fb3ba31c562 in Digikam::DynamicThread::wait (this=0x8c31c60, locker=...) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threads/dynamicthread.cpp:351
#3  0x00007fb3ba31c140 in Digikam::DynamicThread::shutDown (this=0x8c31c60) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threads/dynamicthread.cpp:222
#4  0x00007fb3ba2f1e86 in Digikam::ManagedLoadSaveThread::shutDown (this=0x8c31c60) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threadimageio/managedloadsavethread.cpp:94
#5  0x00007fb3ba2f1bad in Digikam::ManagedLoadSaveThread::~ManagedLoadSaveThread (this=0x8c31c60, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threadimageio/managedloadsavethread.cpp:49
#6  0x00000000007263c7 in Digikam::PreviewLoadThread::~PreviewLoadThread (this=0x8c31c60, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/core/libs/threadimageio/previewloadthread.h:34
#7  0x000000000072c980 in Digikam::PreviewLoader::~PreviewLoader (this=0x8c31c60, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/build/core/digikam/../../../core/utilities/facemanagement/facepipeline_p.h:161
#8  0x000000000072c9e2 in Digikam::PreviewLoader::~PreviewLoader (this=0x8c31c60, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/build/core/digikam/../../../core/utilities/facemanagement/facepipeline_p.h:161
#9  0x0000000000724262 in Digikam::FacePipeline::~FacePipeline (this=0x8fffad8, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/core/utilities/facemanagement/facepipeline.cpp:1371
#10 0x0000000000531dad in Digikam::FaceDetector::Private::~Private (this=0x8fffab0, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/core/utilities/maintenance/facedetector.cpp:94
#11 0x0000000000530df7 in Digikam::FaceDetector::~FaceDetector (this=0x8bc35a0, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/core/utilities/maintenance/facedetector.cpp:234
#12 0x0000000000530e64 in Digikam::FaceDetector::~FaceDetector (this=0x8bc35a0, __in_chrg=<optimized out>) at /home/rasusmilch/Downloads/digikam-4.1.0/core/utilities/maintenance/facedetector.cpp:235
#13 0x00000031b579fee8 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#14 0x00007fb3b44e2e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#15 0x00007fb3b44e97e5 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x00007fb3b5245b0a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#17 0x00000031b5786ebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#18 0x00000031b578a0d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#19 0x00000031b578b3d0 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#20 0x000000000073a9bb in main (argc=5, argv=0x7fff93e7b668) at /home/rasusmilch/Downloads/digikam-4.1.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 312440, bug 309306.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-08-24 08:57:07 UTC
Problem still reproducible using last digiKam 4.2.0 ?

Gilles Caulier
Comment 2 caulier.gilles 2015-06-24 16:18:08 UTC
New digiKam 4.11.0 is available :

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

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 3 caulier.gilles 2015-08-17 11:27:30 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 4 caulier.gilles 2016-07-07 10:59:13 UTC
This problem is not reproducible with last 5.0.0
I close this file now. Re-open it if necessary.
Gilles Caulier