Summary: | Crash with gimp xcf files with metadata | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michael <m.mickey> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 1.1.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/digikam/commit/d9a57550ee4d08f1ab612723b315348af9bab9da | Version Fixed In: | 7.0.0 |
Sentry Crash Report: |
Description
Michael
2010-01-28 23:22:53 UTC
Crash appears in Exiv2 library. Can you reproduce the crash using exiv2 command line tool with your XCF file ? Gilles Caulier here is the output if I just try "exiv2 FILE" on commandline: K20D0876.xcf: Die Datei enthält Daten eines unbekannten Bildtyps. Exiv2 exception in print action for file K20D0888.xcf: greets mike Hm, exiv2 can't event handle xcf files. Does it make sense to try to load these files in exiv2? The problem is not about not loading XCF files or about the error that exiv2 throws here, the problem is: why is this exception not caught? There are of course catch clauses around the relevant part in libkexiv2. Michael, which version of exiv2 are you running? Recent SVN by any chance? Please give us the last few lines on the console before the crash. Here you go. greets mike digikam(4545)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation => 1 Error: Failed to read Pentax IFD Makernote header. digikam(4545)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation => 1 terminate called after throwing an instance of 'Exiv2::BasicError<char>' what(): /media/E/DCIM/Portraits Dana/gimp/K20D0876.xcf: Die Datei enthält Daten eines unbekannten Bildtyps. KCrash: Application 'digikam' crashing... sock_file=/home/m/.kde/socket-desktop/kdeinit4__0 [1]+ Angehalten digikam Did you already change something? I updated exiv2 to current svn and updated digikam again and now it works, although the exiv2 output on the terminal is the same with xcf files... greets mike digiKam version 1.1.0 (rev.: 1082100) Exiv2 kann in JP2 speichern: Ja Exiv2 kann in JPEG speichern: Ja Exiv2 kann in PGF speichern: Ja Exiv2 kann in PNG speichern: Ja Exiv2 kann in TIFF speichern: Ja Exiv2 unterstützt XMP-Metadaten: Ja LibCImg: 130 LibExiv2: 0.19.1 LibJPEG: 62 LibJasper: 1.900.1 LibKDE: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)) LibKExiv2: 1.0.0 LibKdcraw: 1.0.0 LibLCMS: 118 LibPGF: 6.09.44 LibPNG: 1.2.37 LibQt: 4.6.0 LibRaw: 0.8.5 LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Parallelized demosaicing: Ja LibGphoto2: 2.4.6 LibKipi: 1.0.0 Yes, Andreas fixed the problem, I had also seen this crash. Git commit d9a57550ee4d08f1ab612723b315348af9bab9da by Gilles Caulier. Committed on 09/05/2020 at 12:31. Pushed by cgilles into branch 'master'. Switch all digiKam bundles to last 5.70 which now support new Gimp XCF file format. See KF5 release announcement : https://kde.org/announcements/kde-frameworks-5.70.0.php "KImageFormats: Add support for modern Gimp images/XCF files" This will permit to digiKam and Showfoto to show XCF thumbnail and load preview/full image (read only) Related: bug 309465, bug 186641, bug 250003, bug 339152, bug 368444, bug 412339 M +3 -3 project/bundles/3rdparty/ext_kf5_frameworks/CMakeLists.txt https://invent.kde.org/kde/digikam/commit/d9a57550ee4d08f1ab612723b315348af9bab9da |