Bug 373500 - digicam segfaults when tagging face
Summary: digicam segfaults when tagging face
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 5.3.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-10 13:05 UTC by Lukas Winkler
Modified: 2016-12-10 13:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments
Example image (1.55 MB, image/jpeg)
2016-12-10 13:05 UTC, Lukas Winkler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Winkler 2016-12-10 13:05:58 UTC
Created attachment 102718 [details]
Example image

Hi,
I am using the digikam-5.3.0-01-x86-64.appimage with Debian Testing and GNOME.

While adding a name to a face on some* photos (it doesn't matter if I tag them at the unknown people tab or if I open the image in the preview and manually add a face tag). The moment I press "confirm" digicam crashes with a segfault. It seems that the change is saved.

* I am not sure with photos don't work, but it only happens on photos I took some years ago and I think they are all made by the same camera (Casio Exilim EX-Z57). 

Steps to reproduce:

I added one image as an attachment which always produces a crash.
* open the image in the preview
* "add a face tag"
* when adding a name to the tag and pressing "confirm" digikam should crash

If there is anything I can add to help resolving the bug, just mention it.

Terminal Log:
digikam.general: Scheduled to write
digikam.general: Found FacesEngine identity 45 for tag 158
digikam.general: Writting tags
digikam.general: -------------------------- New Keywords ("test")
digikam.metaengine: xmlACDSee "<Categories><Category Assigned=\"1\">test</Category></Categories>"
digikam.metaengine: MetaEngine::metadataWritingMode 0
digikam.metaengine: Will write Metadata to file "/media/daten/Bilderfestplatte/Dürnstein 08022007/Dürnstein 08022007 003.jpg"
digikam.metaengine: wroteComment:  true
digikam.metaengine: wroteEXIF:  true
digikam.metaengine: wroteIPTC:  true
digikam.metaengine: wroteXMP:  true
/tmp/.mount_KNNFtr/AppRun: line 35: 22117 Segmentation fault      digikam.wrapper $@
Comment 1 caulier.gilles 2016-12-10 13:14:02 UTC
It crash on Exiv2 shared lib.

It know that Exiv2 0.25 include in digiKam Linux AppImage 5.3.0 has long time problem with Casio image.

I created a new 5.4.0 AppImage with this time Exiv2 0.26-svn including more than 200 bugfixes. You can download it here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 2 Lukas Winkler 2016-12-10 13:29:21 UTC
Thanks for the really quick answer. 

That solved the problem.

Is the 5.4.0 appimage stable enough to use it instead of 5.3.0?
Comment 3 caulier.gilles 2016-12-10 13:33:24 UTC
yes, even it's a pre-release.

Note : 5.4.0 will have more than 60 bugfixes since 5.3.0.

Gilles Caulier