← Back to team overview

desktop-packages team mailing list archive

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

 

Public bug reported:

# 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

** Affects: shotwell (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to shotwell in Ubuntu.
https://bugs.launchpad.net/bugs/1529283

Title:
  Crash on opening with corrupted picture

Status in shotwell package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1529283/+subscriptions