camera-app freezes when SD card is full of photos

Bug #1413950 reported by Jean-Baptiste Lallement
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Unassigned
camera-app
Fix Released
High
Florian Boucault
camera-app (Ubuntu)
Fix Released
Undecided
Unassigned
camera-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.camera 3.0.0.469

The camera app frequently hangs when there are lot of pictures on the SD Card. Sometimes it completely freezes with a black screen, sometimes it recovers after a few seconds.

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 camera app

Expected Result
Camera app is working fine and responsive

Actual Result
The camera app frequently hangs. Sometimes it completely freezes with a black screen, sometimes it recovers after a few seconds.

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Log file of the camera app when it freezes.

Changed in camera-app:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Florian Boucault (fboucault)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package camera-app - 3.0.0+15.04.20150125-0ubuntu1

---------------
camera-app (3.0.0+15.04.20150125-0ubuntu1) vivid; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Florian Boucault ]
  * Image quality setting: set "Fine Quality" to the maximum quality.
    More appropriate user wise and fixes failing AP test.
  * Asynchronously scan the filesystem for media. Fixes freeze at
    startup with a huge amount of media. Significantly faster deletion
    when deleting a huge amount of media. Taking a photo is now always
    fast even with a huge amount of media. (LP: #1413950)
  * SD Card: use app specific subfolder of Videos and Pictures to
    read/write videos and pictures.
  * Fixed issue where recording video on SD card prevents recording on
    internal storage later.
 -- Ubuntu daily release <email address hidden> Sun, 25 Jan 2015 03:06:33 +0000

Changed in camera-app (Ubuntu):
status: New → Fix Released
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww05-2015
importance: Undecided → Critical
Changed in canonical-devices-system-image:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package camera-app - 3.0.0+15.04.20150125~rtm-0ubuntu1

---------------
camera-app (3.0.0+15.04.20150125~rtm-0ubuntu1) 14.09; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Florian Boucault ]
  * Image quality setting: set "Fine Quality" to the maximum quality.
    More appropriate user wise and fixes failing AP test.
  * Asynchronously scan the filesystem for media. Fixes freeze at
    startup with a huge amount of media. Significantly faster deletion
    when deleting a huge amount of media. Taking a photo is now always
    fast even with a huge amount of media. (LP: #1413950)
  * SD Card: use app specific subfolder of Videos and Pictures to
    read/write videos and pictures.
  * Fixed issue where recording video on SD card prevents recording on
    internal storage later.
 -- Ubuntu daily release <email address hidden> Sun, 25 Jan 2015 03:06:33 +0000

Changed in camera-app (Ubuntu RTM):
status: New → Fix Released
Bill Filler (bfiller)
Changed in camera-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.