Project

General

Profile

Bug #1281

crash in Exiv2, XMP parser class and in Adobe XMP SDK

Added by Wil Cowb over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
xmp
Target version:
Start date:
10 Mar 2017
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Probably something in my image in XMP metadata is not well interpreted by Exiv2.
exiv2 called by digiKam via API (https://cgit.kde.org/digikam.git/tree/libs/dmetadata)

The image that caused the crash can be downloaded here:
https://drive.google.com/open?id=0B5_iknSPeSNBc0NoLVplZXFDYWs

More details can be found here:
https://bugs.kde.org/show_bug.cgi?id=377418

Exiv2 0.26-svn

History

#1

Updated by Robin Mills over 4 years ago

  • Category set to xmp
  • Assignee set to Robin Mills

Regrettably very little can be done about this at the moment as I am preparing the v0.26 release.

I am surprised about a fault in the XMP code. I will take a quick look at this in the next day or two. I will not delay shipping v0.26 to fix this.

#2

Updated by Robin Mills over 4 years ago

  • Status changed from New to Assigned
#3

Updated by Robin Mills over 4 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h

No crash here with Exiv2 v.026 Release Candidate (r4726):

662 rmills@rmillsmm:~/gnu/exiv2/trunk $ exiv2 -vVg svn
exiv2 0.26 001900 (64 bit build)
svn=4726
663 rmills@rmillsmm:~/gnu/exiv2/trunk $ ls -alt ~/Downloads/2*.jpg
-rw-r--r--+ 1 rmills staff 5315628 Mar 10 07:13 /Users/rmills/Downloads/20161218_172327.jpg
664 rmills@rmillsmm:~/gnu/exiv2/trunk $ exiv2 -pa --grep Xmp ~/Downloads/2*.jpg
Xmp.MP.RegionInfo                            XmpText     0  type="Struct" 
Xmp.MP.RegionInfo/MPRI:Regions               XmpText     0  type="Bag" 
Xmp.MP.RegionInfo/MPRI:Regions[1]            XmpText     0  type="Struct" 
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:PersonDisplayName XmpText     6  Alexis
Xmp.MP.RegionInfo/MPRI:Regions[1]/MPReg:Rectangle XmpText    37  0.61634, 0.288822, 0.107116, 0.190428
Xmp.MicrosoftPhoto.LastKeywordIPTC           XmpBag      1  Alexis
Xmp.MicrosoftPhoto.LastKeywordXMP            XmpBag      3  Activities/playing, People/Alexis, Events/christmas
Xmp.acdsee.categories                        XmpText   273  <Categories><Category Assigned="0">Activities<Category Assigned="1">playing</Category></Category><Category Assigned="0">People<Category Assigned="1">Alexis</Category></Category><Category Assigned="0">Events<Category Assigned="1">christmas</Category></Category></Categories>
Xmp.dc.subject                               XmpBag      3  playing, Alexis, christmas
Xmp.digiKam.TagsList                         XmpSeq      3  Activities/playing, People/Alexis, Events/christmas
Xmp.exif.Flash                               XmpText     0  type="Struct" 
Xmp.exif.Flash/exif:Fired                    XmpText     4  True
Xmp.exif.Flash/exif:Function                 XmpText     5  False
Xmp.exif.Flash/exif:Mode                     XmpText     1  0
Xmp.exif.Flash/exif:RedEyeMode               XmpText     5  False
Xmp.exif.Flash/exif:Return                   XmpText     1  0
Xmp.exif.GPSTimeStamp                        XmpText    20  2016:12:19 00:22:57
Xmp.lr.hierarchicalSubject                   XmpBag      3  Activities|playing, People|Alexis, Events|christmas
Xmp.mediapro.CatalogSets                     XmpBag      3  Activities|playing, People|Alexis, Events|christmas
Xmp.mwg-rs.Regions                           XmpText     0  type="Struct" 
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions XmpText     0  type="Struct" 
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions/stDim:h XmpText     4  2988
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions/stDim:unit XmpText     5  pixel
Xmp.mwg-rs.Regions/mwg-rs:AppliedToDimensions/stDim:w XmpText     4  5312
Xmp.mwg-rs.Regions/mwg-rs:RegionList         XmpText     0  type="Bag" 
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]      XmpText     0  type="Struct" 
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area XmpText     0  type="Struct" 
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:h XmpText     8  0.190428
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:unit XmpText    10  normalized
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:w XmpText     8  0.107116
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:x XmpText     8  0.669898
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Area/stArea:y XmpText     8  0.384036
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Name XmpText     6  Alexis
Xmp.mwg-rs.Regions/mwg-rs:RegionList[1]/mwg-rs:Type XmpText     4  Face
Xmp.tiff.BitsPerSample                       XmpSeq      1  8
Xmp.tiff.Compression                         XmpText     1  6
Xmp.tiff.ImageLength                         XmpText     4  2988
Xmp.tiff.ImageWidth                          XmpText     4  5312
Xmp.tiff.Software                            XmpText    14  G925W8VLU5CPK4
Xmp.tiff.YCbCrPositioning                    XmpText     1  Centered
Xmp.tiff.YCbCrSubSampling                    XmpSeq      2  2, 1
Xmp.xmp.CreatorTool                          XmpText    37  Microsoft Photo Gallery 16.4.3528.331
665 rmills@rmillsmm:~/gnu/exiv2/trunk $ 

#4

Updated by Robin Mills over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF