SUMMARY *** Digikam crash each time it tries to add a face tag to a picture (when drawing yourself a face tag or when running auto-detect). System: Manjaro with Digikam 7.9.0-4. Reverted back to an older revision but the crash kept occuring. Might be related to a dependance. *** STEPS TO REPRODUCE 1. Launch Digikam. Display a JPG. 2. Click on "Adding a face", draw the face. Choose the name. 3. When the name is validated, Digikam freezes then crash (close). 4. However, when relaunching Digikam, the face has been added to the JPG metadata. So I can continue tagging faces but only one at time (Digikam crashing between each face). Message in terminal: /usr/include/c++/12.2.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = float; _Alloc = std::allocator<float>; reference = float&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. SOFTWARE/OS VERSIONS Manjaro Linux with Cinnamon desktop Linux : 5.10.167-1-MANJARO Cinnamon : 5.6.7 Digikam : 5.7.0-4 ADDITIONAL INFORMATION
Which opencv library version did you use ? Take a look to Help/Components Info dialog for details.
I have LibOpenCV: 4.7.0 XMP SDK: 5.6.0 Qt WebEngine version: 5.15.12 Qt: 5.15.8 Marble: 22.12.0 Libx265: 3.5 LibTIFF: 4.5.0 LibRaw: 0.21.0 LibQtAV: 1.13.0 LibPNG: 1.6.39 LibPGF: 7.21.07 LibOpenCV: 4.7.0 LibLCMS: 2140 LibJPEG: 80 LibJasper: 4.0.0 LibHEIF: 1.14.1 LibGphoto2: 2.5.30 LibCImg: 130 LibAVUtil: 57.28.100 LibAVFormat: 59.27.100 LibAVCodec: 59.37.100 LensFun: 0.3.3-0 KF5: 5.101.0 ImageMagick codecs: 7.1.0 Exiv2: 0.27.6 ExifTool: 12.50 Eigen: 3.4.0 DNG SDK: 1.5.1
From "opencv 4.7.0-1" in the MANJARO software base. There are also a "opencv-cuda 4.7.0-1" which is not installed.
opencv is the problem there is a bug in 4.7.0 release. *** This bug has been marked as a duplicate of bug 464646 ***
Ok duplicate. I'm sorry for the inconveniance. Still I made several research before submitting with "face tag crash", "face detection crash", "face crash", "face database crash" and found nothing similar. "Crash" was the word too many.