shotwell crashed with SIGSEGV in gexiv2_metadata_get_orientation()

Bug #636161 reported by David Dando
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gexiv2
Fix Released
Unknown
gexiv2 (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: shotwell

The crash happened while the screen was locked.

TEST CASE:
1. install gexiv2 from maverick-proposed
2. import/open images in shotwell
3. see shotwell works fine

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: shotwell 0.7.1-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Sep 12 13:28:46 2010
ExecutablePath: /usr/bin/shotwell
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcCmdline: shotwell
ProcEnviron:
 LANG=en_AU.utf8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x1ec0a1: movzwl (%eax,%edx,2),%eax
 PC (0x001ec0a1) ok
 source "(%eax,%edx,2)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: shotwell
StacktraceTop:
 ?? () from /usr/lib/libexiv2.so.6
 gexiv2_metadata_get_orientation () from /usr/lib/libgexiv2.so.0
 photo_metadata_get_orientation ()
 transformable_photo_prepare_for_import ()
 ?? ()
Title: shotwell crashed with SIGSEGV in gexiv2_metadata_get_orientation()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
David Dando (david-dandonet) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

seems like the crash was in libexiv

Revision history for this message
Jim Nelson (yorba-jim) wrote :

This is fixed in gexiv 0.2.1.

affects: shotwell → gexiv2
Changed in gexiv2:
status: Unknown → Fix Released
Omer Akram (om26er)
affects: shotwell (Ubuntu) → gexiv2 (Ubuntu)
Changed in gexiv2 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Omer Akram (om26er) wrote :

Jim, gexiv2 0.2.1 was it a bug fix release? i mean is it safe for ubuntu to backport it?

Revision history for this message
Jim Nelson (yorba-jim) wrote :

Pure bug fix. The only change (other than versioning and packaging) was for this bug. Here's the key diff: http://trac.yorba.org/changeset/2219/gexiv2/trunk

We've had 2 - 3 people in the past few weeks report this bug. I would recommend taking it.

Revision history for this message
Jim Nelson (yorba-jim) wrote :

I should also add that this fix solves this particular problem only. A more general solution has been committed to trunk and will be available in the next release of gexiv2. I would consider taking that as well, since this bug can bite users in other ways as well.

Revision history for this message
Omer Akram (om26er) wrote :

the only change in the new upstream release is a fix for this bug and is recommended by the upstream developers.

Revision history for this message
Martin Pitt (pitti) wrote :

Looks fine, please get it uploaded. Thanks!

Revision history for this message
Omer Akram (om26er) wrote :

updated so that it does not update the upstream version.

Changed in gexiv2 (Ubuntu Maverick):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Michael Vogt (mvo) wrote :

I uploaded the maverick-proposed branch now, removing ubuntu-sposnors now as the sponsoring is done.

Changed in gexiv2 (Ubuntu Maverick):
status: Triaged → In Progress
Revision history for this message
Omer Akram (om26er) wrote :

gexiv 0.2.1 is already in natty so marking as fix released.

Changed in gexiv2 (Ubuntu):
status: Triaged → Fix Released
Omer Akram (om26er)
description: updated
Martin Pitt (pitti)
Changed in gexiv2 (Ubuntu Maverick):
status: In Progress → Fix Committed
Revision history for this message
Omer Akram (om26er) wrote :

have been using the proposed version of gexiv2 in maverick. no regressions found or reported

Revision history for this message
Omer Akram (om26er) wrote :

the proposed version fixes this issue as someone in the duplicate reliably faced the crash and proposed version of gexiv2 fixed the issue.

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

This bug was fixed in the package gexiv2 - 0.2.0-0ubuntu2.1

---------------
gexiv2 (0.2.0-0ubuntu2.1) maverick-proposed; urgency=low

  * debian/patches/do_not_crash_when_importing_images.patch:
    - do not crash when importing files with zero size
      ExifImage.Orientation field (LP: #636161)
 -- Omer Akram <email address hidden> Sat, 20 Nov 2010 15:15:16 +0500

Changed in gexiv2 (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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