Bug 284173

Summary: canceling face scan crashes digikam
Product: [Applications] digikam Reporter: 20120808_bugs.kde.org
Component: Faces-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.0
Sentry Crash Report:

Description 20120808_bugs.kde.org 2011-10-16 11:19:07 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

had requested that digikam ignore existing unconfirmed face tags and rescan the collection. several pictures were scanned (many, many more to go though) and i canceled the search for faces.
next was digikam crashing and the crash reporting wizard taking its place.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7fd02f770a20 (LWP 8137))]

Thread 10 (Thread 0x7fd00cf63700 (LWP 8143)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd02a0f11ab in wait (time=18446744073709551615, this=0x1f26780) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1f29ca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in ?? ()
#4  0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x1f839d0) at thread/qthread_unix.cpp:331
#5  0x00007fd024d50efc in start_thread (arg=0x7fd00cf63700) at pthread_create.c:304
#6  0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd00c762700 (LWP 8148)):
#0  __pthread_mutex_lock (mutex=0x1f02a88) at pthread_mutex_lock.c:131
#1  0x00007fd022e2e044 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd022e2e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd02a202f3e in QEventDispatcherGlib::processEvents (this=0x1edce60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd02a1d6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd02a1d6ef7 in QEventLoop::exec (this=0x7fd00c761b30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd02a0ee27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fd02a1b9cbf in QInotifyFileSystemWatcherEngine::run (this=0x1ede7c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x1ede7c0) at thread/qthread_unix.cpp:331
#9  0x00007fd024d50efc in start_thread (arg=0x7fd00c762700) at pthread_create.c:304
#10 0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd00bf61700 (LWP 8180)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd02a0f11ab in wait (time=18446744073709551615, this=0x286f440) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x286f318, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd02d033737 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x286f300) at thread/qthread_unix.cpp:331
#5  0x00007fd024d50efc in start_thread (arg=0x7fd00bf61700) at pthread_create.c:304
#6  0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd000ed9700 (LWP 8181)):
#0  0x00007fd024d53034 in __pthread_mutex_lock (mutex=0x29ddc28) at pthread_mutex_lock.c:61
#1  0x00007fd022e2d8c2 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd022e2e258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd022e2e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd02a202f3e in QEventDispatcherGlib::processEvents (this=0x29dd850, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd02a1d6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd02a1d6ef7 in QEventLoop::exec (this=0x7fd000ed8b30, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd02a0ee27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fd02a1b9cbf in QInotifyFileSystemWatcherEngine::run (this=0x29dcf20) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x29dcf20) at thread/qthread_unix.cpp:331
#10 0x00007fd024d50efc in start_thread (arg=0x7fd000ed9700) at pthread_create.c:304
#11 0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fcfed05b700 (LWP 8269)):
#0  0x00007fd0256d13b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007fd0256cfede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007fd024d50efc in start_thread (arg=0x7fcfed05b700) at pthread_create.c:304
#3  0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fcff93ac700 (LWP 8374)):
#0  0x00007fd02a2033c7 in timerSourceCheck (source=0x67ab410) at kernel/qeventdispatcher_glib.cpp:175
#1  0x00007fd022e2d734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd022e2df82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd022e2e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd02a202f3e in QEventDispatcherGlib::processEvents (this=0x4bf76c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd02a1d6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd02a1d6ef7 in QEventLoop::exec (this=0x7fcff93abb30, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd02a0ee27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fd02a1b9cbf in QInotifyFileSystemWatcherEngine::run (this=0x546b460) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x546b460) at thread/qthread_unix.cpp:331
#10 0x00007fd024d50efc in start_thread (arg=0x7fcff93ac700) at pthread_create.c:304
#11 0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fcfe9b00700 (LWP 8379)):
#0  0x00007fd024d541fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x442bee8) at pthread_mutex_unlock.c:290
#2  0x00007fd022e2cfe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd022e2ddfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd022e2e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd02a202f3e in QEventDispatcherGlib::processEvents (this=0x5078830, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fd02a1d6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd02a1d6ef7 in QEventLoop::exec (this=0x7fcfe9affb30, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fd02a0ee27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007fd02a1b9cbf in QInotifyFileSystemWatcherEngine::run (this=0x35fb990) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x35fb990) at thread/qthread_unix.cpp:331
#11 0x00007fd024d50efc in start_thread (arg=0x7fcfe9b00700) at pthread_create.c:304
#12 0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fcfe5ddb700 (LWP 8455)):
[KCrash Handler]
#6  0x00007fd0292e83a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fd0292ebb0b in __GI_abort () at abort.c:92
#8  0x00007fd029ba6d7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007fd029ba4f26 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007fd029ba4f53 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007fd029ba596f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fd02d034e3e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib/libdigikamcore.so.2
#13 0x00007fd02a0e5795 in QThreadPoolThread::run (this=0x8cfe620) at concurrent/qthreadpool.cpp:106
#14 0x00007fd02a0f0d05 in QThreadPrivate::start (arg=0x8cfe620) at thread/qthread_unix.cpp:331
#15 0x00007fd024d50efc in start_thread (arg=0x7fcfe5ddb700) at pthread_create.c:304
#16 0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcfe25d4700 (LWP 8654)):
#0  0x00007fd0256d13b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007fd0256cfede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007fd024d50efc in start_thread (arg=0x7fcfe25d4700) at pthread_create.c:304
#3  0x00007fd02939389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd02f770a20 (LWP 8137)):
#0  0x00007fd029387773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd0206114f2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd020611a3f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd020611ac4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fd0278eb597 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fd0278ebacb in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007fd0278d034b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fd02ba2e92b in NETWinInfo::update (this=0x7fff861d8f00, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#8  0x00007fd02ba300f6 in NETWinInfo::event (this=0x7fff861d8f00, event=0x7fff861d8fb0, properties=0x7fff861d8ed0, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#9  0x00007fd02ba251d8 in KWindowSystemPrivate::x11Event (this=0x52bc510, ev=0x7fff861d8fb0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#10 0x00007fd02b915206 in publicX11Event (e=0x7fff861d8fb0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#11 KSystemEventFilterPrivate::filterEvent (this=0x297cfb0, message=0x7fff861d8fb0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#12 0x00007fd02ac80388 in x11EventSourceDispatch (s=0x1d5a620, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#13 0x00007fd022e2da5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fd022e2e258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fd022e2e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fd02a202ed6 in QEventDispatcherGlib::processEvents (this=0x1cf9470, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#17 0x00007fd02ac8007e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#18 0x00007fd02a1d6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007fd02a1d6ef7 in QEventLoop::exec (this=0x7fff861d9380, flags=...) at kernel/qeventloop.cpp:201
#20 0x00007fd02a1db789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#21 0x00000000004893fd in ?? ()
#22 0x00007fd0292d330d in __libc_start_main (main=0x488310, argc=1, ubp_av=0x7fff861d9d28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff861d9d18) at libc-start.c:226
#23 0x000000000048abd5 in _start ()

Possible duplicates by query: bug 255852.

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-10-24 19:59:34 UTC
Is this reproducible?
Comment 2 caulier.gilles 2011-11-03 12:42:38 UTC
digiKam 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier
Comment 3 20120808_bugs.kde.org 2011-11-07 21:14:04 UTC
will try again soon. installing digikam 2.3 from ppa
Comment 4 20120808_bugs.kde.org 2011-11-19 15:10:17 UTC
have not yet been able to reproduce with digikam 2.3