Crash while writing metadata to .jpg files
Submitted by an unknown user
Assigned to cli..@..ba.org
Link to original bug (#718191)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-11-08 04:45:00 -0800 ----
Original Redmine bug id: 4358
Original URL: http://redmine.yorba.org/issues/4358
Searchable id: yorba-bug-4358
Original author: Joe Irvine
Original description:
The following error is received when writing to some files:
shotwell: tiffcomposite.cpp:1049: virtual uint32_t Exiv2::Internal::TiffBinaryArray::doCount() const: Assertion `typeSize != 0' failed.
Aborted
Debug info attached. I also included the jpg file that is causing the error.
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:45:00 -0700 ----
History
Comment 1
Updated by Joe Irvine about 2 years ago
I forgot the OS & version info.
OS: Ubuntu 11.10
Version: 0.11.5 from Yorba ppa
Comment 2
Updated by Adam Dingle about 2 years ago
- Priority changed from Normal to Urgent
- Target version set to 0.12
Thanks for the bug report. I can reproduce this in git master:
-
Start Shotwell with an empty library.
-
Import the attached JPEG photo.
-
Make sure that the preference to write metadata to files is turned on.
-
Add a tag to the photo. After a moment, Shotwell will crash.
Comment 3
Updated by Adam Dingle about 2 years ago
- Assignee set to Clinton Rogers
Comment 4
Updated by Clinton Rogers about 2 years ago
- File tiff_composite_assertion_fix.diff added
- % Done changed from 0 to 20
This doesn't appear to be due to anything Shotwell is doing, but rather something special about this particular JPEG that Exiv2 doesn't handle robustly. I've prepared a patch for them (attached to this bug) and have filed this bug on their side.
Comment 5
Updated by Clinton Rogers about 2 years ago
As of 2011-11-17, this bug has been addressed on Exiv2's side; please see http://dev.exiv2.org/issues/797#note-1 for more details.
Comment 6
Updated by Adam Dingle about 2 years ago
- Status changed from Open to 5
- Resolution set to invalid
Thanks for the investigation and for filing a bug with the Exiv2 project. This is not our bug, so I'm closing this.
Comment 7
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Invalid
--- Bug imported by chaz@yorba.org 2013-11-25 21:55 UTC ---
This bug was previously known as bug 4358 at http://redmine.yorba.org/show_bug.cgi?id=4358 Imported an attachment (id=262246) Imported an attachment (id=262247) Imported an attachment (id=262248) Imported an attachment (id=262249)
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.12
Resolution: RESOLVED INVALID