Bug 301506

Summary: Crash while Tagging and Grouping Faces
Product: [Applications] digikam Reporter: Wulf Bolte <Mr.Gosh>
Component: Faces-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0

Description Wulf Bolte 2012-06-09 12:48:48 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I selected photos of the same person and group them together - so only once The name has to be entered....

-- 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 0x7f78f1b39a00 (LWP 8570))]

Thread 6 (Thread 0x7f78ce1ec700 (LWP 8573)):
#0  0x00007f78eafc2b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f78e4533ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78e453445a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78ce1f198b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f78e45559a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f78e68e6e9a in start_thread (arg=0x7f78ce1ec700) at pthread_create.c:308
#6  0x00007f78eafce4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f78cd9eb700 (LWP 8574)):
#0  0x00007f78eafc2b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f78e4533ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78e453445a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78da30e2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f78e45559a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f78e68e6e9a in start_thread (arg=0x7f78cd9eb700) at pthread_create.c:308
#6  0x00007f78eafce4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f78bbfff700 (LWP 8576)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f78ebda24db in wait (time=18446744073709551615, this=0x1625e80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1625d78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005ca1d0 in Digikam::ScanController::run (this=0x1625b10) at /build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007f78ebda1fcb in QThreadPrivate::start (arg=0x1625b10) at thread/qthread_unix.cpp:298
#5  0x00007f78e68e6e9a in start_thread (arg=0x7f78bbfff700) at pthread_create.c:308
#6  0x00007f78eafce4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f78bb7fe700 (LWP 8577)):
#0  __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:66
#1  __pthread_mutex_unlock (mutex=0x7f78ac000a60) at pthread_mutex_unlock.c:290
#2  0x00007f78e456f591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78e4533ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f78e4534124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f78ebed0426 in QEventDispatcherGlib::processEvents (this=0x7f78ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f78ebe9fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f78ebe9fed7 in QEventLoop::exec (this=0x7f78bb7fdb50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f78ebd9efa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f78ebe7f9ff in QInotifyFileSystemWatcherEngine::run (this=0x16286f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f78ebda1fcb in QThreadPrivate::start (arg=0x16286f0) at thread/qthread_unix.cpp:298
#11 0x00007f78e68e6e9a in start_thread (arg=0x7f78bb7fe700) at pthread_create.c:308
#12 0x00007f78eafce4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f78c7de4700 (LWP 8595)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f78ebda24db in wait (time=18446744073709551615, this=0x16e1860) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x16e15c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f78ef1a0ff1 in Digikam::ParkingThread::run (this=0x16e15b0) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f78ebda1fcb in QThreadPrivate::start (arg=0x16e15b0) at thread/qthread_unix.cpp:298
#5  0x00007f78e68e6e9a in start_thread (arg=0x7f78c7de4700) at pthread_create.c:308
#6  0x00007f78eafce4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f78f1b39a00 (LWP 8570)):
[KCrash Handler]
#6  0x0000000000607f3f in data (arole=37, this=0x4d23460) at /usr/include/qt4/QtCore/qabstractitemmodel.h:402
#7  Digikam::AssignNameOverlay::checkIndex (this=<optimized out>, index=...) at /build/buildd/digikam-2.5.0/core/digikam/items/assignnameoverlay.cpp:241
#8  0x00007f78ef1f31ff in checkIndexOnEnter (index=..., this=0x1b0a280) at /build/buildd/digikam-2.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:282
#9  Digikam::AbstractWidgetDelegateOverlay::checkIndexOnEnter (this=0x1b0a280, index=...) at /build/buildd/digikam-2.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:270
#10 0x00007f78ef1f3267 in Digikam::PersistentWidgetDelegateOverlay::slotEntered (this=0x1b0a280, index=...) at /build/buildd/digikam-2.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:577
#11 0x0000000000607e7b in Digikam::AssignNameOverlay::eventFilter (this=0x1b0a280, o=<optimized out>, e=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/items/assignnameoverlay.cpp:351
#12 0x00007f78ebea1028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1c0e450, event=0x7fff840d52c0) at kernel/qcoreapplication.cpp:986
#13 0x00007f78ec89685f in notify_helper (e=0x7fff840d52c0, receiver=0x1c0e450, this=0x132c1e0) at kernel/qapplication.cpp:4555
#14 QApplicationPrivate::notify_helper (this=0x132c1e0, receiver=0x1c0e450, e=0x7fff840d52c0) at kernel/qapplication.cpp:4531
#15 0x00007f78ec89b713 in QApplication::notify (this=0x7fff840d6740, receiver=0x1c0e450, e=0x7fff840d52c0) at kernel/qapplication.cpp:4420
#16 0x00007f78ed5cfbb6 in KApplication::notify (this=0x7fff840d6740, receiver=0x1c0e450, event=0x7fff840d52c0) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f78ebea0e9c in QCoreApplication::notifyInternal (this=0x7fff840d6740, receiver=0x1c0e450, event=0x7fff840d52c0) at kernel/qcoreapplication.cpp:876
#18 0x00007f78ec8950ae in sendEvent (event=0x7fff840d52c0, receiver=0x1c0e450) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QApplicationPrivate::setFocusWidget (focus=0x1915a20, reason=Qt::MouseFocusReason) at kernel/qapplication.cpp:2260
#20 0x00007f78ec8d9ef1 in QWidget::setFocus (this=0x1915a20, reason=Qt::MouseFocusReason) at kernel/qwidget.cpp:6450
#21 0x00007f78ec89d3d5 in QApplication::notify (this=0x7fff840d6740, receiver=0x31339a0, e=0x7fff840d5950) at kernel/qapplication.cpp:4059
#22 0x00007f78ed5cfbb6 in KApplication::notify (this=0x7fff840d6740, receiver=0x31339a0, event=0x7fff840d5950) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f78ebea0e9c in QCoreApplication::notifyInternal (this=0x7fff840d6740, receiver=0x31339a0, event=0x7fff840d5950) at kernel/qcoreapplication.cpp:876
#24 0x00007f78ec897862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x31339a0, event=0x7fff840d5950, alienWidget=0x31339a0, nativeWidget=0x1915a20, buttonDown=0x31339a0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#26 0x00007f78ec916bf5 in QETWidget::translateMouseEvent (this=0x1915a20, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#27 0x00007f78ec915bae in QApplication::x11ProcessEvent (this=0x7fff840d6740, event=0x7fff840d6220) at kernel/qapplication_x11.cpp:3732
#28 0x00007f78ec93f0d2 in x11EventSourceDispatch (s=0x132e500, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f78e4533c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f78e4534060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f78e4534124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f78ebed03bf in QEventDispatcherGlib::processEvents (this=0x12cab60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f78ec93ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f78ebe9fc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f78ebe9fed7 in QEventLoop::exec (this=0x7fff840d65c0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f78ebea4f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x000000000048bc5d in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 297558, bug 285517.

Possible duplicates by query: bug 297558, bug 287961, bug 285517, bug 277808.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-09 13:00:10 UTC

*** This bug has been marked as a duplicate of bug 297558 ***
Comment 2 caulier.gilles 2019-12-23 06:21:48 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