[Digikam-devel] [digikam] [Bug 338176] Face Recognition memory allocation crash application

Stephan Olbrich stephanolbrich at gmx.de
Sat Mar 21 19:01:11 GMT 2015


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

Stephan Olbrich <stephanolbrich at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stephanolbrich at gmx.de

--- Comment #56 from Stephan Olbrich <stephanolbrich at gmx.de> ---
I'm having the same problem or at least the memory-leak.
As soon as I use some face recognition feature, digikam fills the memory until
what seems to be the limit for my 32bit system. I get no crash though.
I use the packages from ppa.launchpad.net/philip5/extra/ubuntu/

I managed to get a valgrind output. This is the last part, I'll attach the
whole thing.
Unfortunatelly there are no debug-packages of libkface.

==12227== 1,110,977,532 bytes in 16,947 blocks are possibly lost in loss record
109,774 of 109,774
==12227==    at 0x402A17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==12227==    by 0x402C328: realloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==12227==    by 0x7158E5B: qRealloc(void*, unsigned int) (in
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.6)
==12227==    by 0x7162104: qUncompress(unsigned char const*, int) (in
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.6)
==12227==    by 0x591AE65: ??? (in /usr/lib/libkface.so.3.0.0)
==12227==    by 0x58EB14E: ??? (in /usr/lib/libkface.so.3.0.0)
==12227==    by 0x58DBB9C:
KFaceIface::RecognitionDatabase::Private::train(KFaceIface::OpenCVLBPHFaceRecognizer*,
QList<KFaceIface::Identity> const&, KFaceIface::TrainingDataProvider*, QString
const&) (in /usr/lib/libkface.so.3.0.0)
==12227==    by 0x58DC33C:
KFaceIface::RecognitionDatabase::train(QList<KFaceIface::Identity> const&,
KFaceIface::TrainingDataProvider*, QString const&) (in
/usr/lib/libkface.so.3.0.0)
==12227==    by 0x834EFE3:
Digikam::Trainer::process(QExplicitlySharedDataPointer<Digikam::FacePipelineExtendedPackage>)
(in /usr/bin/digikam)
==12227==    by 0x834F479: Digikam::Trainer::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (in /usr/bin/digikam)
==12227==    by 0x7282769: QMetaCallEvent::placeMetaCall(QObject*) (in
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.6)
==12227==    by 0x728A8C8: QObject::event(QEvent*) (in
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.6)
==12227== 
==12227== LEAK SUMMARY:
==12227==    definitely lost: 25,079 bytes in 108 blocks
==12227==    indirectly lost: 84,445 bytes in 4,975 blocks
==12227==      possibly lost: 1,194,355,851 bytes in 129,953 blocks
==12227==    still reachable: 273,164,475 bytes in 473,030 blocks
==12227==         suppressed: 0 bytes in 0 blocks
==12227== Reachable blocks (those to which a pointer was found) are not shown.
==12227== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==12227== 
==12227== For counts of detected and suppressed errors, rerun with: -v
==12227== ERROR SUMMARY: 6206 errors from 5654 contexts (suppressed: 0 from 0)

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



More information about the Digikam-devel mailing list