Closed Bug 920348 Opened 11 years ago Closed 6 years ago

[Buri][Gallery]Delete a large number of photos,gallery crash

Categories

(Firefox OS Graveyard :: Gaia::Gallery, defect, P1)

defect

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: sync-1, Unassigned)

Details

Attachments

(2 files)

245.98 KB, image/x-png
Details
5.44 MB, text/plain
Details
Firefox os  v1.1
 Mozilla build ID:20130916041201
 
 Created an attachment (id=525061)
 picture
 
 DEFECT DESCRIPTION:
 Delete a large number of photos,gallery crash
 
 REPRODUCING PROCEDURES:
 Precondition: There are 1000 photos in the SD card
 
 1.Enter Gallery app
 2.Select all 1000 photos then click delete button to delete this photos
 3.Switch landscape and Portrait mode during delete photos-->gallery black screen after a while,re-enter the gallery,gallery crash-->ko1
   enter camera app and take pictures during delete photos,the pictures can't be saved-->ko2
 4.restart the phone,pop-up crash report-->ko3
 
 EXPECTED BEHAVIOUR:
 ko1:Can normally delete all photos and Gallery can be used noemally
 ko2:The pictures can be saved
 ko3:Restart the phone,crash report will not pop-up,and you can use the phone normally
 
 ASSOCIATE SPECIFICATION:
 
 TEST PLAN REFERENCE:
 
 TOOLS AND PLATFORMS USED:
 
 USER IMPACT:
 High
 
 REPRODUCING RATE:
 2/5
 
 For FT PR, Please list reference mobile's behavior:
Clone from brother
Attached image picture
Clone from brother
Attached file log
Hi.everyone. Is there any advance?
Hi.everyone. Is there any advance?
Hi.everyone. Is there any advance?
Hi,everyone.Is there any advance?
Please someone pay attention to this issue.Could you give me some guess on the cause of this bug,please?
enter camera app and take pictures during delete photos,the pictures can't be saved-->ko2
Maybe the reason of ko2 is that gallery and camera operate the picture MediaDb at the same time. Operate of Adding picture to storage in camera app is fail.
blocking-b2g: --- → koi?
This is not a blocker for 1.2 - we've already shipped with this bug for 1.1.
blocking-b2g: koi? → -
Maybe a protection should be written for gallery and camera operating the picture MediaDb at the same time in order to avoid ko2 phenomenon.
Is this happening for a small set of deletes also?
Keywords: qawanted
QA Contact: lmauritson
Tested with an increasing amount of photos.

Up until around 100 photos there is no crash.
At 125 photos, rotating the device back and forth from landscape to portrait and vice versa while deleting caused the UI to shrink in to the corner each rotation and eventually caused the gallery app to crash.

Device: Buri 1.4 MOZ
BuildID: 20140312040203
Gaia: 3005269d4dcabcc7d27eaf72bda44a969873af8c
Gecko: 23005b395ae8
Version: 30.0a1
Firmware Version: v1.2-device.cfg
Keywords: qawanted
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: