Summary: | Crash when importing XMP file | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | François Tissandier <francois.tissandier> |
Component: | Metadata-Xmp | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles |
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.3.0 | |
Sentry Crash Report: | |||
Attachments: | XMP crashing down Digikam |
Description
François Tissandier
2009-08-16 13:22:54 UTC
François, Can you please attach an XMP file which causes the problem? Gilles, This is the interesting part. It looks like Exiv2 throws an exception while reading the sideacar file. #11 0xb5566812 in std::terminate () from /usr/lib/libstdc++.so.6 #12 0xb556694a in __cxa_throw () from /usr/lib/libstdc++.so.6 #13 0xb4fec960 in ?? () from /usr/lib/libexiv2.so.5 #14 0xb4f55cb0 in ?? () from /usr/lib/libexiv2.so.5 #15 0xb4f4e186 in ?? () from /usr/lib/libexiv2.so.5 #16 0xb4f4e24c in Exiv2::copyXmpToExif () from /usr/lib/libexiv2.so.5 #17 0xb4ff35b6 in Exiv2::XmpSidecar::readMetadata () from /usr/lib/libexiv2.so.5 #18 0xb77825cf in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.7 François, which Exiv2/libkexiv2 you use exactly ? Go to Help/Components Info for details Gilles Caulier Created attachment 36234 [details]
XMP crashing down Digikam
digiKam version 1.0.0-beta3 LibExiv2: 0.18 LibKExiv2: 0.6.0 François, I recomend to use Exiv2 0.18.2. libkexiv2 version is fine, but need to be re-compiled against Exiv2. To be sure that right Exiv2 version is used after updating, look into Help/Components Info dialog Gilles Caulier Thanks for the advice Gilles. But don't you think it should be fixed in the Ubuntu repos? I'm ok to update my exiv2 version, but most users won't know how to do that. It's the same problem with version 0.10, it's not only with the unstable version 1.0. So maybe it's worth a fix. Well we are not Ubuntu... we can not fix their problems. This is an issue for exiv2, not digiKam. It leaks an exception from the XMP-SDK while trying to convert an invalid timestamp from the XMP file. I'll open an issue in the Exiv2 bug tracker for it. The root cause of the problem is that the timestamps in the attached file are not in the correct format. They are in Exif format instead of ISO 8601 format, as required by the XMP standard. Andreas Link to the Exiv2 issue: http://dev.exiv2.org/issues/show/645 Issue is marked as resolved in the upstream tracker. Not reproducible with digiKam 7.3.0 + Exiv2 0.27.3 |