Bug 329108 - Crash when running Scanning faces/Clear and rebuild all training data
Summary: Crash when running Scanning faces/Clear and rebuild all training data
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-22 06:15 UTC by Michal Sylwester
Modified: 2019-12-23 06:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sylwester 2013-12-22 06:15:59 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

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

1. Selected people tag
2. Pressed "Scan collection for faces"
3. Open options
4. Select advanced tab
5. Tick Clear and rebuild all training data
6. Click "Scan"

After a while digikam crashes. 
Tried on 2 systems, same effect.

Distro is ubuntu 13.10, but digikam is compiled separatelly from sources, but using recipe from the one from ubuntu repos. The packages are in my ppa: https://lauchpad.net/~msylwester/+archive/misc

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f1b53620a80 (LWP 13347))]

Thread 9 (Thread 0x7f1b3060a700 (LWP 13424)):
#0  0x00007f1b4cf86f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1b360c0198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f1b482dff6e in start_thread (arg=0x7f1b3060a700) at pthread_create.c:311
#3  0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f1b29e7a700 (LWP 13490)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b4dd75406 in wait (time=18446744073709551615, this=0x11c7ae0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x11c79f0, mutex=mutex@entry=0x11c79e8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5fce in Digikam::ScanController::run (this=0x11c7780) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f1b4dd74f2f in QThreadPrivate::start (arg=0x11c7780) at thread/qthread_unix.cpp:338
#5  0x00007f1b482dff6e in start_thread (arg=0x7f1b29e7a700) at pthread_create.c:311
#6  0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f1b29679700 (LWP 13493)):
#0  0x00007f1b458f20ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1b458f2399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1b458b212c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1b458b263b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1b458b27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1b4dea1a76 in QEventDispatcherGlib::processEvents (this=0x7f1b1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f1b4de735ef in QEventLoop::processEvents (this=this@entry=0x7f1b29678ab0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1b4de738e5 in QEventLoop::exec (this=this@entry=0x7f1b29678ab0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1b4dd7288f in QThread::exec (this=this@entry=0x11bd6d0) at thread/qthread.cpp:542
#9  0x00007f1b4de54d13 in QInotifyFileSystemWatcherEngine::run (this=0x11bd6d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f1b4dd74f2f in QThreadPrivate::start (arg=0x11bd6d0) at thread/qthread_unix.cpp:338
#11 0x00007f1b482dff6e in start_thread (arg=0x7f1b29679700) at pthread_create.c:311
#12 0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f1b1a1c8700 (LWP 13804)):
#0  0x00007f1b4dea1c6c in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:154
#1  0x00007f1b458b2121 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1b458b263b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1b458b27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1b4dea1a76 in QEventDispatcherGlib::processEvents (this=0x7f1b140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f1b4de735ef in QEventLoop::processEvents (this=this@entry=0x7f1b1a1c7ab0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1b4de738e5 in QEventLoop::exec (this=this@entry=0x7f1b1a1c7ab0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1b4dd7288f in QThread::exec (this=this@entry=0x1ae7880) at thread/qthread.cpp:542
#8  0x00007f1b4de54d13 in QInotifyFileSystemWatcherEngine::run (this=0x1ae7880) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f1b4dd74f2f in QThreadPrivate::start (arg=0x1ae7880) at thread/qthread_unix.cpp:338
#10 0x00007f1b482dff6e in start_thread (arg=0x7f1b1a1c8700) at pthread_create.c:311
#11 0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f1b067fc700 (LWP 13894)):
[KCrash Handler]
#6  0x00007f1b4cecff77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f1b4ced35e8 in __GI_abort () at abort.c:90
#8  0x00007f1b4d7db6e5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f1b4d7d9856 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f1b4d7d9883 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f1b4d7d9af6 in __cxa_rethrow () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f1b4dd68942 in QThreadPoolThread::run (this=0x31efcc0) at concurrent/qthreadpool.cpp:114
#13 0x00007f1b4dd74f2f in QThreadPrivate::start (arg=0x31efcc0) at thread/qthread_unix.cpp:338
#14 0x00007f1b482dff6e in start_thread (arg=0x7f1b067fc700) at pthread_create.c:311
#15 0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f1abd7fa700 (LWP 13895)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1b42660c6b in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1b42660c89 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1b482dff6e in start_thread (arg=0x7f1abd7fa700) at pthread_create.c:311
#4  0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f1abeffd700 (LWP 13896)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1b42660c6b in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1b42660c89 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1b482dff6e in start_thread (arg=0x7f1abeffd700) at pthread_create.c:311
#4  0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f1b0e306700 (LWP 13897)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1b42660c6b in ?? () from /usr/lib/libtbb.so.2
#2  0x00007f1b42660c89 in ?? () from /usr/lib/libtbb.so.2
#3  0x00007f1b482dff6e in start_thread (arg=0x7f1b0e306700) at pthread_create.c:311
#4  0x00007f1b4cf939cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f1b53620a80 (LWP 13347)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b4dd75406 in wait (time=18446744073709551615, this=0x31efdf0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x31efda0, mutex=mutex@entry=0x31efd78, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1b4dd74afe in QThread::wait (this=this@entry=0x31efcc0, time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00007f1b4dd6936a in QThreadPoolPrivate::reset (this=0x14aa610) at concurrent/qthreadpool.cpp:279
#5  0x00007f1b4dd6956e in QThreadPool::~QThreadPool (this=0x1485ef0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:441
#6  0x00007f1b4dd69599 in QThreadPool::~QThreadPool (this=0x1485ef0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#7  0x00007f1b4de8b308 in QObjectPrivate::deleteChildren (this=this@entry=0x19608c0) at kernel/qobject.cpp:1907
#8  0x00007f1b4de8d8af in QObject::~QObject (this=0x14b0ac0, __in_chrg=<optimized out>) at kernel/qobject.cpp:926
#9  0x00007f1b50bec967 in ~ThreadManagerCreator (this=0x14b0ac0, __in_chrg=<optimized out>) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:236
#10 destroy () at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:241
#11 0x00007f1b4ced5071 in __run_exit_handlers (status=1, listp=0x7f1b4d25a6a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#12 0x00007f1b4ced50f5 in __GI_exit (status=<optimized out>) at exit.c:99
#13 0x00007f1b4e8cc6b8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#14 0x00007f1b4f56e620 in KApplication::xioErrhandler (this=0x7fff6a71df70, dpy=0x10064a0) at ../../kdeui/kernel/kapplication.cpp:419
#15 0x00007f1b4b48d64e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f1b4b48b03d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#17 0x00007f1b4b47d12b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#18 0x00007f1b4e90744c in x11EventSourceCheck (s=0xfecfd0) at kernel/qguieventdispatcher_glib.cpp:85
#19 0x00007f1b458b2121 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f1b458b263b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f1b458b27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f1b4dea1a55 in QEventDispatcherGlib::processEvents (this=0xf362e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f1b4e9079d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f1b4de735ef in QEventLoop::processEvents (this=this@entry=0x7fff6a71da50, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f1b4de738e5 in QEventLoop::exec (this=this@entry=0x7fff6a71da50, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f1b4de78e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#27 0x00007f1b4e86434c in QApplication::exec () at kernel/qapplication.cpp:3828
#28 0x0000000000491fb3 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 329091, bug 326794, bug 326750, bug 326586, bug 326570.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-01-22 14:55:16 UTC

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