[SRU] Shotwell crashes on startup / Crash in exiv2 due to assertion when setting rating on jpg with a Casio makernote

Bug #1584853 reported by Ricardo Bánffy
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
exiv2 (Debian)
Fix Released
Unknown
exiv2 (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * exiv2 crash with Casio makernote
 * trivial patch

[Test Case]

 * start shotwell with Casio makernote images

[Regression Potential]

 * none
[Other Info]

Starting from the command line, this can be seen:

shotwell: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Assertion `mn_' failed.
Aborted (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: shotwell 0.22.0+git20160108.r1.f2fb1f7-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon May 23 08:48:32 2016
InstallationDate: Installed on 2015-09-20 (245 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: shotwell
UpgradeStatus: Upgraded to xenial on 2016-04-21 (31 days ago)
shotwell.log:
 L 24280 2016-05-23 08:46:56 [MSG] main.vala:385: Shotwell Photo Manager 0.22.0
 L 24280 2016-05-23 08:46:56 [MSG] main.vala:43: Verifying database ...

Revision history for this message
Ricardo Bánffy (rbanffy) wrote :
Revision history for this message
Jens Georg (yg-jensge) wrote :

Hi,

this is a bug in exiv2. It has been fixed in debian's exiv2 0.25-3 package

Revision history for this message
Jens Georg (yg-jensge) wrote :
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

0.25-3 could be SRUed to Xenial. The diff is very small.

affects: shotwell (Ubuntu) → exiv2 (Ubuntu)
summary: - Shotwell crashes on startup
+ Shotwell crashes on startup / Crash in exiv2 due to assertion when
+ setting rating on jpg with a Casio makernote
Changed in exiv2 (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Shotwell crashes on startup / Crash in exiv2 due to assertion when setting rating on jpg with a Casio makernote

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in exiv2 (Ubuntu):
status: New → Confirmed
Changed in exiv2 (Ubuntu):
importance: Undecided → High
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Please nominate to Xenial.

Revision history for this message
nyarla33 (mr-somewhere) wrote :

Please nominate to Xenial.

Changed in exiv2 (Ubuntu):
status: Confirmed → Fix Released
Changed in exiv2 (Ubuntu Xenial):
status: New → Fix Committed
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

done, please test package on ppa:costamagnagianfranco/locutusofborg-ppa

summary: - Shotwell crashes on startup / Crash in exiv2 due to assertion when
+ [SRU] Shotwell crashes on startup / Crash in exiv2 due to assertion when
setting rating on jpg with a Casio makernote
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Ricardo, or anyone else affected,

Accepted exiv2 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/exiv2/0.25-2.1ubuntu16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

@Ricardo can you please test it?

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'm not sure about the testing I performed, but I didn't experience any crash during my test

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package exiv2 - 0.25-2.1ubuntu16.04.1

---------------
exiv2 (0.25-2.1ubuntu16.04.1) xenial; urgency=medium

  * SRU 0.25-3 to Ubuntu xenial (LP: #1584853)

  [ Norbert Preining ]
  * Fix crashes on Casio images files (upstream cherry pick) (Closes: #814051)
  * mention XMP in the description (Closes: #790784)

 -- Gianfranco Costamagna <email address hidden> Tue, 28 Feb 2017 12:17:15 +0100

Changed in exiv2 (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for exiv2 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.