Bug 691230

Summary: [abrt] shotwell-0.8.1-2.fc14: Process /usr/bin/shotwell was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Bernie Innocenti <bernie+fedora>
Component: exiv2Assignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: mclasen, metherid, michel, rdieter, spoyarek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3edc69b4ba21e7fbd3ffd05ec9b00b39787d4e1e
Fixed In Version: darktable-0.8-7.fc14.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-21 22:28:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 666857    
Bug Blocks:    
Attachments:
Description Flags
File: backtrace none

Description Bernie Innocenti 2011-03-27 17:19:31 UTC
abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 32952 bytes
cmdline: shotwell
component: shotwell
Attached file: coredump, 127586304 bytes
crash_function: Exiv2::ValueType<unsigned short>::toLong
executable: /usr/bin/shotwell
kernel: 2.6.35.11-83.fc14.x86_64
package: shotwell-0.8.1-2.fc14
rating: 4
reason: Process /usr/bin/shotwell was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1301245741
uid: 1000

How to reproduce
-----
1. Import photos from ~/Picture
2. Halfway through the process, shotwell will crash

Comment 1 Bernie Innocenti 2011-03-27 17:19:33 UTC
Created attachment 488032 [details]
File: backtrace

Comment 2 Michel Alexandre Salim 2011-03-27 18:42:13 UTC
Hi Bernie,

Seems like it's failing in the code that tries to detect a photo's metadata. Could you isolate the photo that's triggering this and attach it here? I can then take it to upstream (or, if it's fixed in 0.9.0, try and backport the fix).

Relevant code (Photo.vala, line 816):

    orientation = detected.metadata.get_orientation();

Thanks!

Comment 3 Bernie Innocenti 2011-03-27 19:29:51 UTC
This one appears to be troublesome:

 http://codewiz.org/wiki/pictures/sugar/deployment/mozambique/inhaca/P1040154.JPG

The picture has valid EXIM data and display correctly everywhere else. I'm not entirely sure this particular picture is causing the trouble: shotwell seems to be using multiple threads to import photos and crashes happened every time at different points. But this particular file, placed in a directory by itself, causes shotwell to crash on import.

If you can't reproduce the crash, I'll try more ideas (such as starting with a clean ~/.shotwell) or providing my database.

Comment 4 Michel Alexandre Salim 2011-03-28 00:08:02 UTC
Importing a folder containing that picture works fine in 0.9.0. I'll report it to upstream in the morning; I'll try it on my F-14 test machine too.

Comment 5 Michel Alexandre Salim 2011-03-28 15:52:18 UTC
*** Bug 669217 has been marked as a duplicate of this bug. ***

Comment 6 Michel Alexandre Salim 2011-03-28 15:59:57 UTC
submitted upstream: http://trac.yorba.org/ticket/3424

Comment 7 Michel Alexandre Salim 2011-03-28 18:32:51 UTC
This is an exiv2 bug; fixed by rebuilding exiv2, libgexiv2 and shotwell. Reassigning to exiv2 -- fixing this would require either backporting the metadata handling fix in the next version of exiv2, or rebuilding exiv2-related packages due to ABI changes in the latest version.

Comment 8 Rex Dieter 2011-03-29 13:02:00 UTC
We're considering upgrading to exiv2-0.21.x (from 0.20.x).

