Closed Bug 996357 Opened 10 years ago Closed 10 years ago

[Tarako][Keyboard][Camera] After taking very large, hi res picture (memory pressure), keyboard becomes unresponsive

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v1.3 unaffected, b2g-v1.3T affected)

RESOLVED WORKSFORME
1.4 S6 (25apr)
Tracking Status
b2g-v1.3 --- unaffected
b2g-v1.3T --- affected

People

(Reporter: jhammink, Unassigned)

Details

(Keywords: memory-footprint, perf, Whiteboard: OOM, [c=memory p= s=2014.04.25 u=] [MemShrink:P3])

Attachments

(2 files)

Attached image color_test1mb.png
[Device]
  Tarako
---------------------------------------------
Gaia      0e7f21e61625b75a9149480cd5a259211549f020
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/3b02811c314a
BuildID   20140414004001
Version   28.1
ro.build.version.incremental=215
ro.build.date=Mon Mar 31 10:11:50 CST 2014
---------------------------------------------
[STR]
1. Launch Camera.  Position "Color Test" picture on monitor at center of viewport, focusing on colorful area.  Take several pictures.  Try to edit some of the pictures.
2.  Open Calendar and try to create an event.

---------------------------------------------
[Expected Result]
 Keyboard should be responsive when text in any field.

---------------------------------------------
[Actual Result]
Keyboard is unresponsive.
Attached file dmesg.log
repro rate: 2/5
No longer depends on: 982545
Blocks: 996361
No longer blocks: 996361
Can we confirm this doesn't reproduce on 1.3?
Component: Gaia::Dialer → Gaia::Keyboard
Keywords: qawanted
Gaia      03340f9b00343512066ab0dceca1641ef9a5374c
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/0b0822ffdbf8
BuildID   20140414164003
Version   28.0
ro.build.version.incremental=324
ro.build.date=Thu Dec 19 14:04:55 CST 2013
Buri

Doesn't happen on Buri.  (At least not with the STR given).

Looking at John's dmesg log : 
<4>0[ 1453.730432] select 2517 (Calendar), adj 10, size 5852, to kill
<4>0[ 1453.730500] send sigkill to 2517 (Calendar), adj 10, size 5852

The Calendar app got killed.
Keywords: qawantedfootprint, perf
Whiteboard: OOM → OOM, [c=memory p= s= u=] [MemShrink]
Can we get reduced STR to reproduce this bug?
Keywords: qawanted
update more information here, this issue may related with bug#998213
root cause please refer to bug#998213 comment 9
Whiteboard: OOM, [c=memory p= s= u=] [MemShrink] → OOM, [c=memory p= s= u=] [MemShrink:P3]
I OOMed (app exits to homescreen) 5 out of 10 times when trying to edit and save any picture taken by the Tarako. According to bug 998095, the threshold of the edit function is around 310KB, and each picture the Tarako takes exceeds ~500KB.

With the 5 attempts that I didn't OOM, I could NOT reproduce this bug. The keyboard correctly invokes and responds to key pressings when adding an event on Calendar.
Keywords: qawanted
Forgot to include my device

Device: Tarako 1.3T MOZ
BuildID: 20140424014003
Gaia: 706f474230432c8cb01e124aee2c055ec902aa1d
Gecko: 26ef3dded9ff
Version: 28.1
Firmware Version: sp6821a_gonk4.0_user.pac
ok - I'm going to close this as a wfm per comment 7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Whiteboard: OOM, [c=memory p= s= u=] [MemShrink:P3] → OOM, [c=memory p= s=2014.04.25 u=] [MemShrink:P3]
Target Milestone: --- → 1.4 S6 (25apr)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: