[Digikam-devel] [digikam] [Bug 323888] Face recognition makes digikam fill all the available memory
e.longuemare at laposte.net
e.longuemare at laposte.net
Wed Oct 2 09:06:05 BST 2013
https://bugs.kde.org/show_bug.cgi?id=323888
--- Comment #13 from e.longuemare at laposte.net ---
Created attachment 82602
--> https://bugs.kde.org/attachment.cgi?id=82602&action=edit
Crash after full fill the memory - valgrind log - run 2
Hello,
an other run in valgrind with the same result.
Hang from digikam in line 4189 and continue with a warning (always to the same
picture):
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave (QRect(32,224 217x217) )
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 0
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 297 297 searchIncrement 1.1 grouping 3
flags 0 min size 130 130
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 1
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 297 297 searchIncrement 1.1 grouping 3
flags 0 min size 130 130
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 2
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 3
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 297 297 searchIncrement 1.1 grouping 3
flags 0 min size 130 130
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 4
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 297 297 searchIncrement 1.1 grouping 3
flags 0 min size 130 130
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 5
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: feature
QRectF(0,0 0.6x0.6) QRect(32,224 217x217) QRect(32,224 130x130)
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 130 130 searchIncrement 1.1 grouping 2
flags 0 min size 22 22
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 6
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: feature
QRectF(0.4,0 0.6x0.6) QRect(32,224 217x217) QRect(119,224 130x130)
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 130 130 searchIncrement 1.1 grouping 2
flags 0 min size 22 22
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 7
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: feature
QRectF(0.2,0.25 0.6x0.6) QRect(32,224 217x217) QRect(75,278 130x130)
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 130 130 searchIncrement 1.1 grouping 2
flags 0 min size 22 22
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: Verifying face
QRect(32,224 217x217) using cascade 8
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::verifyFace: feature
QRectF(0.1,0.4 0.8x0.6) QRect(32,224 217x217) QRect(54,311 174x130)
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 174 130 searchIncrement 1.1 grouping 2
flags 0 min size 0 0
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/digikam (core) Digikam::DetectionWorker::process: Found 0 faces
in "IMG_7905.jpg" QSize(4272, 2848) QSize(4272, 2848)
<---HERE--> HANG FOR PAST AN HOUR and continue-
==2423== Warning: set address range perms: large range [0x49dc6028, 0x5a827018)
(undefined)
==2423== Warning: set address range perms: large range [0x49dc6018, 0x5a827028)
(noaccess)
<---HERE-->
Crash to line 5839 :
digikam(2423)/digikam (core) Digikam::DetectionWorker::process: Found 0 faces
in "IMG_2479.CR2" QSize(4272, 2848) QSize(4272, 2848)
digikam(2423)/digikam (core) Digikam::FacePipeline::Private::checkFinished:
Check for finish: 51 packages, 0 infos to filter, hasFinished() false
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 800 533 searchIncrement 1.1 grouping 3
flags 1 min size 26 26
digikam(2423)/digikam (core) Digikam::DMetadata::getIccProfile: Exif
color-space tag is sRGB. Using default sRGB ICC profile.
digikam(2423)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation => 1
<--CRASH-->
==2423== Thread 7:
==2423== Invalid read of size 4
==2423== at 0x4D7C89A: Digikam::DImg::DImg(QImage const&) (dimg.cpp:165)
==2423== by 0x4F54D7C: Digikam::PreviewLoadingTask::execute()
(previewtask.cpp:288)
==2423== by 0x4F44204: Digikam::LoadSaveThread::run()
(loadsavethread.cpp:136)
==2423== by 0x4F6BD57: Digikam::DynamicThread::DynamicThreadPriv::run()
(dynamicthread.cpp:186)
==2423== by 0x6A1246A: QThreadPoolThread::run() (in
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.2)
==2423== by 0x6A1FEAF: QThreadPrivate::start(void*) (in
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.2)
==2423== by 0x96CCD4B: start_thread (pthread_create.c:308)
==2423== by 0x6F34DDD: clone (clone.S:130)
==2423== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==2423==
KCrash: Application 'digikam' crashing...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list