Comment 9 Fedora Update System 2011-04-11 18:33:21 UTC
darktable-0.8-7.fc14.1, exiv2-0.21.1-1.fc14, geeqie-1.0-9.fc14.1, gipfel-0.3.2-7.fc14, gnome-commander-1.2.8.10-1.fc14.1, gpscorrelate-1.6.1-3.fc14, gthumb-2.12.2-1.fc14.2, hugin-2010.2.0-2.fc14, immix-1.3.2-10.fc14, kde-l10n-4.6.2-1.fc14.1, kdeaccessibility-4.6.2-1.fc14, kdeadmin-4.6.2-2.fc14, kdeartwork-4.6.2-1.fc14, kdebase-4.6.2-1.fc14, kdebase-runtime-4.6.2-1.fc14, kdebase-workspace-4.6.2-2.fc14, kdebindings-4.6.2-1.fc14, kdeedu-4.6.2-1.fc14, kdegames-4.6.2-1.fc14, kdegraphics-4.6.2-1.fc14, kdelibs-4.6.2-1.fc14, kdemultimedia-4.6.2-1.fc14, kdenetwork-4.6.2-1.fc14, kdepimlibs-4.6.2-1.fc14, kdeplasma-addons-4.6.2-1.fc14, kdesdk-4.6.2-1.fc14, kdetoys-4.6.2-1.fc14, kdeutils-4.6.2-1.fc14, koffice-2.3.3-1.fc14.1, kphotoalbum-4.1.1-8.fc14, krename-4.0.7-2.fc14, libextractor-0.6.2-1402.fc14, libgexiv2-0.2.2-2.fc14, merkaartor-0.17.2-2.fc14, oxygen-icon-theme-4.6.2-1.fc14, pyexiv2-0.3.0-1.fc14, qtpfsgui-1.9.3-6.fc14, rawstudio-2.0-0.1.fc14.beta1.1, shotwell-0.8.1-3.fc14, strigi-0.7.2-5.fc14.1, ufraw-0.18-2.fc14.1 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/darktable-0.8-7.fc14.1,exiv2-0.21.1-1.fc14,geeqie-1.0-9.fc14.1,gipfel-0.3.2-7.fc14,gnome-commander-1.2.8.10-1.fc14.1,gpscorrelate-1.6.1-3.fc14,gthumb-2.12.2-1.fc14.2,hugin-2010.2.0-2.fc14,immix-1.3.2-10.fc14,kde-l10n-4.6.2-1.fc14.1,kdeaccessibility-4.6.2-1.fc14,kdeadmin-4.6.2-2.fc14,kdeartwork-4.6.2-1.fc14,kdebase-4.6.2-1.fc14,kdebase-runtime-4.6.2-1.fc14,kdebase-workspace-4.6.2-2.fc14,kdebindings-4.6.2-1.fc14,kdeedu-4.6.2-1.fc14,kdegames-4.6.2-1.fc14,kdegraphics-4.6.2-1.fc14,kdelibs-4.6.2-1.fc14,kdemultimedia-4.6.2-1.fc14,kdenetwork-4.6.2-1.fc14,kdepimlibs-4.6.2-1.fc14,kdeplasma-addons-4.6.2-1.fc14,kdesdk-4.6.2-1.fc14,kdetoys-4.6.2-1.fc14,kdeutils-4.6.2-1.fc14,koffice-2.3.3-1.fc14.1,kphotoalbum-4.1.1-8.fc14,krename-4.0.7-2.fc14,libextractor-0.6.2-1402.fc14,libgexiv2-0.2.2-2.fc14,merkaartor-0.17.2-2.fc14,oxygen-icon-theme-4.6.2-1.fc14,pyexiv2-0.3.0-1.fc14,qtpfsgui-1.9.3-6.fc14,rawstudio-2.0-0.1.fc14.beta1.1,shotwell-0.8.1-3.fc14,strigi-0.7.2-5.fc14.1,ufraw-0.18-2.fc14.1

