Bug 407947 - Crash while updating fingerprints.
Summary: Crash while updating fingerprints.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Similarity (show other bugs)
Version: 6.2.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-25 17:19 UTC by MarcP
Modified: 2020-08-10 10:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2019-05-25 17:19:11 UTC
SUMMARY

Digikam crashed when updating the fingerprints (reached 73%). 
Here's the console full output with the backtrace:
https://drive.google.com/open?id=1wgXbgOofUZW8Q9_yCZbRfs--wItl8NXX


STEPS TO REPRODUCE
1. Go to the Similarity panel. 
2. Click on Update fingerprints.


SOFTWARE/OS VERSIONS
Ubuntu 18.04 with Gnome
digikam-6.2.0-git-20190522T104638-qtwebkit-x86-64.appimage
Comment 1 Maik Qualmann 2019-05-25 17:32:20 UTC
ImageMagick crashes while trying to load an MP3 audio file...

Maik
Comment 2 MarcP 2019-05-25 17:35:36 UTC
"Unsupported image format". Well, yeah.

Why with that file in particular? Couldn't digikam skip non-picture files?
Comment 3 Maik Qualmann 2019-05-25 21:01:57 UTC
The creation of fingerprints actually only searches images. For some reason the MP3 files have be stored in the database as image. No matter, the ImageMagick loader does filter now all not images.

Maik
Comment 4 Maik Qualmann 2019-05-25 21:04:27 UTC
Git commit 157f9427e963b12a73b8d6fe15176c9de6c87cce by Maik Qualmann.
Committed on 25/05/2019 at 21:03.
Pushed by mqualmann into branch 'master'.

only images for ImageMagick loader
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +11   -0    core/libs/dimg/loaders/magickloader.cpp
M  +1    -1    core/libs/threadimageio/thumb/thumbnailcreator.cpp

https://invent.kde.org/kde/digikam/commit/157f9427e963b12a73b8d6fe15176c9de6c87cce