[Digikam-devel] [digikam] [Bug 335624] Digikam crash as I start a face recognition

guenter guenter.k at arcor.de
Sun Jun 1 20:49:26 BST 2014


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

guenter <guenter.k at arcor.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |guenter.k at arcor.de

--- Comment #2 from guenter <guenter.k at arcor.de> ---
OpenSuse 12.3, latest updates as of 1.6.2014

 digikam --version
Qt: 4.8.4
KDE Development Platform: 4.13.0
digiKam: 4.0.0

There are three radio buttons for face detection:
*detect
*detect and recognize
*recognize

Only "detect and recognize" set crashes. Both other two go through.

KDE-Crash Reporter does not work at the moment, digikam disapears simply after
crash.

This is what gdb says on crash:

OpenCV Error: Bad argument (This LBPH model is not computed yet. Did you call
the train method?) in predict, file
/home/abuild/rpmbuild/BUILD/digikam-4.0.0-rc/extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp,
line 324
digikam(12845)/KFACE: cv::Exception:
/home/abuild/rpmbuild/BUILD/digikam-4.0.0-rc/extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:324:
error: (-5) This LBPH model is not computed yet. Did you call the train method?
in function predict

<this message above several times>

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff757fa700 (LWP 12913)]
Digikam::FaceTags::getOrCreateTagForIdentity (attributes=...)
    at /usr/src/debug/digikam-4.0.0/core/libs/database/faces/facetags.cpp:286
286     /usr/src/debug/digikam-4.0.0/core/libs/database/faces/facetags.cpp:
Datei oder Verzeichnis nicht gefunden.

###

 bt                                                                             
#0  Digikam::FaceTags::getOrCreateTagForIdentity (attributes=...)
    at /usr/src/debug/digikam-4.0.0/core/libs/database/faces/facetags.cpp:286
#1  0x00000000006f4a37 in Digikam::DatabaseWriter::process (this=0x4b2d2d0, 
    package=...)
    at
/usr/src/debug/digikam-4.0.0/core/utilities/facemanagement/facepipeline.cpp:661
#2  0x00000000006f5264 in Digikam::DatabaseWriter::qt_static_metacall (
    _o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>)
    at /usr/src/debug/digikam-4.0.0/build/core/digikam/facepipeline_p.moc:494
#3  0x00007ffff295877e in QObject::event (this=0x4b2d2d0, e=<optimized out>)
    at kernel/qobject.cpp:1203
#4  0x00007ffff1a7086c in QApplicationPrivate::notify_helper (
    this=this at entry=0xcbc490, receiver=receiver at entry=0x4b2d2d0, e=e at entry=
    0x7fff68025970) at kernel/qapplication.cpp:4562
#5  0x00007ffff1a74ceb in QApplication::notify (this=this at entry=0x7fffffffd9d0, 
    receiver=receiver at entry=0x4b2d2d0, e=e at entry=0x7fff68025970)
    at kernel/qapplication.cpp:4423
#6  0x00007ffff33a6366 in KApplication::notify (this=0x7fffffffd9d0, 
    receiver=0x4b2d2d0, event=0x7fff68025970)
    at /usr/src/debug/kdelibs-4.13.0/kdeui/kernel/kapplication.cpp:311
#7  0x00007ffff2943d8e in QCoreApplication::notifyInternal
(this=0x7fffffffd9d0, 
    receiver=receiver at entry=0x4b2d2d0, event=event at entry=0x7fff68025970)
    at kernel/qcoreapplication.cpp:946
#8  0x00007ffff29476f1 in sendEvent (event=0x7fff68025970, receiver=0x4b2d2d0)
    at kernel/qcoreapplication.h:231
#9  QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0, 
    event_type=event_type at entry=0, data=0x3833190) at
kernel/qcoreapplication.cpp:1570
#10 0x00007ffff2947973 in QCoreApplication::sendPostedEvents (
    receiver=receiver at entry=0x0, event_type=event_type at entry=0)
    at kernel/qcoreapplication.cpp:1463
#11 0x00007ffff2972133 in sendPostedEvents () at kernel/qcoreapplication.h:236
#12 postEventSourceDispatch (s=0x7fff40001d00) at
kernel/qeventdispatcher_glib.cpp:279
#13 0x00007fffea37b7d5 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#14 0x00007fffea37bb08 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fffea37bbc4 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#16 0x00007ffff29722c6 in QEventDispatcherGlib::processEvents
(this=0x7fff400008c0, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:424
#17 0x00007ffff2942adf in QEventLoop::processEvents
(this=this at entry=0x7fff757f9d20, 
    flags=...) at kernel/qeventloop.cpp:149
#18 0x00007ffff2942d68 in QEventLoop::exec (this=this at entry=0x7fff757f9d20,
flags=...)
    at kernel/qeventloop.cpp:204
#19 0x00007ffff563947b in Digikam::WorkerObjectRunnable::run (this=0x5b52130)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/digikam-4.0.0/core/libs/threads/threadmanager.cpp:196
#20 0x00007ffff283bc9d in QThreadPoolThread::run (this=0x3832ff0)
    at concurrent/qthreadpool.cpp:107
#21 0x00007ffff28480cc in QThreadPrivate::start (arg=0x3832ff0)
    at thread/qthread_unix.cpp:338
#22 0x00007fffef53ae0f in start_thread () from /lib64/libpthread.so.0
#23 0x00007ffff10ae44d in clone () from /lib64/libc.so.6

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



More information about the Digikam-devel mailing list