Comment 10 Fedora Update System 2011-04-12 21:26:37 UTC
Package darktable-0.8-7.fc14.1, exiv2-0.21.1-1.fc14, geeqie-1.0-9.fc14.1, gipfel-0.3.2-7.fc14, gnome-commander-1.2.8.10-1.fc14.1, gpscorrelate-1.6.1-3.fc14, gthumb-2.12.2-1.fc14.2, hugin-2010.2.0-2.fc14, immix-1.3.2-10.fc14, kde-l10n-4.6.2-1.fc14.1, kdeaccessibility-4.6.2-1.fc14, kdeadmin-4.6.2-2.fc14, kdeartwork-4.6.2-1.fc14, kdebase-4.6.2-1.fc14, kdebase-runtime-4.6.2-1.fc14, kdebase-workspace-4.6.2-2.fc14, kdebindings-4.6.2-1.fc14, kdeedu-4.6.2-1.fc14, kdegames-4.6.2-1.fc14, kdegraphics-4.6.2-1.fc14, kdelibs-4.6.2-1.fc14, kdemultimedia-4.6.2-1.fc14, kdenetwork-4.6.2-1.fc14, kdepimlibs-4.6.2-1.fc14, kdeplasma-addons-4.6.2-1.fc14, kdesdk-4.6.2-1.fc14, kdetoys-4.6.2-1.fc14, kdeutils-4.6.2-1.fc14, koffice-2.3.3-1.fc14.1, kphotoalbum-4.1.1-8.fc14, krename-4.0.7-2.fc14, libextractor-0.6.2-1402.fc14, libgexiv2-0.2.2-2.fc14, merkaartor-0.17.2-2.fc14, oxygen-icon-theme-4.6.2-1.fc14, pyexiv2-0.3.0-1.fc14, qtpfsgui-1.9.3-6.fc14, rawstudio-2.0-0.1.fc14.beta1.1, shotwell-0.8.1-3.fc14, strigi-0.7.2-5.fc14.1, ufraw-0.18-2.fc14.1:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing darktable-0.8-7.fc14.1 exiv2-0.21.1-1.fc14 geeqie-1.0-9.fc14.1 gipfel-0.3.2-7.fc14 gnome-commander-1.2.8.10-1.fc14.1 gpscorrelate-1.6.1-3.fc14 gthumb-2.12.2-1.fc14.2 hugin-2010.2.0-2.fc14 immix-1.3.2-10.fc14 kde-l10n-4.6.2-1.fc14.1 kdeaccessibility-4.6.2-1.fc14 kdeadmin-4.6.2-2.fc14 kdeartwork-4.6.2-1.fc14 kdebase-4.6.2-1.fc14 kdebase-runtime-4.6.2-1.fc14 kdebase-workspace-4.6.2-2.fc14 kdebindings-4.6.2-1.fc14 kdeedu-4.6.2-1.fc14 kdegames-4.6.2-1.fc14 kdegraphics-4.6.2-1.fc14 kdelibs-4.6.2-1.fc14 kdemultimedia-4.6.2-1.fc14 kdenetwork-4.6.2-1.fc14 kdepimlibs-4.6.2-1.fc14 kdeplasma-addons-4.6.2-1.fc14 kdesdk-4.6.2-1.fc14 kdetoys-4.6.2-1.fc14 kdeutils-4.6.2-1.fc14 koffice-2.3.3-1.fc14.1 kphotoalbum-4.1.1-8.fc14 krename-4.0.7-2.fc14 libextractor-0.6.2-1402.fc14 libgexiv2-0.2.2-2.fc14 merkaartor-0.17.2-2.fc14 oxygen-icon-theme-4.6.2-1.fc14 pyexiv2-0.3.0-1.fc14 qtpfsgui-1.9.3-6.fc14 rawstudio-2.0-0.1.fc14.beta1.1 shotwell-0.8.1-3.fc14 strigi-0.7.2-5.fc14.1 ufraw-0.18-2.fc14.1'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/darktable-0.8-7.fc14.1,exiv2-0.21.1-1.fc14,geeqie-1.0-9.fc14.1,gipfel-0.3.2-7.fc14,gnome-commander-1.2.8.10-1.fc14.1,gpscorrelate-1.6.1-3.fc14,gthumb-2.12.2-1.fc14.2,hugin-2010.2.0-2.fc14,immix-1.3.2-10.fc14,kde-l10n-4.6.2-1.fc14.1,kdeaccessibility-4.6.2-1.fc14,kdeadmin-4.6.2-2.fc14,kdeartwork-4.6.2-1.fc14,kdebase-4.6.2-1.fc14,kdebase-runtime-4.6.2-1.fc14,kdebase-workspace-4.6.2-2.fc14,kdebindings-4.6.2-1.fc14,kdeedu-4.6.2-1.fc14,kdegames-4.6.2-1.fc14,kdegraphics-4.6.2-1.fc14,kdelibs-4.6.2-1.fc14,kdemultimedia-4.6.2-1.fc14,kdenetwork-4.6.2-1.fc14,kdepimlibs-4.6.2-1.fc14,kdeplasma-addons-4.6.2-1.fc14,kdesdk-4.6.2-1.fc14,kdetoys-4.6.2-1.fc14,kdeutils-4.6.2-1.fc14,koffice-2.3.3-1.fc14.1,kphotoalbum-4.1.1-8.fc14,krename-4.0.7-2.fc14,libextractor-0.6.2-1402.fc14,libgexiv2-0.2.2-2.fc14,merkaartor-0.17.2-2.fc14,oxygen-icon-theme-4.6.2-1.fc14,pyexiv2-0.3.0-1.fc14,qtpfsgui-1.9.3-6.fc14,rawstudio-2.0-0.1.fc14.beta1.1,shotwell-0.8.1-3.fc14,strigi-0.7.2-5.fc14.1,ufraw-0.18-2.fc14.1
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2011-04-21 22:28:35 UTC
darktable-0.8-7.fc14.1, exiv2-0.21.1-1.fc14, geeqie-1.0-9.fc14.1, gipfel-0.3.2-7.fc14, gnome-commander-1.2.8.10-1.fc14.1, gpscorrelate-1.6.1-3.fc14, gthumb-2.12.2-1.fc14.2, hugin-2010.2.0-2.fc14, immix-1.3.2-10.fc14, kde-l10n-4.6.2-1.fc14.1, kdeaccessibility-4.6.2-1.fc14, kdeadmin-4.6.2-2.fc14, kdeartwork-4.6.2-1.fc14, kdebase-4.6.2-1.fc14, kdebase-runtime-4.6.2-1.fc14, kdebase-workspace-4.6.2-2.fc14, kdebindings-4.6.2-1.fc14, kdeedu-4.6.2-1.fc14, kdegames-4.6.2-1.fc14, kdegraphics-4.6.2-1.fc14, kdelibs-4.6.2-1.fc14, kdemultimedia-4.6.2-1.fc14, kdenetwork-4.6.2-1.fc14, kdepimlibs-4.6.2-1.fc14, kdeplasma-addons-4.6.2-1.fc14, kdesdk-4.6.2-1.fc14, kdetoys-4.6.2-1.fc14, kdeutils-4.6.2-1.fc14, koffice-2.3.3-1.fc14.1, kphotoalbum-4.1.1-8.fc14, krename-4.0.7-2.fc14, libextractor-0.6.2-1402.fc14, libgexiv2-0.2.2-2.fc14, merkaartor-0.17.2-2.fc14, oxygen-icon-theme-4.6.2-1.fc14, pyexiv2-0.3.0-1.fc14, qtpfsgui-1.9.3-6.fc14, rawstudio-2.0-0.1.fc14.beta1.1, shotwell-0.8.1-3.fc14, strigi-0.7.2-5.fc14.1, ufraw-0.18-2.fc14.1 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.