gallery-app freezes when SD card is full of photos

Bug #1413952 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Unassigned
gallery-app
Fix Released
Critical
Arthur Mello
gallery-app (Ubuntu)
Fix Released
Critical
Unassigned
gallery-app (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

current build number: 209
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed

com.ubuntu.gallery 2.9.1.1132

The gallery app completely hangs when there are lot of pictures on the SD Card (spinner) and doesn't recover.

A real world scenario would be a user using an SD Card from a previous device and already loaded with content.

Test Case:
1. Fill the SD card with pictures
$ for n in $(seq -w 3000); do cp <reference_picture>.jpg <path_to_sdcard>/Pictures/picture_${n}.jpg; done

2. Wait until mediascanner finishes indexing the photos
3. Open the gallery app

Expected Result
gallery app is working fine and responsive

Actual Result
The gallery app completely hangs and doesn't recover.

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
Arthur Mello (artmello)
Changed in gallery-app:
status: New → In Progress
assignee: nobody → Arthur Mello (artmello)
Bill Filler (bfiller)
Changed in gallery-app:
importance: Undecided → Critical
Changed in gallery-app (Ubuntu):
importance: Undecided → Critical
Changed in canonical-devices-system-image:
milestone: none → ww05-2015
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+15.04.20150125.1-0ubuntu1

---------------
gallery-app (0.0.67+15.04.20150125.1-0ubuntu1) vivid; urgency=low

  [ Arthur Mello ]
  * Move MediaObjectFactory to another thread to make sure when we are
    loading multiple files we keep the interface responsible (LP:
    #1413952)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Sun, 25 Jan 2015 20:46:16 +0000

Changed in gallery-app (Ubuntu):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+15.04.20150126.2~rtm-0ubuntu1

---------------
gallery-app (0.0.67+15.04.20150126.2~rtm-0ubuntu1) 14.09; urgency=low

  [ Arthur Mello ]
  * Do not create objects if the file was removed from the time the
    create was requested and when it was started

  [ Florian Boucault ]
  * Do not create objects if the file was removed from the time the
    create was requested and when it was started

  [ Ubuntu daily release ]
  * New rebuild forced

gallery-app (0.0.67+15.04.20150125.1-0ubuntu1) vivid; urgency=low

  [ Arthur Mello ]
  * Move MediaObjectFactory to another thread to make sure when we are
    loading multiple files we keep the interface responsible (LP:
    #1413952)

  [ Ubuntu daily release ]
  * New rebuild forced

gallery-app (0.0.67+15.04.20150121.1-0ubuntu1) vivid; urgency=low

  [ Bill Filler ]
  * merge lp:~bfiller/gallery-app/sd-card-rules

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Ugo Riboni ]
  * Directly downscale the images for the viewer instead of asking the
    thumbnailer to do it (which it would do incorrectly) (LP: #1412442)
  * Make sure the first time a photo is added to the database we read
    the actual size save it to the database (LP: #1404170)
 -- Ubuntu daily release <email address hidden> Mon, 26 Jan 2015 18:41:06 +0000

Changed in gallery-app (Ubuntu RTM):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
Bill Filler (bfiller)
Changed in gallery-app:
status: In Progress → Fix Released
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.