Bug 279781

Summary: DK crashes while using face detection tool
Product: [Applications] digikam Reporter: Doirat <gaylord.doirat>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, mail
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Doirat 2011-08-10 05:19:56 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I use automated detection tools. I was naming facing while DK crashes.
GD

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f78ec881a40 (LWP 3578))]

Thread 14 (Thread 0x7f78cc833700 (LWP 3582)):
#0  0x00007f78e3cf0f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f78dde04104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78dde049f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78d37c4c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f78dde2b3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f78e3a00d8c in start_thread (arg=0x7f78cc833700) at pthread_create.c:304
#7  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f78be249700 (LWP 3584)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f78e4d2982b in wait (this=<value optimized out>, mutex=0x289c878, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x289c878, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005b7228 in Digikam::ScanController::run (this=0x289acb0) at /build/buildd/digikam2-2.0.0/core/digikam/database/scancontroller.cpp:618
#4  0x00007f78e4d29175 in QThreadPrivate::start (arg=0x289acb0) at thread/qthread_unix.cpp:320
#5  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f78e3a00d8c in start_thread (arg=0x7f78be249700) at pthread_create.c:304
#7  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f78bda48700 (LWP 3585)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007f78e3cf0ee8 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f78dde04104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78dde04639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f78e4e3b446 in QEventDispatcherGlib::processEvents (this=0x28a4920, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f78e4e0f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f78e4e0fabc in QEventLoop::exec (this=0x7f78bda47a50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f78e4d26924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f78e4df1c2f in QInotifyFileSystemWatcherEngine::run (this=0x28a4280) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f78e4d29175 in QThreadPrivate::start (arg=0x28a4280) at thread/qthread_unix.cpp:320
#10 0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f78e3a00d8c in start_thread (arg=0x7f78bda48700) at pthread_create.c:304
#12 0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f78c3512700 (LWP 4001)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f78e4d2982b in wait (this=<value optimized out>, mutex=0x2a7f898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2a7f898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f78e939d287 in Digikam::ParkingThread::run (this=0x2a7f880) at /build/buildd/digikam2-2.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f78e4d29175 in QThreadPrivate::start (arg=0x2a7f880) at thread/qthread_unix.cpp:320
#5  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f78e3a00d8c in start_thread (arg=0x7f78c3512700) at pthread_create.c:304
#7  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f78b451e700 (LWP 4033)):
#0  0x00007f78e3cf0f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f78dde04104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78dde04639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78e4e3b446 in QEventDispatcherGlib::processEvents (this=0x3900790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f78e4e0f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f78e4e0fabc in QEventLoop::exec (this=0x7f78b451da50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f78e4d26924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f78e4df1c2f in QInotifyFileSystemWatcherEngine::run (this=0x38f43d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f78e4d29175 in QThreadPrivate::start (arg=0x38f43d0) at thread/qthread_unix.cpp:320
#9  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f78e3a00d8c in start_thread (arg=0x7f78b451e700) at pthread_create.c:304
#11 0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f78a0ab8700 (LWP 9962)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f78a0ab7720 in ?? ()
#2  0x00007fff1ebc07b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x7f7891ffa700 (LWP 9968)):
#0  0x00007f78dde03753 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f78dde04122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78dde04639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78e4e3b446 in QEventDispatcherGlib::processEvents (this=0x6a77800, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f78e4e0f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f78e4e0fabc in QEventLoop::exec (this=0x7f7891ff9a20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f78e939c92f in Digikam::WorkerObjectRunnable::run (this=0x7920c30) at /build/buildd/digikam2-2.0.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f78e4d1e188 in QThreadPoolThread::run (this=0x7f78983bc0f0) at concurrent/qthreadpool.cpp:106
#8  0x00007f78e4d29175 in QThreadPrivate::start (arg=0x7f78983bc0f0) at thread/qthread_unix.cpp:320
#9  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f78e3a00d8c in start_thread (arg=0x7f7891ffa700) at pthread_create.c:304
#11 0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f7890ff8700 (LWP 10145)):
#0  0x00007f78dfac153e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f78dfabffc6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f78e3a00d8c in start_thread (arg=0x7f7890ff8700) at pthread_create.c:304
#4  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7883fff700 (LWP 10146)):
#0  0x00007f78dfac153e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f78dfabffc6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f78e3a00d8c in start_thread (arg=0x7f7883fff700) at pthread_create.c:304
#4  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f78927fc700 (LWP 10739)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f78927fb720 in ?? ()
#2  0x00007fff1ebc07b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f7892ffd700 (LWP 10740)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f7892ffc720 in ?? ()
#2  0x00007fff1ebc07b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f78917f9700 (LWP 10741)):
#0  0x00007f78dfac153e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f78dfabffc6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f78e3a00d8c in start_thread (arg=0x7f78917f9700) at pthread_create.c:304
#4  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f78add9e700 (LWP 10742)):
#0  0x00007f78dfac153e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f78dfabffc6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f78d0afabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f78e3a00d8c in start_thread (arg=0x7f78add9e700) at pthread_create.c:304
#4  0x00007f78e3cfe04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f78ec881a40 (LWP 3578)):
[KCrash Handler]
#6  Digikam::ImageModel::imageInfo (this=0x0, row=0) at /build/buildd/digikam2-2.0.0/core/libs/models/imagemodel.cpp:191
#7  0x00007f78e8dba5cb in Digikam::ImageModel::retrieveImageInfo (index=<value optimized out>) at /build/buildd/digikam2-2.0.0/core/libs/models/imagemodel.cpp:302
#8  0x00000000005e1e23 in Digikam::DigikamImageView::confirmFaces (this=0x2a95890, indexes=<value optimized out>, tagId=353) at /build/buildd/digikam2-2.0.0/core/digikam/items/digikamimageview.cpp:246
#9  0x00000000005e23cd in Digikam::DigikamImageView::qt_metacall (this=0x2a95890, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ea07a60) at /build/buildd/digikam2-2.0.0/obj-x86_64-linux-gnu/core/digikam/digikamimageview.moc:185
#10 0x00007f78e4e255f8 in QMetaObject::activate (sender=0x2afe0d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1ea07a60) at kernel/qobject.cpp:3287
#11 0x00000000005f2391 in Digikam::AssignNameOverlay::confirmFaces (this=<value optimized out>, _t1=<value optimized out>, _t2=353) at /build/buildd/digikam2-2.0.0/obj-x86_64-linux-gnu/core/digikam/assignnameoverlay.moc:97
#12 0x00000000005f2c74 in Digikam::AssignNameOverlay::slotAssigned (this=0x2afe0d0, action=<value optimized out>, info=<value optimized out>, faceIdentifier=<value optimized out>) at /build/buildd/digikam2-2.0.0/core/digikam/items/assignnameoverlay.cpp:288
#13 0x00000000005f2e38 in Digikam::AssignNameOverlay::qt_metacall (this=0x2afe0d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ea07c20) at /build/buildd/digikam2-2.0.0/obj-x86_64-linux-gnu/core/digikam/assignnameoverlay.moc:84
#14 0x00007f78e4e255f8 in QMetaObject::activate (sender=0x79cb710, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1ea07c20) at kernel/qobject.cpp:3287
#15 0x000000000068a24a in Digikam::AssignNameWidget::assigned (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at /build/buildd/digikam2-2.0.0/obj-x86_64-linux-gnu/core/digikam/assignnamewidget.moc:200
#16 0x000000000068b03b in Digikam::AssignNameWidget::slotConfirm (this=0x79cb710) at /build/buildd/digikam2-2.0.0/core/utilities/facedetection/assignnamewidget.cpp:705
#17 0x000000000068bb78 in Digikam::AssignNameWidget::qt_metacall (this=0x79cb710, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff1ea07d90) at /build/buildd/digikam2-2.0.0/obj-x86_64-linux-gnu/core/digikam/assignnamewidget.moc:151
#18 0x00007f78e4e255f8 in QMetaObject::activate (sender=0x3ae8430, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1ea07d90) at kernel/qobject.cpp:3287
#19 0x00007f78e609f942 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#20 0x00007f78e5de8f2e in QAbstractButtonPrivate::emitClicked (this=0x9a3f480) at widgets/qabstractbutton.cpp:546
#21 0x00007f78e5dea4ab in QAbstractButtonPrivate::click (this=0x9a3f480) at widgets/qabstractbutton.cpp:539
#22 0x00007f78e5dea71c in QAbstractButton::mouseReleaseEvent (this=0x3ae8430, e=0x7fff1ea086e0) at widgets/qabstractbutton.cpp:1121
#23 0x00007f78e5ea69ba in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#24 0x00007f78e5a78cc8 in QWidget::event (this=0x3ae8430, event=0x7fff1ea086e0) at kernel/qwidget.cpp:8259
#25 0x00007f78e5a279f4 in QApplicationPrivate::notify_helper (this=0x25c9f40, receiver=0x3ae8430, e=0x7fff1ea086e0) at kernel/qapplication.cpp:4462
#26 0x00007f78e5a2cdc3 in QApplication::notify (this=<value optimized out>, receiver=0x3ae8430, e=0x7fff1ea086e0) at kernel/qapplication.cpp:4023
#27 0x00007f78e674a866 in KApplication::notify (this=0x7fff1ea094e0, receiver=0x3ae8430, event=0x7fff1ea086e0) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f78e4e1049c in QCoreApplication::notifyInternal (this=0x7fff1ea094e0, receiver=0x3ae8430, event=0x7fff1ea086e0) at kernel/qcoreapplication.cpp:731
#29 0x00007f78e5a28a1d in sendEvent (receiver=0x3ae8430, event=0x7fff1ea086e0, alienWidget=0x3ae8430, nativeWidget=0x2a95890, buttonDown=0x7f78e650b218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QApplicationPrivate::sendMouseEvent (receiver=0x3ae8430, event=0x7fff1ea086e0, alienWidget=0x3ae8430, nativeWidget=0x2a95890, buttonDown=0x7f78e650b218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#31 0x00007f78e5aaa190 in QETWidget::translateMouseEvent (this=0x2a95890, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#32 0x00007f78e5aa8ab7 in QApplication::x11ProcessEvent (this=0x7fff1ea094e0, event=0x7fff1ea09030) at kernel/qapplication_x11.cpp:3680
#33 0x00007f78e5ad1842 in x11EventSourceDispatch (s=0x25cda30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f78dde03bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f78dde043a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f78dde04639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f78e4e3b3ef in QEventDispatcherGlib::processEvents (this=0x2545020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007f78e5ad14de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f78e4e0f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f78e4e0fabc in QEventLoop::exec (this=0x7fff1ea09330, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007f78e4e13ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x000000000068db54 in main (argc=5, argv=0x7fff1ea09d38) at /build/buildd/digikam2-2.0.0/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 277808.

Possible duplicates by query: bug 277808.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-08-10 05:47:29 UTC

*** This bug has been marked as a duplicate of bug 277808 ***
Comment 2 caulier.gilles 2011-08-23 07:32:13 UTC
*** Bug 280618 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2011-08-23 07:38:07 UTC
*** Bug 280620 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2019-12-23 06:22:23 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