Summary: | Face detection | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | forenmail222 |
Component: | Faces-Detection | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, midoilfan, minterior, pblankes, rmanderson45 |
Priority: | NOR | ||
Version: | 3.3.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.1.0 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
forenmail222
2012-10-26 05:58:52 UTC
Crash appears in Exiv2 shared library. Go to Help/Components Info dialog and Copy & Paste content here... Gilles Caulier Created attachment 76072 [details]
New crash information added by DrKonqi
digikam (2.5.0) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1
- What I was doing when the application crashed: I was trying out the face recognition in digikam feature for the first time -- building the data base of photos with faces. I have over 30K photos. I was not there when when the crach happened, but the last time I checked it was about 75% complete (after about 3 hours).
-- Backtrace (Reduced):
#6 0x00007f42981ed425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7 0x00007f42981f0b8b in __GI_abort () at abort.c:91
[...]
#12 0x00007f429c44f5e1 in Digikam::LoadingCache::notifyNewLoadingProcess (this=0x225dde0, process=0x71b76b8, description=...) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/loadingcache.cpp:247
#13 0x00007f429c45abdf in Digikam::PreviewLoadingTask::execute (this=0x71b74e0) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/previewtask.cpp:172
#14 0x00007f429c44368e in Digikam::LoadSaveThread::run (this=0x71e89c0) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/loadsavethread.cpp:118
*** Bug 318640 has been marked as a duplicate of this bug. *** Created attachment 81899 [details]
New crash information added by DrKonqi
digikam (3.3.0) on KDE Platform 4.11.00 using Qt 4.8.4
- What I was doing when the application crashed:
Every time I try to scan for face detection my collection of thousand pictures (+20k), my RAM memory is filled up quickly until it is full and then starts with the swap bringing the system very slow. The same occurs if just playing with assigned face tags (confirming them, removing, creating new ones...).
-- Backtrace (Reduced):
#6 0x00007f0ce76df037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7 0x00007f0ce76e2698 in __GI_abort () at abort.c:90
[...]
#12 0x00007f0ce858770d in QThreadPoolThread::run (this=0x3932100) at concurrent/qthreadpool.cpp:114
#13 0x00007f0ce8593bec in QThreadPrivate::start (arg=0x3932100) at thread/qthread_unix.cpp:338
#14 0x00007f0ce2ae7f8e in start_thread (arg=0x7f0caa573700) at pthread_create.c:311
digiKam 4.0.0 is out : http://www.digikam.org/node/713 Please check if this entry still valid with this new version. Thanks in advance Gilles Caulier With next digiKam 4.1.0, i fixed libkface to handle all C++ exception (and not only OpenCV exception). So, at least, digiKam must crash lesser now. If you want to review this entry again, use current implementation from git/master, or wait next 4.1.0 release... Thanks to update your feedback Gilles Caulier Git commit fa909aa96e7e41225551cd9e866618717f1ea546 by Gilles Caulier. Committed on 11/06/2014 at 21:06. Pushed by cgilles into branch 'master'. use a better C++ exception wrapper to handle non OpenCV exceptions (as pure C++ one) Related: bug 335624, bug 330342, bug 329873, bug 326742, bug 326586, bug 326585, bug 324774, bug 323888, bug 323361, bug 320812, bug 312440, bug 308645, bug 301611, bug 297558, bug 285517 M +4 -0 libkface/facedetector.cpp M +17 -2 libkface/recognitiondatabase.cpp http://commits.kde.org/libkface/fa909aa96e7e41225551cd9e866618717f1ea546 Git commit 4662dd94102f8144bc65ce1cb66d6b6cb1d500fd by Gilles Caulier. Committed on 18/06/2014 at 14:22. Pushed by cgilles into branch 'master'. Libkface now depand of last stable OpenCV library version 2.4.9 This prevent internal crash int Cv:Algorithm that we cannot handle in libkface as exception. Now, Face Recognition do not crash but still report Exception at training operations, especially about wrong Cv:Matrix size : digikam(8673)/digikam (core) Digikam::DImg::load:"/mnt/data2/photos/GILLES/NEW/Adrien/2010-04-13/20100413_009.jpg" : JPEG file identified OpenCV Error: Assertion failed (0 <= _dims && _dims <= CV_MAX_DIM) in setSize, file /mnt/devel/opencv/modules/core/src/matrix.cpp, line 89 digikam(8673)/KFACE: cv::Exception training LBPH: /mnt/devel/opencv/modules/core/src/matrix.cpp:89: error: (-215) 0 <=_dims && _dims <= CV_MAX_DIM in function setSize It still a problem somwhere, but it's better than previous state. Related: bug 335624, bug 330342, bug 329873, bug 326742, bug 326586, bug 326585, bug 324774, bug 323888, bug 323361, bug 320812, bug 312440, bug 308645, bug 301611, bug 297558, bug 285517 M +1 -1 CMakeLists.txt http://commits.kde.org/libkface/4662dd94102f8144bc65ce1cb66d6b6cb1d500fd Git commit 1fff86f31e3bf47a2a2cfa6eaa98bb1bdf1a863b by Gilles Caulier. Committed on 24/06/2014 at 12:32. Pushed by cgilles into branch 'master'. add more test before to commit/checkout compressed histogram data in Face database, to prevent crashes, especially if data are corrupted from database. Related: bug 335624, bug 330342, bug 329873, bug 326742, bug 326586, bug 326585, bug 324774, bug 323888, bug 320812, bug 312440, bug 308645, bug 301611, bug 297558, bug 285517 M +62 -28 libkface/database/trainingdb.cpp http://commits.kde.org/libkface/1fff86f31e3bf47a2a2cfa6eaa98bb1bdf1a863b With next digiKam 4.1.0, a lots of improvements/fixes have be done around face management. Please give us a fresh feedback. Note i recommend to delete face recognition database to prevent dysfunction due to possible wrong data store in this container. Look where file is located in my computer : [gilles@localhost database]$ pwd /home/gilles/.kde4/share/apps/libkface/database [gilles@localhost database]$ ls -al total 397028 drwx------ 2 gilles gilles 4096 juin 24 14:22 ./ drwx------ 3 gilles gilles 4096 juin 18 19:08 ../ -rw-r--r-- 1 gilles gilles 406543360 juin 24 14:22 recognition.db [gilles@localhost database]$ We need a fresh feedback of this file using last digiKam 4.2.0 Gilles Caulier New digiKam 4.11.0 is available with official PKG installer for OSX. https://www.digikam.org/node/740 Can you reproduce the problem with this release ? digiKam 4.12.0 is out : https://www.digikam.org/node/741 We need a fresh feedback using this release please... Thanks in advance. Gilles Caulier With next 5.1.0 release, a lots of investigations have be done around OpenCV face module integration with digiKam Face Engine. See bug #365202 history for details. I close this file now. Don't hesistate to re-open if necessary. Gilles Caulier |