Created attachment 144593 sample image that is causing the crash Here is jpg file that is causing the the crash. It is clear that libexiv is throwing exception when it tries to parse date. This exception is not catched in gwenview.
$ exiv2 -P X print test.jpg Xmp.tiff.Software XmpText 13 digiKam-7.1.0 Xmp.tiff.DateTime XmpText 19 2014-09-13T14:36:40 Xmp.tiff.ImageWidth XmpText 4 3110 Xmp.tiff.ImageLength XmpText 4 1553 Xmp.xmp.CreatorTool XmpText 13 digiKam-3.5.0 Xmp.xmp.CreateDate XmpText 19 2014-09-13T14:36:40 Xmp.xmp.MetadataDate XmpText 19 2014-09-13T14:36:40 Xmp.xmp.ModifyDate XmpText 19 2014-09-13T14:36:40 Xmp.xmp.Rating XmpText 1 2 Xmp.exif.DateTimeOriginal XmpText 19 Uncaught exception: basic_string::at: __n (which is 19) >= this->size() (which is 19) $ echo $? 1 So, fix is obvious. But where it should be fixed? In libexiv or gwenview? Ubuntu 21.10 exiv2 0.27.3 gwenview 21.08.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1941752 Title: Regression: exiv2 0.27.3-3ubuntu1.5 makes Gwenview crash when opening images exported by darktable To manage notifications about this bug go to: https://bugs.launchpad.net/gwenview/+bug/1941752/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
