[Digikam-devel] [digikam] [Bug 326019] digiKam crashes while face tagging

Gilles Caulier caulier.gilles at gmail.com
Sun Jul 6 19:18:48 BST 2014


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

Gilles Caulier <caulier.gilles at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |4.2.0
         Resolution|BACKTRACE                   |FIXED

--- Comment #2 from Gilles Caulier <caulier.gilles at gmail.com> ---
New pre-version of digiKam 4.2.0 windows installer is available here.

https://drive.google.com/file/d/0B7yq-xFihT0_TTZTaXlUaExlaWs/edit?usp=sharing

I recently released 4.1.0 installer which is available in offcial KDE download
repository, but this version crash immediately when face detection is started.

Crash appear when loading haar cascade XML files. There is no reason for
that...
The crash  is inside core of OpenCV. This is not a problem relevant of digiKam.
I'm sure, i found partially why :

Originally, OpenCV have been compiled using minimal options enabled, to
optimize install. This is the case of 4.1.0 where OpenCV 2.4.9 is installed as
shared lib.

Trying to find the problem using small libkface tests program, i finally tried
to recompile and install whole OpenCV with all options enabled. And all work
fine...

I also check if face tagging crash digiKam. It don't...

So to conclude : OpenCV is a big mess puzzle, providing around 30 optional
features. Playing with this options as side effect due to internal
dependencies. OpenCV is really weird here.

For me this problem is an important UPSTREAM dysfunction which must be reported
to OpenCV team.

I don't know about Linux and OSX, but there is a big chance that similar
problem will appear if OpenCV compilation options are enabled or disabled...

digiKam 4.2.0 running Face Detection under Windows 7 :

https://www.flickr.com/photos/digikam/14402474860/sizes/o/

So to all packagers, please take a care about OpenCV packages.

Thanks in advance.

Gilles Caulier

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



More information about the Digikam-devel mailing list