shotwell crashed with SIGSEGV in Exiv2::DataValue::toLong()

Bug #662807 reported by Gabor Toth
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gexiv2
Invalid
Unknown
gexiv2 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: shotwell

while loading pictures shotwell crashed.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: shotwell 0.7.2-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Mon Oct 18 18:47:37 2010
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/shotwell
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcCmdline: shotwell
ProcEnviron:
 LANG=en_DK.utf8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x1f0c11 <_ZNK5Exiv29DataValue6toLongEl+17>: movzbl (%edx,%eax,1),%eax
 PC (0x001f0c11) ok
 source "(%edx,%eax,1)" (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:
 Exiv2::DataValue::toLong(long) const () from /usr/lib/libexiv2.so.6
 ?? () from /usr/lib/libexiv2.so.6
 ?? () from /usr/lib/libexiv2.so.6
 Exiv2::PreviewManager::getPreviewProperties() const () from /usr/lib/libexiv2.so.6
 ?? () from /usr/lib/libgexiv2.so.0
Title: shotwell crashed with SIGSEGV in Exiv2::DataValue::toLong()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Gabor Toth (gabor-me) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 Exiv2::DataValue::toLong (this=0xb1b4c1b4, n=0) at value.cpp:243
 createLoaderExifJpeg (id=21, image=@0xb1b5e590, parIdx=7)
 create (id=<value optimized out>, image=@0xb1b5e590)
 Exiv2::PreviewManager::getPreviewProperties (
 gexiv2_metadata_init_internal (self=<value optimized out>)

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in shotwell (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Omer Akram (om26er)
visibility: private → public
Revision history for this message
Jim Nelson (yorba-jim) wrote :

Hello Gabor,

If you could attach the following file to this ticket, it would help me reproduce this problem:

/home/gabor/Desktop/Pictures/Photos/2010/05/15/P5150003.JPG

If you would prefer not to make this photo public, you can email it to me at <email address hidden>. I'll destroy the photo once I'm done with it.

Also, I'm changing the project to gexiv2, as I believe the problem is in that library and not Shotwell proper.

-- Jim

affects: shotwell (Ubuntu) → gexiv2 (Ubuntu)
Changed in gexiv2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Gabor Toth (gabor-me) wrote :

Hi Jim,
I sent you the file you asked for in the e-mail privately.
Please let me know if anything else is needed from me. Also, just an information, it was a lot of pictures I wanted to import all at once. something like 20,000 pictures. This might have be part of the problem. But I could do it in the previous photo program on the same computer.

Thanks for your help.

Gabor

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

Hi Gabor,

I've reproduced the problem with the photo you sent me. I'll look into it soon!

Changed in gexiv2:
status: Unknown → New
Jim Nelson (yorba-jim)
Changed in gexiv2 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jim Nelson (yorba-jim) wrote :

This problem is with Exiv2. It can be reproduced with the command-line tool like this:

$ exiv2 -pp <filename>

Essentially, the crash is occurring when the preview directory is being loaded.

Revision history for this message
Gabor Toth (gabor-me) wrote : Re: [Bug 662807] Re: shotwell crashed with SIGSEGV in Exiv2::DataValue::toLong()

okay. let me know if anything else is needed from me on this issue.

Gabor

On Thu, 2010-11-04 at 20:52 +0000, Jim Nelson wrote:

> This problem is with Exiv2. It can be reproduced with the command-line
> tool like this:
>
> $ exiv2 -pp <filename>
>
> Essentially, the crash is occurring when the preview directory is being
> loaded.
>

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

I've submitted a bug report to Exiv2: http://dev.exiv2.org/issues/739

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

I've verified this is fixed in Exiv2 trunk. This should be resolved in the next Exiv2 release.

Changed in gexiv2 (Ubuntu):
status: Confirmed → Invalid
Changed in gexiv2:
status: New → Invalid
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.