Closed Bug 967854 Opened 10 years ago Closed 10 years ago

[B2G][Rocketbar] OOM process killing apps when typing in search bar

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v2.0 unaffected, b2g-v2.1 unaffected)

RESOLVED WORKSFORME
2.0 S6 (18july)
Tracking Status
b2g-v2.0 --- unaffected
b2g-v2.1 --- unaffected

People

(Reporter: rkuhlman, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [c=memory p= s=2014.07.18.t u=] [mwcdemo2014])

Attachments

(1 file)

Attached file RocketbarClosesApp.txt
When the player activates the rocketbar and begins to type, any open apps will be closed. Unsaved data will be lost.

Repro Steps:
1) Updated Buri to BuildID: 20140204040201
2) Launch contact app.
3) Create a new contact and enter some details.
4) Press 'Home' button.
5) Tap on Rocketbar.
6) Type some text into the rocketbar.
7) Press 'Home' button.
8) Launch Contacts app.

Actual:
Contacts app has been closed and new contact details from step 3 are lost.

Expected:
Contacts app opens to new contact page with information from step 3 present.

Environmental Variables:
Device: Buri v1.4 Moz RIL
BuildID: 20140204040201
Gaia: 75e9691f02b9d18585c18a5434beeff39ee7ea20
Gecko: c150845d077d
Version: 30.0a1
Firmware Version: v1.2-device.cfg

Notes:
This issue occurs for all apps. The repro steps provided are just an example.

Repro frequency: 100%
See attached: logcat.
Seems like you're running into an OOM issue. I see this sometimes, but generally you can have a few apps open even with rocketbar and keyboard on a buri.
Keywords: perf
Summary: [B2G][Rocketbar]Typing into rocketbar force closes all apps. → [B2G][Rocketbar] OOM process killing apps when typing in search bar
Whiteboard: [mwcdemo2014] → [mwcdemo2014][c= p= s= u=]
While working on another bug I've noticed that the search app always stays in the foreground. I'm not sure if this was intended behavior or not. The issue is that being in the foreground it takes ~7MiB of memory (USS) and due to how the LMK works it's never getting killed in low memory situations.

If this was not intentional then this is a pretty bad regression and we should fix it ASAP. This essentially reduces the maximum amount of memory a single fullscreen application can use before being killed by ~7MiB.
Thanks for the info Gabriele. I think moving the Search app into an appWindow should fix this as well, and we should start working on this in the next few weeks.
Priority: -- → P3
Whiteboard: [mwcdemo2014][c= p= s= u=] → [mwcdemo2014][c=memory p= s= u=]
I don't see this with 512 mb flame.  Can someone try to reproduce in 2.0/2.1 please?
Flags: needinfo?(rkuhlman)
Keywords: qawanted
This bug does NOT repro on: Flame 2.1 Master, Flame 2.0, Buri 2.1

Actual Results: Having info entered into the Contacts fields then pressing HOME to go to rocketbar/e.me then returning to contacts does not delete the information in the fields.

Environmental Variables:
Device: Flame Master
BuildID: 20140716065602
Gaia: d29773d2a011825fd77d1c0915a96eb0911417b6
Gecko: f6e46d1fc903
Version: 33.0a1 (Master) 
Firmware Version: v122
-----------------------------------------------
Environmental Variables:
Device: Flame 2.0
Build ID: 20140716084350
Gaia: 5fa5611fc747d397dbaa2c5ccdc776f1dfd2b6e8
Gecko: 3045ff641a0b
Version: 32.0a2 (2.0)
Firmware Version: v122
-----------------------------------------------
Environmental Variables:
Device: Buri Master
Build ID: 20140716065602
Gaia: d29773d2a011825fd77d1c0915a96eb0911417b6
Gecko: f6e46d1fc903
Version: 33.0a1 (Master)
Firmware Version: v1.2device.cfg
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
QA Contact: croesch
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
Removing Needinfo because question has been answered by Cody Roesch
Flags: needinfo?(rkuhlman)
Resolving to WFM.  I don't see this bug in 1.4 any more either.

Gaia      318f8d814d8930b5530bcb0badc1bb5bd0b5ef45
Gecko     https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/ef78ebf203e5
BuildID   20140708000310
Version   30.0
ro.build.version.incremental=324
ro.build.date=Thu Dec 19 14:04:55 CST 2013
Buri
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Whiteboard: [mwcdemo2014][c=memory p= s= u=] → [c=memory p= s=2014.07.18.t u=] [mwcdemo2014]
Target Milestone: --- → 2.0 S6 (18july)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: