Bug 375980 - Core dump when adding two keywords to an image that only differ in capitalization
Summary: Core dump when adding two keywords to an image that only differ in capitaliza...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 5.5.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 23:26 UTC by Dan Dascalescu
Modified: 2020-08-29 20:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2017-02-03 23:26:07 UTC
I've imported a bunch of images that came with shoddy keywords. Some of them are the same if you lowercase them, and differ only in capitalization, e.g. "victory" and "Victory". For certain letters, this is hard to see (c & C, k & K, v & V etc.)

After adding two of these keywords to an image, digiKam crashed. Here's the console log:

digikam.general: -------------------------- New Keywords ("victory", "Victory")
digikam.metaengine: xmlACDSee "<Categories><Category Assigned=\"1\">victory</Category><Category Assigned=\"1\">Victory</Category></Categories>"
digikam.metaengine: "/c/download/inspiration/5db18069090e7ee77996d2aa6ad11919.jpg"  ==> Read Iptc Keywords:  ()
digikam.metaengine: "/c/download/x/inspiration/5db18069090e7ee77996d2aa6ad11919.jpg"  ==> New Iptc Keywords:  ("victory", "Victory")
digikam.metaengine: MetaEngine::metadataWritingMode 0
digikam.metaengine: Will write Metadata to file "/c/download/inspiration/5db18069090e7ee77996d2aa6ad11919.jpg"
digikam.metaengine: wroteComment:  true
digikam.metaengine: wroteEXIF:  true
digikam.metaengine: wroteIPTC:  true
digikam.metaengine: wroteXMP:  true
/tmp/.mount_bZcjjb/AppRun: line 70: 14725 Segmentation fault      (core dumped) digikam.wrapper $@
Comment 1 caulier.gilles 2017-02-04 03:58:01 UTC
Please try to reproduce the crash in GDB with AppImage.

To do it, run the AppImage file from a console with the argument "debug". 
This will run digiKam in GDB. When it crash, just use "bt" command in GDB prompt.

For more information about AppImage bundle options, use "help" as argument.

Gilles Caulier
Comment 2 caulier.gilles 2018-08-28 13:48:20 UTC
Problem still reproducible with AppImage bundle 6.0.0-beta1 available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 3 caulier.gilles 2019-03-07 13:42:53 UTC
Dan,

Can you reproduce the problem using 6.1.0 pre-release bundle ?

Gilles Caulier
Comment 4 caulier.gilles 2019-03-07 13:43:27 UTC
I forget : files are here:

https://files.kde.org/digikam/

Gilles Caulier
Comment 5 caulier.gilles 2019-03-20 15:16:08 UTC
After 3 weeks of work, i finally completed the compilation of AppImage using Qt
5.11.3 + QWebkit 5.212.

New 6.1.0 pre-release AppImage bundle can be found here (64 bits only for the
moment) :

https://files.kde.org/digikam/

Please check if this bugzilla entry still valid.

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2020-08-01 22:02:33 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 7 caulier.gilles 2020-08-29 20:26:25 UTC
Not reproducible here with 7.1.0. I close this file now.
Reopen this file if necessary