Closed Bug 912723 Opened 12 years ago Closed 8 years ago

[B2G][Gallery] Able to edit photos while either internal or SDCard have low storage which can lead to an OOM crash

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: laliaga, Unassigned)

References

Details

Attachments

(1 file)

Description: With either internal storage or the SDcard low on free space, the user is able to edit photos without a warning. Tapping save several times (with no message informing the user of low storage) caused the device to OOM crash and reboot. - Error produced when attempting to save the edited photo - 09-04 13:52:47.660: W/GraphicBufferAllocator(1189): alloc(1200, 795, 1, 00000300, ...) failed -12 (Out of memory) Repro Steps: 1) Updated Buri MozBuild ID: 20130904040205 2) Insert SDCard with less than 10MB of free space and contains photos. 3) Tap Gallery > Any photo > Edit photo. 4) Edit the photo with filters, etc. and tap Save. Actual: Image is not saved, and if tapped enough times causes the device to OOM crash and reboot Expected: Tapping "Edit Photo" displays a message informing the user to clear more space, and prevent them from editing until they do so. Environmental Variables Build ID: 20130904040205 Gecko: http://hg.mozilla.org/mozilla-central/rev/7ff96bd19c1c Gaia: b6c5bf1d24230bfed4a8f680e625fa2175001f82 Platform Version: 26.0a1 Notes: Repro frequency: 3/3 See attached: http://youtu.be/rgVcm43VTkY, Logcat_LowStorage_OOM_Crash.txt, https://crash-stats.mozilla.com/report/index/279df671-c4ba-4ace-84f8-f8e432130904
Blocks: low-storage
This looks to be the same bug as Bug 901559, and the crash stack is similar as well. I can reproduce without being low on free space.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 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: