Digikam crashed, as it does about once every 10 times I save a file during editing. After that crash I can't start it at all anymore, so I guess it's corrupted the database or something. I can send a core dump but the form says the size limit is 4000 KB.
Please send the core dump to my private email. Maik
The core dump is unfortunately not helpful. If you can reproduce the bug, use digiKam with gdb. Instructions here: https://www.digikam.org/contribute/ Maik
(gdb) bt #0 0x00007fffec3fa186 in Exiv2::IptcData::printStructure(std::ostream&, unsigned char const*, unsigned long, unsigned int) () at /usr/lib/libexiv2.so.26 #1 0x00007fffec3f4a20 in Exiv2::Image::printIFDStructure(Exiv2::BasicIo&, std::ostream&, Exiv2::PrintStructureOption, unsigned int, bool, char, int) () at /usr/lib/libexiv2.so.26 #2 0x00007fffec3f6558 in Exiv2::Image::printTiffStructure(Exiv2::BasicIo&, std::ostream&, Exiv2::PrintStructureOption, int, unsigned long) () at /usr/lib/libexiv2.so.26 #3 0x00007fffec473115 in Exiv2::TiffImage::printStructure(std::ostream&, Exiv2::PrintStructureOption, int) () at /usr/lib/libexiv2.so.26 #4 0x00007fffec474bdb in Exiv2::TiffImage::readMetadata() () at /usr/lib/libexiv2.so.26 #5 0x00007ffff640492e in Digikam::MetaEngine::load(QString const&) const () at /usr/lib/libdigikamcore.so.5.7.0 #6 0x00007ffff64566a8 in Digikam::DMetadata::load(QString const&) const () at /usr/lib/libdigikamcore.so.5.7.0 #7 0x00007ffff6456735 in Digikam::DMetadata::DMetadata(QString const&) () at /usr/lib/libdigikamcore.so.5.7.0 #8 0x00007ffff64c38d4 in Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect const&) const () at /usr/lib/libdigikamcore.so.5.7.0 #9 0x00007ffff64c66c3 in Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect const&, bool) const () at /usr/lib/libdigikamcore.so.5.7.0 #10 0x00007ffff64c722e in Digikam::ThumbnailCreator::pregenerate(Digikam::ThumbnailIdentifier const&) const () at /usr/lib/libdigikamcore.so.5.7.0 #11 0x00007ffff64d56bd in () at /usr/lib/libdigikamcore.so.5.7.0 #12 0x00007ffff64a5267 in Digikam::LoadSaveThread::run() () at /usr/lib/libdigikamcore.so.5.7.0 #13 0x00007ffff64f3e20 in Digikam::DynamicThread::DynamicThreadPriv::run() () at /usr/lib/libdigikamcore.so.5.7.0 #14 0x00007ffff3e07212 in () at /usr/lib/libQt5Core.so.5 #15 0x00007ffff3e0a1cb in () at /usr/lib/libQt5Core.so.5 #16 0x00007fffecf2108a in start_thread () at /usr/lib/libpthread.so.0 #17 0x00007ffff310347f in clone () at /usr/lib/libc.so.6
Your database is not damaged. It crashes in Exiv2 while reading the metadata from a TIFF image. You have to remove these TIFF images from the directory. Maik
I would be interested in the TIFF image, if you can identify it, which triggers the crash. I would like to test the current Exiv2 from Git Hub. Maik
Thanks for the TIFF image. I can not reproduce the crash with the TIFF image. I use also libexiv2-0.26. Can you try the AppImage? https://files.kde.org/digikam/ Maik
(In reply to Maik Qualmann from comment #6) > Can you try the AppImage? It doesn't crash on startup, but does crash when trying to preview the TIFF. GDB results are unhelpful: /tmp/.mount_ri2nTf/AppRun: line 73: 28397 Segmentation fault (core dumped) digikam $@ [Inferior 1 (process 28381) exited with code 0213] (gdb) bt No stack. I've sent a core dump.
*** Bug 390580 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 393635 ***
Fixed with #393635