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

NEW
Unassigned

Status

Firefox OS
Gaia::Gallery
P1
normal
4 years ago
2 years ago

People

(Reporter: sync-1, Unassigned)

Tracking

(Blocks: 1 bug)

unspecified

Firefox Tracking Flags

(blocking-b2g:-)

Details

Attachments

(2 attachments)

245.98 KB, image/x-png
Details
log
5.44 MB, text/plain
Details
(Reporter)

Description

4 years ago
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:
(Reporter)

Comment 1

4 years ago
Clone from brother
(Reporter)

Comment 2

4 years ago
Created attachment 809617 [details]
picture
(Reporter)

Comment 3

4 years ago
Clone from brother
(Reporter)

Comment 4

4 years ago
Created attachment 809618 [details]
log

Comment 5

4 years ago
Hi.everyone. Is there any advance?

Comment 6

4 years ago
Hi.everyone. Is there any advance?

Comment 7

4 years ago
Hi.everyone. Is there any advance?

Comment 8

4 years ago
Hi,everyone.Is there any advance?

Comment 9

4 years ago
Please someone pay attention to this issue.Could you give me some guess on the cause of this bug,please?

Comment 10

4 years ago
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.

Updated

4 years ago
blocking-b2g: --- → koi?
This is not a blocker for 1.2 - we've already shipped with this bug for 1.1.
blocking-b2g: koi? → -

Comment 12

4 years ago
Maybe a protection should be written for gallery and camera operating the picture MediaDb at the same time in order to avoid ko2 phenomenon.

Comment 13

4 years ago
Is this happening for a small set of deletes also?
Keywords: qawanted

Updated

4 years ago
QA Contact: lmauritson

Comment 14

4 years ago
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
Blocks: 1258652
You need to log in before you can comment on or make changes to this bug.