[Digikam-devel] [digikam] [Bug 317413] digiKam crashed while tagging faces

Michal Sylwester msylwester at gmail.com
Mon Jan 20 03:08:55 GMT 2014


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

--- Comment #26 from Michal Sylwester <msylwester at gmail.com> ---
It's not a crash, but may be close enough...
I'm running full maintenance (rescan all pictures, detect faces and so on), and
I've noticed strange memory behavior, with usage spiking sometimes to around
4G. For not memory packed systems this could lead to crash. 

For me memory usage stays at some level for some time, then changes rapidly to
some other level, and stays there again. The times and amounts vary, sometimes
it fluctuates around some amount, sometimes stays stuck for few minutes without
any change. The usage ranges for me from 1.3G up to 3.7G (when I was taking
notes...), and changes rapidly: can grow for some time by 100M/sec, than drop
500M, then grow again. Most of the time it is in around 2G for me.

I'm not sure how to collect any logs for this if there are any ideas, let me
know.

I tried to grab backtrace from one of the worker threads, but I'm not sure
whether it will help
#0  0x00007f67c9a9ac1e in ?? () from /usr/lib/libopencv_objdetect.so.2.4
#1  0x00007f67c9a9b633 in cvRunHaarClassifierCascade () from
/usr/lib/libopencv_objdetect.so.2.4
#2  0x00007f67c9a9b7a3 in
cv::HaarDetectObjects_ScaleCascade_Invoker::operator()(cv::Range const&) const
() from /usr/lib/libopencv_objdetect.so.2.4
#3  0x00007f67cfc3b110 in ?? () from /usr/lib/libopencv_core.so.2.4
#4  0x00007f67c6f06aea in ?? () from /usr/lib/libtbb.so.2
#5  0x00007f67c6f04f40 in ?? () from /usr/lib/libtbb.so.2
#6  0x00007f67cfc3b351 in cv::parallel_for_(cv::Range const&,
cv::ParallelLoopBody const&, double) () from /usr/lib/libopencv_core.so.2.4
#7  0x00007f67c9a9d72b in cvHaarDetectObjectsForROC(void const*,
CvHaarClassifierCascade*, CvMemStorage*, std::vector<int, std::allocator<int>
>&, std::vector<double, std::allocator<double> >&, double, int, int, CvSize,
CvSize, bool) () from /usr/lib/libopencv_objdetect.so.2.4
#8  0x00007f67c9ac51a3 in cv::CascadeClassifier::detectMultiScale(cv::Mat
const&, std::vector<cv::Rect_<int>, std::allocator<cv::Rect_<int> > >&,
std::vector<int, std::allocator<int> >&, std::vector<double,
std::allocator<double> >&, double, int, int, cv::Size_<int>, cv::Size_<int>,
bool) () from /usr/lib/libopencv_objdetect.so.2.4
#9  0x00007f67c9ab513b in cv::CascadeClassifier::detectMultiScale(cv::Mat
const&, std::vector<cv::Rect_<int>, std::allocator<cv::Rect_<int> > >&, double,
int, int, cv::Size_<int>, cv::Size_<int>) () from
/usr/lib/libopencv_objdetect.so.2.4
#10 0x00007f67d14eed20 in KFaceIface::OpenCVFaceDetector::cascadeResult
(this=0x7f673acd4b10, inputImage=..., cascade=..., params=...)
    at
/home/msylw/devel/digikam/dk/extra/libkface/libkface/detection/opencvfacedetector.cpp:440
#11 0x00007f67d14f058c in KFaceIface::OpenCVFaceDetector::detectFaces
(this=0x7f673acd4b10, inputImage=..., originalSize=...)
    at
/home/msylw/devel/digikam/dk/extra/libkface/libkface/detection/opencvfacedetector.cpp:720
#12 0x00007f67d14ea281 in KFaceIface::FaceDetector::detectFaces
(this=0x7315988, image=..., originalSize=...) at
/home/msylw/devel/digikam/dk/extra/libkface/libkface/facedetector.cpp:154
#13 0x00000000007195d5 in Digikam::DetectionWorker::process (this=0x7315970,
package=...) at
/home/msylw/devel/digikam/dk/core/utilities/facemanagement/facepipeline.cpp:483
#14 0x0000000000716346 in Digikam::DetectionWorker::qt_static_metacall
(_o=0x7315970, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1214e580)
    at /home/msylw/devel/digikam/dk/build/core/digikam/facepipeline_p.moc:318
#15 0x00007f67ccf54dce in QObject::event (this=0x7315970, e=<optimized out>) at
kernel/qobject.cpp:1194
#16 0x00007f67d0665c11 in Digikam::WorkerObject::event (this=0x7315970,
e=0x96c6670) at
/home/msylw/devel/digikam/dk/core/libs/threads/workerobject.cpp:160

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



More information about the Digikam-devel mailing list