gallery-app freezes when SD card is full of photos
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-
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_
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
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 1004 lines (+377/-183)12 files modifiedsrc/gallery-application.cpp (+24/-12)
src/gallery-application.h (+1/-0)
src/gallery-manager.cpp (+35/-13)
src/gallery-manager.h (+4/-1)
src/media-object-factory.cpp (+186/-88)
src/media-object-factory.h (+50/-17)
src/media/media-collection.cpp (+3/-0)
src/media/media-collection.h (+1/-0)
src/media/media-monitor.cpp (+4/-20)
src/media/media-monitor.h (+2/-3)
tests/unittests/mediaobjectfactory/tst_mediaobjectfactory.cpp (+56/-28)
tests/unittests/stubs/gallery-manager_stub.cpp (+11/-1)
description: | updated |
Changed in gallery-app: | |
status: | New → In Progress |
assignee: | nobody → Arthur Mello (artmello) |
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 |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in gallery-app: | |
status: | In Progress → Fix Released |
This bug was fixed in the package gallery-app - 0.0.67+ 15.04.20150125. 1-0ubuntu1
--------------- 15.04.20150125. 1-0ubuntu1) vivid; urgency=low
gallery-app (0.0.67+
[ 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