[Bug 1529283] [NEW] Crash on opening with corrupted picture

Launchpad Bug Tracker 1529283 at bugs.launchpad.net
Sat Aug 26 15:51:59 UTC 2017


You have been subscribed to a public bug:

# 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 at 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

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Crash on opening with corrupted picture
https://bugs.launchpad.net/bugs/1529283
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.



More information about the foundations-bugs mailing list