[digikam] [Bug 377432] Crash on browsing images
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Mon Mar 13 12:03:33 GMT 2017
https://bugs.kde.org/show_bug.cgi?id=377432
--- Comment #11 from caulier.gilles at gmail.com ---
Ok,
I created a basic test CLI tool to read metadata from your image which crash
digiKam :
[gilles at localhost dmetadata]$ ./readfromimage 20160911_132121.jpg
...
digikam.metaengine: Exiv2 ( 3 ) : XMP Toolkit error 101: Schema namespace URI
and prefix mismatch
digikam.metaengine: Exiv2 ( 2 ) : Failed to decode XMP metadata.
--- Comments -------------------------------
digikam.general: Does not contain "Comment" Namespace
digikam.metaengine: Loading default values ++++++++++++++++
QMap()
--- Titles -------------------------------
QMap()
--- IPTC info -------------------------------
IptcCoreContactInfo::city: "", IptcCoreContactInfo::country: "",
IptcCoreContactInfo::address: "", IptcCoreContactInfo::postalCode: "",
IptcCoreContactInfo::provinceState: "", IptcCoreContactInfo::email: "",
IptcCoreContactInfo::phone: "", IptcCoreContactInfo::webUrl: ""
IptcCoreLocationInfo::country: "", IptcCoreLocationInfo::countryCode: "",
IptcCoreLocationInfo::provinceState: "", IptcCoreLocationInfo::city: "",
IptcCoreLocationInfo::location: ""
()
--- Media info -------------------------------
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
QDateTime(2016-09-11 13:21:21.000 CEST Qt::TimeSpec(LocalTime))
PhotoInfoContainer::make: "samsung", PhotoInfoContainer::model: "SM-G925W8",
PhotoInfoContainer::lens: "", PhotoInfoContainer::exposureTime: "1/386 s",
PhotoInfoContainer::exposureMode: "Auto", PhotoInfoContainer::exposureProgram:
"Auto", PhotoInfoContainer::aperture: "F1.9", PhotoInfoContainer::focalLength:
"4.3 mm", PhotoInfoContainer::focalLength35mm: "28.0 mm",
PhotoInfoContainer::sensitivity: "40"PhotoInfoContainer::flash: "No
flash"PhotoInfoContainer::whiteBalance: "Auto"PhotoInfoContainer::dateTime:
QDateTime(2016-09-11 13:21:21.000 CEST PhotoInfoContainer::aspectRatio: "",
PhotoInfoContainer::duration: "", PhotoInfoContainer::frameRate: "",
PhotoInfoContainer::videoCodec: "", PhotoInfoContainer::audioBitRate: "",
PhotoInfoContainer::audioChannelType: "", PhotoInfoContainer::audioCompressor:
"",
--- XMP info -------------------------------
()
()
()
It do not crash here but Exiv2 report an exception about XMP namespace.
Now, if i try to read XMP metadata with Exiv2 CLI tool i can see :
[gilles at localhost bin]$ ./exiv2 --version
exiv2 0.26 001900 (64 bit build)
Copyright (C) 2004-2017 Andreas Huggel.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA
[gilles at localhost bin]$ exiv2 -px 20160911_132121.jpg
Error: XMP Toolkit error 101: Schema namespace URI and prefix mismatch
Warning: Failed to decode XMP metadata.
So the same exception if generated. It do not crash.
Note : i tried with the official release Exiv2 0.25 and i see the same message.
Can you try on your computer with Exiv2 tool to see if the same error is
reproducible or if it crash ?
Gilles Caulier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list