[Digikam-devel] [digikam] [Bug 338176] New: Digikam-4.2.0 sometimes crashes when recognising faces

Christian gentoo at moin.fi
Sun Aug 10 17:16:28 BST 2014


https://bugs.kde.org/show_bug.cgi?id=338176

            Bug ID: 338176
           Summary: Digikam-4.2.0 sometimes crashes when recognising faces
           Product: digikam
           Version: 4.2.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: gentoo at moin.fi

Application: digikam (4.2.0)
KDE Platform Version: 4.12.5 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.14.14-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
Click on the "Recognise faces" for "Skip pictures that have been scanned", and
then start the recognising process.
It runs quickly up to some % but then stops. Digikam doesn't hang, but the
system becomes sluggish. I think it's running out of memory.
At the moment it always stops at 12%. But earlier, it has been working fine.
(The action that caused it to fail now may be that I have imported and "found
faces" in a few more albums.) The problem seems to be in face recognition, as
face finding has worked fine.
Based on the trace, I am marking this as a possible duplicate of another bug,
but note that my experience concerns version 4.2.0 on linux.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f2592a77840 (LWP 24459))]

Thread 5 (Thread 0x7f256f985700 (LWP 24464)):
#0  pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f258c8c0873 in wait (time=18446744073709551615, this=0x2260890) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2266440,
mutex=mutex at entry=0x2266438, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005fa879 in Digikam::ScanController::run (this=0x2134f70) at
/portage_builddir/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f258c8c02dc in QThreadPrivate::start (arg=0x2134f70) at
thread/qthread_unix.cpp:338
#5  0x00007f2589a172da in start_thread (arg=0x7f256f985700) at
pthread_create.c:309
#6  0x00007f258badc32d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f256f184700 (LWP 24465)):
#0  0x00007f2584c7dcea in g_mutex_get_impl (mutex=0x7f25600009a0) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gthread-posix.c:120
#1  0x00007f2584c7dfe9 in g_mutex_unlock (mutex=mutex at entry=0x7f25600009a0) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gthread-posix.c:228
#2  0x00007f2584c3b6da in g_main_context_prepare
(context=context at entry=0x7f25600009a0, priority=priority at entry=0x7f256f183c18)
at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3417
#3  0x00007f2584c3be3e in g_main_context_iterate
(context=context at entry=0x7f25600009a0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3714
#4  0x00007f2584c3c04c in g_main_context_iteration (context=0x7f25600009a0,
may_block=1) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#5  0x00007f258c9eb8ee in QEventDispatcherGlib::processEvents
(this=0x7f25600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f258c9bba2f in QEventLoop::processEvents
(this=this at entry=0x7f256f183d80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f258c9bbd10 in QEventLoop::exec (this=this at entry=0x7f256f183d80,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f258c8bdb80 in QThread::exec (this=this at entry=0x21b7390) at
thread/qthread.cpp:536
#9  0x00007f258c99d85f in QInotifyFileSystemWatcherEngine::run (this=0x21b7390)
at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f258c8c02dc in QThreadPrivate::start (arg=0x21b7390) at
thread/qthread_unix.cpp:338
#11 0x00007f2589a172da in start_thread (arg=0x7f256f184700) at
pthread_create.c:309
#12 0x00007f258badc32d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f2535ffb700 (LWP 24496)):
[KCrash Handler]
#6  0x00007f258ba26bf5 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f258ba28067 in __GI_abort () at abort.c:89
#8  0x00007f258c31ae05 in __gnu_cxx::__verbose_terminate_handler () at
/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f258c318ec6 in __cxxabiv1::__terminate (handler=<optimized out>) at
/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libstdc++-v3/libsupc++/eh_terminate.cc:40
#10 0x00007f258c318ef3 in std::terminate () at
/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libstdc++-v3/libsupc++/eh_terminate.cc:50
#11 0x00007f258c3191c5 in __cxxabiv1::__cxa_rethrow () at
/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libstdc++-v3/libsupc++/eh_throw.cc:116
#12 0x00007f258c8b3f6d in QThreadPoolThread::run (this=0x4e65750) at
concurrent/qthreadpool.cpp:114
#13 0x00007f258c8c02dc in QThreadPrivate::start (arg=0x4e65750) at
thread/qthread_unix.cpp:338
#14 0x00007f2589a172da in start_thread (arg=0x7f2535ffb700) at
pthread_create.c:309
#15 0x00007f258badc32d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f25197fa700 (LWP 24504)):
#0  0x00007f2589a19877 in __GI___pthread_mutex_lock (mutex=0x7f25680998f0) at
../nptl/pthread_mutex_lock.c:125
#1  0x00007f2584c7dfb1 in g_mutex_lock (mutex=<optimized out>) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gthread-posix.c:209
#2  0x00007f2584c3be15 in g_main_context_iterate
(context=context at entry=0x7f2568099500, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3701
#3  0x00007f2584c3c04c in g_main_context_iteration (context=0x7f2568099500,
may_block=1) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#4  0x00007f258c9eb8ee in QEventDispatcherGlib::processEvents
(this=0x7f25680aabc0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f258c9bba2f in QEventLoop::processEvents
(this=this at entry=0x7f25197f9d50, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f258c9bbd10 in QEventLoop::exec (this=this at entry=0x7f25197f9d50,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f25900c8f2b in Digikam::WorkerObjectRunnable::run (this=0x778cc00)
at
/portage_builddir/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f258c8b3dbb in QThreadPoolThread::run (this=0x4e679d0) at
concurrent/qthreadpool.cpp:107
#9  0x00007f258c8c02dc in QThreadPrivate::start (arg=0x4e679d0) at
thread/qthread_unix.cpp:338
#10 0x00007f2589a172da in start_thread (arg=0x7f25197fa700) at
pthread_create.c:309
#11 0x00007f258badc32d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2592a77840 (LWP 24459)):
#0  pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f258c8c0873 in wait (time=18446744073709551615, this=0x229cc60) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x251ea00, mutex=0x251e9d8,
time=time at entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f258c8b35c7 in QThreadPoolPrivate::waitForDone (this=0x251e950,
msecs=msecs at entry=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007f258c8b5045 in QThreadPool::~QThreadPool (this=0x251ce30,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007f258c8b5089 in QThreadPool::~QThreadPool (this=0x251ce30,
__in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007f258c9cf781 in QObjectPrivate::deleteChildren
(this=this at entry=0x21776b0) at kernel/qobject.cpp:1907
#7  0x00007f258c9d63a6 in QObject::~QObject (this=0x24ebed0,
__in_chrg=<optimized out>) at kernel/qobject.cpp:926
#8  0x00007f25900c8827 in ~ThreadManagerCreator (this=0x24ebed0,
__in_chrg=<optimized out>) at
/portage_builddir/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/libs/threads/threadmanager.cpp:236
#9  destroy () at
/portage_builddir/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/libs/threads/threadmanager.cpp:241
#10 0x00007f258ba29771 in __run_exit_handlers (status=1, listp=0x7f258bd945c8
<__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#11 0x00007f258ba297f5 in __GI_exit (status=<optimized out>) at exit.c:104
#12 0x00007f258d44fca8 in qt_xio_errhandler () at
kernel/qapplication_x11.cpp:772
#13 0x00007f258e113ba0 in KApplication::xioErrhandler (this=0x7fff2e5487d0,
dpy=0x208d090) at
/portage_builddir/portage/kde-base/kdelibs-4.12.5-r2/work/kdelibs-4.12.5/kdeui/kernel/kapplication.cpp:419
#14 0x00007f2589fb414e in _XIOError (dpy=0x208d090) at
/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c:1498
#15 0x00007f2589fb1b9d in _XEventsQueued (dpy=0x208d090, mode=<optimized out>)
at /tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c:366
#16 0x00007f2589fa338f in XEventsQueued (dpy=0x208d090, mode=2) at
/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/Pending.c:43
#17 0x00007f258d485ffc in x11EventSourceCheck (s=0x2086820) at
kernel/qguieventdispatcher_glib.cpp:85
#18 0x00007f2584c3b998 in g_main_context_check
(context=context at entry=0x2088590, max_priority=0, fds=fds at entry=0x62d9290,
n_fds=n_fds at entry=10) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3575
#19 0x00007f2584c3beb5 in g_main_context_iterate
(context=context at entry=0x2088590, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3731
#20 0x00007f2584c3c04c in g_main_context_iteration (context=0x2088590,
may_block=1) at
/portage_builddir/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#21 0x00007f258c9eb8bc in QEventDispatcherGlib::processEvents (this=0x1ffad90,
flags=...) at kernel/qeventdispatcher_glib.cpp:450
#22 0x00007f258d486586 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f258c9bba2f in QEventLoop::processEvents
(this=this at entry=0x7fff2e5481c0, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f258c9bbd10 in QEventLoop::exec (this=this at entry=0x7fff2e5481c0,
flags=...) at kernel/qeventloop.cpp:204
#25 0x00007f258c9c0fc8 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1221
#26 0x00007f258d3e363c in QApplication::exec () at kernel/qapplication.cpp:3823
#27 0x000000000049d7b8 in main (argc=5, argv=0x7fff2e548a08) at
/portage_builddir/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/digikam/main/main.cpp:236

The reporter indicates this bug may be a duplicate of or related to bug 330282.

Possible duplicates by query: bug 336275, bug 334929, bug 333095, bug 332381,
bug 330282.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list