[Digikam-devel] [digikam] [Bug 323888] Face recognition makes digikam fill all the available memory
e.longuemare at laposte.net
e.longuemare at laposte.net
Tue Oct 1 14:59:55 BST 2013
https://bugs.kde.org/show_bug.cgi?id=323888
--- Comment #10 from e.longuemare at laposte.net ---
Hello,
Here some more info :
Reproducible : yes
How : restart computer (freeing memory, cache ..), then launch digikam in gdb
(nothing else except a top in terminal), wait a few minutes while scanning
pictures for faces (skip images already scan).
Res memory grow to 1.2 1.5 gb (60%) when scan is launched.
then swap is used, swap and load grow (especially with raw files). Then
digikam crash with error behind :
dbg :
[New Thread 0x95db7b40 (LWP 2642)]
digikam(2423)/digikam (core) Digikam::FacePipeline::Private::checkFinished:
Check for finish: 51 packages, 0 infos to filter, hasFinished() false
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
digikam(2423)/digikam (core) Digikam::DMetadata::getIccProfile: Exif
color-space tag is sRGB. Using default sRGB ICC profile.
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 800 533 searchIncrement 1.1 grouping 3
flags 1 min size 26 26
digikam(2423)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation => 1
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/digikam (core) Digikam::DetectionWorker::process: Found 0 faces
in "IMG_2467.CR2" QSize(4272, 2848) QSize(4272, 2848)
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
digikam(2423)/digikam (core) Digikam::FacePipeline::Private::checkFinished:
Check for finish: 51 packages, 0 infos to filter, hasFinished() false
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
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale: image size 800 533 searchIncrement 1.1 grouping 3
flags 1 min size 26 26
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/digikam (core) Digikam::DetectionWorker::process: Found 0 faces
in "IMG_2468.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
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
digikam(2423)/KFACE KFaceIface::OpenCVFaceDetector::cascadeResult:
detectMultiScale gave ()
digikam(2423)/digikam (core) Digikam::DetectionWorker::process: Found 0 faces
in "IMG_2469.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
error :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x94db5b40 (LWP 2502)]
0xb6efd89a in Digikam::DImg::DImg (this=0x94db5124, image=...)
at /home/eric/digikamgit/dk/core/libs/dimg/dimg.cpp:165
165 dptr[0] = qBlue(*sptr);
(gdb) backtrace :
#0 0xb6efd89a in Digikam::DImg::DImg (this=0x94db5124, image=...)
at /home/eric/digikamgit/dk/core/libs/dimg/dimg.cpp:165
#1 0xb70d5d7d in Digikam::PreviewLoadingTask::execute (this=0xaca8d38)
at /home/eric/digikamgit/dk/core/libs/threadimageio/previewtask.cpp:288
#2 0xb70c5205 in Digikam::LoadSaveThread::run (this=0xb033c38)
at /home/eric/digikamgit/dk/core/libs/threadimageio/loadsavethread.cpp:136
#3 0xb70ecd58 in Digikam::DynamicThread::DynamicThreadPriv::run (
this=0xb033cd0)
at /home/eric/digikamgit/dk/core/libs/threads/dynamicthread.cpp:186
#4 0xb53d446b in QThreadPoolThread::run (this=0x96bc2a0)
at concurrent/qthreadpool.cpp:107
#5 0xb53e1eb0 in QThreadPrivate::start (arg=0x96bc2a0)
at thread/qthread_unix.cpp:307
#6 0xb36c1d4c in start_thread (arg=0x94db5b40) at pthread_create.c:308
#7 0xb510fdde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list