pyexiv2 segfaults retrieving xmp tag with type XmpBag

Bug #886604 reported by Parsifal Herzog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyexiv2
New
Undecided
Unassigned

Bug Description

Script, image file, and transcript to show failure are in attached xmp-bag-bug.tar.gz file.

python-2.7.1
python-exiv2-0.2.2
libexiv2_10-0.21.1
Linux Lama-Lodro 2.6.38.8-desktop586-6.mga #1 SMP Mon Sep 26 20:35:46 UTC 2011 i686 i686 i386 GNU/Linux

Tags: xmp segfault
Revision history for this message
Parsifal Herzog (parsifal-herzog) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for the report Parsifal. This specific issue looks very much like bug #677267, which was fixed in pyexiv2 0.3.0 (the latest release is now 0.3.2).

This is the output I get when running your example script against pyexiv2 0.3.2:

Xmp.digiKam.TagsList: <pyexiv2.xmp.XmpTag object at 0x27bf750> [u'Place', u'Place/Canada', u'Place/Canada/Yukon', u'Place/Canada/Yukon/Circle D Ranch', u'Vehicle', u'Vehicle/Aircraft', u'Style', u'Style/Pair', u'Adventure']
Xmp.lr.hierarchicalSubject: <pyexiv2.xmp.XmpTag object at 0x27bf790> ['Place', 'Place|Canada', 'Place|Canada|Yukon', 'Place|Canada|Yukon|Circle D Ranch', 'Vehicle', 'Vehicle|Aircraft', 'Style', 'Style|Pair', 'Adventure']

I am going to mark this bug as a duplicate of bug #677267, if you can test the latest release to confirm that the issue is fixed your feedback would be much appreciated.

Revision history for this message
Parsifal Herzog (parsifal-herzog) wrote : Re: [Bug 886604] Re: pyexiv2 segfaults retrieving xmp tag with type XmpBag

On 05/11/11 06:46 PM, Olivier Tilloy wrote:
> *** This bug is a duplicate of bug 677267 ***
> https://bugs.launchpad.net/bugs/677267
>
> Thanks for the report Parsifal. This specific issue looks very much like
> bug #677267, which was fixed in pyexiv2 0.3.0 (the latest release is now
> 0.3.2).
>
> This is the output I get when running your example script against
> pyexiv2 0.3.2:
>
> Xmp.digiKam.TagsList: <pyexiv2.xmp.XmpTag object at 0x27bf750> [u'Place', u'Place/Canada', u'Place/Canada/Yukon', u'Place/Canada/Yukon/Circle D Ranch', u'Vehicle', u'Vehicle/Aircraft', u'Style', u'Style/Pair', u'Adventure']
> Xmp.lr.hierarchicalSubject: <pyexiv2.xmp.XmpTag object at 0x27bf790> ['Place', 'Place|Canada', 'Place|Canada|Yukon', 'Place|Canada|Yukon|Circle D Ranch', 'Vehicle', 'Vehicle|Aircraft', 'Style', 'Style|Pair', 'Adventure']
>
> I am going to mark this bug as a duplicate of bug #677267, if you can
> test the latest release to confirm that the issue is fixed your feedback
> would be much appreciated.
I built pyexiv2 0.3.2, and it produced the correct result, as above.
Thank you!

> ** This bug has been marked a duplicate of bug 677267
> Crashes when trying to read Xmp.lr.hierarchicalSubject
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.