STEPS TO REPRODUCE 1. Run maintenance on Build date: 9/26/22 3:32 AM (target: RelWithDebInfo) Revision: 266ad6f694bec8083e7d9d09ba4c46ace6313052 Branch: qt5-maintenance 2. Check rebuild fingerprints 3. Kaboom after while amount of time, probably bad webp image 4. Here is it that little boi from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" - https://share.schonmann.eu/m08pcw.webp OBSERVED RESULT Digikam::FingerprintsTask::run: Updating fingerprints for file: "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr" Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load metadata with Exiv2: (Error # 11 : "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr: The file contains data of an unknown image type" Digikam::DRawDecoder::rawFileIdentify: LibRaw: failed to run open_file: Unsupported file format or not RAW file Digikam::DRawDecoder::loadEmbeddedPreview: LibRaw: loadEmbeddedPreview from "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr" Digikam::DRawDecoder::loadEmbeddedPreview: LibRaw: failed to run open_file: Unsupported file format or not RAW file Digikam::DRawDecoder::loadEmbeddedPreview: Failed to load embedded RAW preview Digikam::DRawDecoder::loadHalfPreview: Try to use reduced RAW picture extraction "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr" Digikam::DRawDecoder::loadHalfPreview: LibRaw: failed to run open_file: Unsupported file format or not RAW file Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load metadata from file with Exiv2 backend: /mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr (Error # 11 : "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr: The file contains data of an unknown image type" Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr" Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/mnt/snorlax/Photos/Peta/2013-03-03/[Group 2]-_DSC0012__DSC0022-11 images.hdr" [Thread 0x7fff67b35640 (LWP 82237) exited] [Thread 0x7fff66b33640 (LWP 82240) exited] [New Thread 0x7fff66b33640 (LWP 82555)] bt[Thread 0x7fff66b33640 (LWP 82555) exited] [New Thread 0x7fff66b33640 (LWP 82664)] [Thread 0x7fff66b33640 (LWP 82664) exited] Digikam::FingerprintsTask::run: Updating fingerprints for file: "/home/pschonmann/Obrázky/optiky_kabely_wiki/FiberChart_1024x1024.webp" Digikam::PreviewLoadingTask::execute: Try to get preview from "/home/pschonmann/Obrázky/optiky_kabely_wiki/FiberChart_1024x1024.webp" Digikam::PreviewLoadingTask::execute: Preview quality: 0 Digikam::FingerprintsTask::run: Updating fingerprints for file: "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" Digikam::PreviewLoadingTask::execute: Try to get preview from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" Digikam::PreviewLoadingTask::execute: Preview quality: 0 Digikam::FingerprintsTask::run: Updating fingerprints for file: "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleModeMultimodeSummary_1024x1024.webp" Digikam::PreviewLoadingTask::execute: Try to get preview from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleModeMultimodeSummary_1024x1024.webp" Digikam::PreviewLoadingTask::execute: Preview quality: 0 Digikam::FingerprintsTask::run: Updating fingerprints for file: "/home/pschonmann/Obrázky/optiky_kabely_wiki/WaveDif2_grande.webp" Digikam::PreviewLoadingTask::execute: Try to get preview from "/home/pschonmann/Obrázky/optiky_kabely_wiki/WaveDif2_grande.webp" Digikam::PreviewLoadingTask::execute: Preview quality: 0 Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/FiberChart_1024x1024.webp" Digikam::PreviewLoadingTask::loadImagePreview: Try to load DImg preview from: "/home/pschonmann/Obrázky/optiky_kabely_wiki/FiberChart_1024x1024.webp" Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" Digikam::PreviewLoadingTask::loadImagePreview: Try to load DImg preview from: "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/WaveDif2_grande.webp" Digikam::PreviewLoadingTask::loadImagePreview: Try to load DImg preview from: "/home/pschonmann/Obrázky/optiky_kabely_wiki/WaveDif2_grande.webp" Digikam::DImg::load: "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" : "IMAGEMAGICK" file identified Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleModeMultimodeSummary_1024x1024.webp" Digikam::PreviewLoadingTask::loadImagePreview: Try to load DImg preview from: "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleModeMultimodeSummary_1024x1024.webp" Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleBandwidth_Chart2_1024x1024.webp" Digikam::DImg::load: "/home/pschonmann/Obrázky/optiky_kabely_wiki/WaveDif2_grande.webp" : "IMAGEMAGICK" file identified unknown: Try to load image with ImageMagick codecs Digikam::DImg::load: "/home/pschonmann/Obrázky/optiky_kabely_wiki/FiberChart_1024x1024.webp" : "IMAGEMAGICK" file identified Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/WaveDif2_grande.webp" unknown: Try to load image with ImageMagick codecs Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/FiberChart_1024x1024.webp" unknown: Try to load image with ImageMagick codecs Digikam::DImg::load: "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleModeMultimodeSummary_1024x1024.webp" : "IMAGEMAGICK" file identified Digikam::DMetadata::load: Loading metadata with "Exiv2" backend from "/home/pschonmann/Obrázky/optiky_kabely_wiki/SingleModeMultimodeSummary_1024x1024.webp" unknown: Try to load image with ImageMagick codecs Thread 64 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff64b2f640 (LWP 82316)] 0x00007ffff721af97 in ?? () from /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 (gdb) bt #0 0x00007ffff721af97 in () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 #1 0x00007ffff721bb45 in GetValueFromSplayTree () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 #2 0x00007ffff719a677 in GetMagickInfo () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 #3 0x00007ffff7185bc7 in () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 #4 0x00007ffff718d44d in SetImageInfo () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 #5 0x00007ffff7119652 in ReadImage () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagickCore-7.Q16.so.10 #6 0x00007ffff74ca0b8 in Magick::Image::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () at /tmp/.mount_digiKaxlzv5T/usr/lib/libMagick++-7.Q16.so.5 #7 0x00007fff8852bc97 in DigikamImageMagickDImgPlugin::DImgImageMagickLoader::load(QString const&, Digikam::DImgLoaderObserver*) (this=0x7fff48020070, filePath=..., observer=0x7fff64b2e1b0) at /b/qt5-maintenance/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/imagemagick/dimgimagemagickloader.cpp:95 #8 0x00007ffff646b140 in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&) (this=0x7fff64b2e370, filePath=..., loadFlagsInt=63, observer=0x7fff64b2e1b0, rawDecodingSettings=...) at /b/qt5-maintenance/dktemp/digikam-qt5-maintenance/core/libs/dimg/dimg_fileio.cpp:132 #9 0x00007ffff655593b in Digikam::PreviewLoadingTask::execute() (this=this@entry=0x7fff64b2e1a0) at /b/qt5-maintenance/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/preview/previewtask.cpp:315 #10 0x00007ffff6554424 in Digikam::PreviewLoadThread::loadSynchronously(Digikam::LoadingDescription const&) (description=<optimized out>) at /b/qt5-maintenance/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/preview/previewloadthread.cpp:151 #11 0x00007ffff65544a2 in Digikam::PreviewLoadThread::loadFastSynchronously(QString const&, int, Digikam::IccProfile const&) (filePath=..., size=128, profile=...) at /b/qt5-maintenance/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/preview/previewloadthread.cpp:124 #12 0x00007ffff799beff in Digikam::FingerprintsTask::run() (this=0x28806f0) at /b/qt5-maintenance/dktemp/digikam-qt5-maintenance/core/utilities/maintenance/fingerprintstask.cpp:108 #13 0x00007ffff3c0a9d1 in () at /tmp/.mount_digiKaxlzv5T/usr/lib/libQt5Core.so.5 #14 0x00007ffff3c0778d in () at /tmp/.mount_digiKaxlzv5T/usr/lib/libQt5Core.so.5 #15 0x00007ffff3641b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #16 0x00007ffff36d3a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
It crashes in ImageMagick. The WebP format should not be loaded with ImageMagick. Install the KImageFormatPlugins with WebP support. We'll have to further restrict ImageMagick, it's just too unstable. Check in the digiKam settings under Plugins->Image Loader whether the QImage Loader is available and the WebP format is available. The QImage Loader internally has a higher priority for loading the WebP format. Maik
If I force the loading of WebP with ImageMagick here, I cannot reproduce a crash. ImageMagick is here at version 7.1.0-48 Q16-HDRI, which version are you using? Maik
Im using imagemagick from Mint 21 repository, thats ii imagemagick 8:6.9.11.60+dfsg-1.3build2 amd64 image manipulation programs -- binaries ii imagemagick-6-common 8:6.9.11.60+dfsg-1.3build2 all image manipulation programs -- infrastructure ii imagemagick-6.q16 8:6.9.11.60+dfsg-1.3build2 amd64 image manipulation programs -- quantum depth Q16 But i tought appimage contains everything to lauch ( in this case imagick compatible with testing digikam 7.9 ) I can remove the image - its some kind of screenshot :)
The settings in plugins ... both loaders have WEBP https://imgur.com/QUtyp49.png
No, your QImage Loader has no WebP support... Maik
Ok, you're using an older version of ImageMagick, that's probably the cause. Maik
Ok, then im closing ticket as NOT A BUG and deleting problematic file.