Crash on opening with corrupted picture

Bug #1529283 reported by Joël Bourgault
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

# Context

Due to some problem I don't understand now, Shotwell crashes while updating pictures metadata, resulting in empty or corrupted files.
[But that's not the point of this report. I may open a new ticket when I understand the root cause.]

# What happens
 it's that Shotwell now refuses to start, and report following error:

    joel@babasse-jojo:~$ shotwell
    L 2835 2015-12-25 20:14:36 [CRT] PhotoMonitor.vala:1069: Unable to reimport [9532] /home/joel/Images/2015-03-08 - déménagement à Pau/20150306_170000.jpg due to master file changing: Fin précoce de flux inattendue
    **
    GLib-GIO:ERROR:/build/glib2.0-ajuDY6/glib2.0-2.46.1/./gio/glocalfilemonitor.c:433:g_file_monitor_source_handle_event: code should not be reached
    Abandon (core dumped)

Please find the corrupted file attached (even if it's 0B long).

# What I would expect to happen

Shotwell should detect that the file is corrupted, and ignore it / raise an alert / tag it as missing or corrupted.

# Versions description

Shotwell package version: 0.22.0-0ubuntu5
Xubuntu version : 15.10

Revision history for this message
Joël Bourgault (joel-bourgault) wrote :

Complementary information: if I remove the identified 0B-long picture, shotwell goes further in starting but still crashes, only with the already-quoted Glib-IO error. This was likely due to another picture earlierly-corrupted by shotwell, that is attached here.

Revision history for this message
Joël Bourgault (joel-bourgault) wrote :

(dunno how to edit previous comment) If I remove the attached picture, shotwell still crashes during database loading.

AAAaah and of course, this happens when I have time to filter my pictures :-/

Vlad Orlov (monsta)
affects: shotwell (Ubuntu) → glib2.0 (Ubuntu)
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.