shotwell crashed with SIGABRT in import_ui_get_media_specific_string(): "code should not be reached"

Bug #862347 reported by David .
56
This bug affects 9 people
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Sebastien Bacher

Bug Description

the software is stop unexpectedly when I wanted to transfer photos from my iPhone to my Linux.

TESTCASE:
- there is no precise steps to follow, shotwell segfaults for some users during transferts, the new version should behave better
- test that you get no new issue during the week it's in oneiric-proposed

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: shotwell 0.11.2-0ubuntu1 [modified: usr/share/glib-2.0/schemas/gschemas.compiled]
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Thu Sep 29 14:20:17 2011
ExecutablePath: /usr/bin/shotwell
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
ProcCmdline: shotwell afc://1b8abea50a8b0fd800a2c1a5ee9b0db331f981af/
ProcEnviron:
 LANGUAGE=fr:en
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
Signal: 6
SourcePackage: shotwell
StacktraceTop:
 raise () from /lib/x86_64-linux-gnu/libc.so.6
 abort () from /lib/x86_64-linux-gnu/libc.so.6
 g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 import_ui_get_media_specific_string ()
 import_ui_report_manifest ()
Title: shotwell crashed with SIGABRT in raise()
UpgradeStatus: Upgraded to oneiric on 2011-09-28 (0 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape vboxusers video
XsessionErrors:
 (gwibber-service:3240): libindicate-WARNING **: Menu being changed when the indicator is visible. Listeners will NOT be notified of this change.
 (gnome-settings-daemon:2339): GLib-CRITICAL **: g_variant_get_int32: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
 (check-new-release-gtk:4576): Gtk-WARNING **: Unknown property: GtkMessageDialog.has-separator

Revision history for this message
David . (david-suisse1-deactivatedaccount-deactivatedaccount) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x741140 "import_ui_get_media_specific_string", message=0x7f3ccd80c6f7 "code should not be reached") at /build/buildd/glib2.0-2.30.0/./glib/gtestutils.c:1425
 import_ui_get_media_specific_string (import_collection=0x3a1b8f0, photos_msg=0x3a3d750 "1 photo dupliqu\303\251e non import\303\251e\302\240:\n", videos_msg=0x39ff600 "1 vid\303\251o dupliqu\303\251e non import\303\251e\302\240:\n", both_msg=0x3a3fbd0 "1 photo/vid\303\251o dupliqu\303\251e non import\303\251e\302\240:\n", neither_msg=0x0) at x86_64-linux-gnu/Dialogs.c:2810
 import_ui_report_manifest (manifest=0x2f3c5d0, show_dest_id=0, question=0x0) at x86_64-linux-gnu/Dialogs.c:2886
 import_page_import_reporter (self=0x2f9c000, manifest=0x2f3c5d0) at x86_64-linux-gnu/camera/ImportPage.c:6251
 import_page_import (self=0x2f9c000, items=<optimized out>) at x86_64-linux-gnu/camera/ImportPage.c:6096

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-amd64-retrace
Revision history for this message
Clint Rogers (clinton-yorba) wrote : Re: shotwell crashed with SIGABRT in raise()

Hi David,

Thank you for reporting this to us. This sounds very similar to http://redmine.yorba.org/issues/4172, which, it would seem, can also happen occasionally when importing images as well.

If you feel comfortable doing so, can you send a few sample images from the failed import to <email address hidden>? If we can get a file that can reliably trigger this assertion, it would greatly aid us in fixing it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in shotwell (Ubuntu):
status: New → Confirmed
Revision history for this message
Paweł Nadolski (paweln) wrote :

For me this problem occurred when I had corrupted vfat filesystem on sdcard and tried to import all photos.

When trying to copy photos from terminal I got Input/Output errors and the card remounted read only.

After recreating filesystem on sdcard I couldn't reproduce the problem (tried to copy bad files back to sdcard).

Changed in shotwell (Ubuntu):
status: Confirmed → Triaged
summary: - shotwell crashed with SIGABRT in raise()
+ shotwell crashed with SIGABRT in import_ui_get_media_specific_string():
+ "code should not be reached"
Changed in shotwell (Ubuntu):
status: Triaged → Fix Committed
Changed in shotwell (Ubuntu):
importance: Medium → High
Changed in shotwell (Ubuntu Oneiric):
importance: Undecided → High
status: New → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :
description: updated
Changed in shotwell (Ubuntu Oneiric):
status: In Progress → Fix Committed
assignee: nobody → Sebastien Bacher (seb128)
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Linux-ubuntu, or anyone else affected,

Accepted shotwell into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
David . (david-suisse1-deactivatedaccount-deactivatedaccount) wrote :

I do not see what you mean

Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've tested the proposed package and its working fine so far, importing/exporting works, and the other functionalities are working fine as well (browsing, tagging, etc). Marking this as verification-done . Thanks all.

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

This bug was fixed in the package shotwell - 0.11.4-0ubuntu1

---------------
shotwell (0.11.4-0ubuntu1) oneiric-proposed; urgency=low

  * New upstream version:
    - don't abort on corrupted video import (lp: #862347)
 -- Sebastien Bacher <email address hidden> Tue, 18 Oct 2011 15:10:48 +0200

Changed in shotwell (Ubuntu):
status: Fix Committed → Fix Released
Changed in shotwell (Ubuntu Oneiric):
status: Fix Committed → Fix Released
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.