We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe the XMP data from darktable is corrupt, but exiv2 shouldn't crash anyways.
Export a jpg file from Darktable software. Open it up in exiv2.
$ exiv2 -p x pr 0002.jpg Xmp.crd.CameraProfile XmpText 12 Camera Vivid Xmp.crd.ColorNoiseReduction XmpText 1 7 Xmp.crd.ColorNoiseReductionDetail XmpText 2 50 Xmp.crd.ColorNoiseReductionSmoothness XmpText 2 50 Xmp.crd.Contrast2012 XmpText 1 0 Xmp.crd.Exposure2012 XmpText 4 0.00 Xmp.crd.Highlights2012 XmpText 1 0 Xmp.crd.LuminanceNoiseReductionContrast XmpText 1 0 Xmp.crd.LuminanceNoiseReductionDetail XmpText 2 75 Xmp.crd.LuminanceSmoothing XmpText 1 3 Xmp.crd.Saturation XmpText 1 0 Xmp.crd.Shadows2012 XmpText 1 0 Xmp.crd.SharpenDetail XmpText 2 25 Xmp.crd.SharpenEdgeMasking XmpText 1 0 Xmp.crd.SharpenRadius XmpText 4 2.00 Xmp.crd.Sharpness XmpText 2 56 Xmp.exif.DateTimeOriginal XmpText 19 Uncaught exception: basic_string::at: __n (which is 19) >= this->size() (which is 19)
$ exiv2 -V exiv2 0.27.2
This also cause gthumb, gwenview and other viewers to crash. See https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/1943586
Test image attached here:
The text was updated successfully, but these errors were encountered:
Thanks for the report, but a duplicate of #2011, please search before opening new issues.
Already fixed by exiv2 in #1918, it is up to packagers to update or backport.
Sorry, something went wrong.
Beautiful test image. Is the location Switzerland or Canada?
@kmilos ah, yes, I searched only for open reports, my bad. I'm sorry.
@clanmills It is Tolyatti, Russia.
No branches or pull requests
Maybe the XMP data from darktable is corrupt, but exiv2 shouldn't crash anyways.
To Reproduce
Export a jpg file from Darktable software. Open it up in exiv2.
$ exiv2 -p x pr 0002.jpg
Xmp.crd.CameraProfile XmpText 12 Camera Vivid
Xmp.crd.ColorNoiseReduction XmpText 1 7
Xmp.crd.ColorNoiseReductionDetail XmpText 2 50
Xmp.crd.ColorNoiseReductionSmoothness XmpText 2 50
Xmp.crd.Contrast2012 XmpText 1 0
Xmp.crd.Exposure2012 XmpText 4 0.00
Xmp.crd.Highlights2012 XmpText 1 0
Xmp.crd.LuminanceNoiseReductionContrast XmpText 1 0
Xmp.crd.LuminanceNoiseReductionDetail XmpText 2 75
Xmp.crd.LuminanceSmoothing XmpText 1 3
Xmp.crd.Saturation XmpText 1 0
Xmp.crd.Shadows2012 XmpText 1 0
Xmp.crd.SharpenDetail XmpText 2 25
Xmp.crd.SharpenEdgeMasking XmpText 1 0
Xmp.crd.SharpenRadius XmpText 4 2.00
Xmp.crd.Sharpness XmpText 2 56
Xmp.exif.DateTimeOriginal XmpText 19 Uncaught exception: basic_string::at: __n (which is 19) >= this->size() (which is 19)
$ exiv2 -V
exiv2 0.27.2
Desktop (please complete the following information):
Additional context
This also cause gthumb, gwenview and other viewers to crash. See https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/1943586
Test image attached here:

The text was updated successfully, but these errors were encountered: