[B2G][2.0][Browser] When the user sign in to Pinterest.com, a OOM occurs

RESOLVED WORKSFORME

Status

Firefox OS
Performance
P1
blocker
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: Petes, Unassigned)

Tracking

({memory-footprint, perf, regression})

unspecified
2.1 S1 (1aug)
ARM
Gonk (Firefox OS)
memory-footprint, perf, regression

Firefox Tracking Flags

(blocking-b2g:2.0+, b2g-v1.4 unaffected, b2g-v2.0 affected, b2g-v2.1 affected)

Details

(Whiteboard: c=memory p= s=2014.08.01.t u=2.0] [273MB-Flame-Support] [2.0-exploratory] [MemShrink:P2][, URL)

Attachments

(3 attachments)

(Reporter)

Description

4 years ago
Created attachment 8455677 [details]
pi.txt

Description:
When the user sign in to Pinterest.com, the browser crash/OOM occurs

Setup Steps:
1) Flame device is set to 273mb

Repro Steps:
1) Update a Flame device to BuildID: 20140714000202
2) Go to Browser
3) Sign in to Pinterest.com


Actual:
the browser crash/OOM occurs

Expected:
the browser crash/OOM occurs does not occur 

Environmental Variables:
Device: Flame 2.0
BuildID: 20140714000202
Gaia: ca022f811bcbbda0f89086094a9e92bb220fea18
Gecko: 376889ab0e02
Version: 32.0a2 (2.0) 
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0


Repro frequency: 100%
See attached: video, logcat, https://www.youtube.com/watch?v=h_8vPuoujfU
(Reporter)

Comment 1

4 years ago
This issue reproduces on the Flame 2.1 (273mb), and the Flame Base v122(273mb). the browser crash/OOM occurs

Flame 2.1 (273mb)

Environmental Variables:
Device: Flame Master
Build ID: 20140714040201
Gaia: 88e0a972280bb35847c010b8c3f1481fa80f3847
Gecko: f7aef4fc9d47
Version: 33.0a1 (Master) 
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0



Flame Base v122(273mb)

Environmental Variables:
Device: Flame 1.3
Build ID: 20140610200025
Gaia: e106a3f4a14eb8d4e10348efac7ae6dea2c24657
Gecko: b637b0677e15318dcce703f0358b397e09b018af
Version: 28.0 (1.3)
Firmware Version: v121-2
User Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0
_________________________________________________________________________________________________________________________________


The issue does not reproduce on the Buri 2.1, Open_C 2.1, Flame 2.0(512mb), Buri 2.0, Open_C 2.0, Flame 1.4(273mb), Buri 1.4 and the Open_C 1.4. The browser crash/OOM occurs does not occur 

Buri 2.1

Environmental Variables:
Device: Buri Master
Build ID: 20140714073123
Gaia: 88e0a972280bb35847c010b8c3f1481fa80f3847
Gecko: 340b19c14d3d
Version: 33.0a1 (Master) MOZ
Firmware Version: v1.2device.cfg
User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0

Open_C 2.1

Environmental Variables:
Device: Open_C Master
Build ID: 20140714040201
Gaia: 88e0a972280bb35847c010b8c3f1481fa80f3847
Gecko: f7aef4fc9d47
Version: 33.0a1 (Master) 
Firmware Version: P821A10V1.0.0B06_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0

Flame 2.0(512mb)

Environmental Variables:
Device: Flame 2.0
BuildID: 20140714000202
Gaia: ca022f811bcbbda0f89086094a9e92bb220fea18
Gecko: 376889ab0e02
Version: 32.0a2 (2.0) 
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Buri 2.0

Environmental Variables:
Device: Buri 2.0
BuildID: 20140714000202
Gaia: ca022f811bcbbda0f89086094a9e92bb220fea18
Gecko: 376889ab0e02
Version: 32.0a2 (2.0) 
Firmware Version: v1.2device.cfg
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Open_C 2.0

Environmental Variables:
Device: Open_C 2.0
Build ID: 20140714000202
Gaia: ca022f811bcbbda0f89086094a9e92bb220fea18
Gecko: 376889ab0e02
Version: 32.0a2 (2.0)
Firmware Version: P821A10V1.0.0B06_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Flame 1.4(273MB)

Environmental Variables:
Device: Flame 1.4
Build ID: 20140714000206
Gaia: b7d36622c7df92c976c37520ccab25199c7ada91
Gecko: dbebcdab47aa
Version: 30.0 (1.4)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

Buri 1.4

Environmental Variables:
Device: Buri 1.4
Build ID: 20140714000206
Gaia: b7d36622c7df92c976c37520ccab25199c7ada91
Gecko: dbebcdab47aa
Version: 30.0 (1.4)
Firmware Version: v1.2device.cfg
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

Open_C 1.4

Environmental Variables:
Device: Open_C 1.4
Build ID: 20140714000206
Gaia: b7d36622c7df92c976c37520ccab25199c7ada91
Gecko: dbebcdab47aa
Version: 30.0 (1.4)
Firmware Version: P821A10V1.0.0B06_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Nominating to block, is a top site and is a regression from 1.4 at 273MB.  Requesting window.
blocking-b2g: --- → 2.0?
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Keywords: regression, regressionwindow-wanted
Unable to provide Regression Window.  

Issue DOES occur in the earliest Flame Master build we have access to. 

Environmental Variables:
Device: Flame Master
Build ID: 20140417000006
Gaia: 7591e9dc782ac2e97d63a96f9deb71c7b3588328
Gecko: e71ed4135461
Version: 31.0a1 (Master)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:31.0) Gecko/31.0 Firefox/31.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: regressionwindow-wanted

Updated

4 years ago
QA Contact: ddixon
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
(In reply to Duane Dixon [:ddixon] from comment #3)
> Unable to provide Regression Window.  
> 
> Issue DOES occur in the earliest Flame Master build we have access to. 
> 
> Environmental Variables:
> Device: Flame Master
> Build ID: 20140417000006
> Gaia: 7591e9dc782ac2e97d63a96f9deb71c7b3588328
> Gecko: e71ed4135461
> Version: 31.0a1 (Master)
> Firmware Version: v122
> User Agent: Mozilla/5.0 (Mobile; rv:31.0) Gecko/31.0 Firefox/31.0

This build has old homescreen right?
Flags: needinfo?(ddixon)
blocking-b2g: 2.0? → 2.0+
Gregor, yes, the build listed in comment 3 uses the old homescreen.
Flags: needinfo?(ddixon)

Updated

4 years ago
Component: Gaia::Browser → Performance
Keywords: footprint, perf
Whiteboard: [273MB-Flame-Support] [2.0-exploratory] → [273MB-Flame-Support] [2.0-exploratory] [MemShrink]
Whiteboard: [273MB-Flame-Support] [2.0-exploratory] [MemShrink] → [273MB-Flame-Support] [2.0-exploratory] [MemShrink:P2]

Comment 6

4 years ago
QA, can you please collect comparison get_about_memory.py reports on flame v1.4 and v2.1 with 512MB memory?  Please make sure to use the '-m' flag in order to force a minimization.   This will let us compare the footprint of the pinterest website.

Also, please make sure to test a recent revision which includes the low memory homescreen work.
Keywords: qawanted

Comment 7

4 years ago
[Blocking Requested - why for this release]:
Should we have reasonable testing environment first, especially for LMK / OOMK / ZRAM size,... in kernel configuration? Thanks.
blocking-b2g: 2.0+ → 2.0?
We have similar issue on Tarako earlier, please check Gabriele's comment at bug 972130 comment 35. This could be depending on whether memory pressure is triggered or not.
(In reply to Kevin Hu [:khu] from comment #7)
> [Blocking Requested - why for this release]:
> Should we have reasonable testing environment first, especially for LMK /
> OOMK / ZRAM size,... in kernel configuration? Thanks.

Updated QA Wanted request - can we retest this on 319 MB Flame.
Issue DOES occur with 319 MB memory on Flame device. 

Actual Results: 
Signing into Pinterest.com and scrolling/selecting images crashes Browser App. 

Environmental Variables:
Device: Flame Master (319 MB)
Build ID: 20140724063605
Gaia: c72257b2d27135bfcd68e89dd584182797784016
Gecko: 616e6924cb0b
Version: 34.0a1 (Master)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Flags: needinfo?(jmitchell)
Keywords: qawanted
Issue DOES occur with 319 MB memory on Flame 2.0 build

Actual Results: (see comment 10)

Environmental Variables:
Device: Flame 2.0
Build ID: 20140721082721
Gaia: b9d19011123487009c80d1200937652d58c434a0
Gecko: d69cd84b6824
Version: 32.0a2 (2.0)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
QA-Wanted tag still for comment 6
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
Created attachment 8462667 [details]
get_memory file (512 MB) 2.1
Created attachment 8462668 [details]
get_memory file (512 MB) 1.4
(In reply to Ben Kelly [:bkelly] from comment #6)
> QA, can you please collect comparison get_about_memory.py reports on flame
> v1.4 and v2.1 with 512MB memory?  Please make sure to use the '-m' flag in
> order to force a minimization.   This will let us compare the footprint of
> the pinterest website.
> 
> Also, please make sure to test a recent revision which includes the low
> memory homescreen work.

I completed the get_about_memory.py process for the Flame device on 512 MB for both a 1.4 and 2.1 build. Both files are in the attachment field above (ex:  "get_memory file (512 MB) 2.1") 

Environmental Variables:

Device: Flame Master
Build ID: 20140725034810
Gaia: 3a06aa58245eaf848242d6d1497c1af536fffabd
Gecko: 6c0971104909
Version: 34.0a1 (Master)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

Environmental Variables:
Device: Flame 1.4
Build ID: 20140721000201
Gaia: 621d152f89347c79619aa909ad62cc2ac9d3ab5b
Gecko: 83b7be7fb33f
Version: 30.0 (1.4)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)

Updated

4 years ago
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][lead-review+]

Updated

4 years ago
QA Whiteboard: [QAnalyst-Triage+][lead-review+]
Keywords: regressionwindow-wanted
Comment 3 is re-confirmed for 319 mem
----------------------------------------------

Unable to provide Regression Window.  

Issue DOES occur in the earliest Flame Master build we have access to. 

Environmental Variables:
Device: Flame Master
Build ID: 20140417000006
Gaia: 7591e9dc782ac2e97d63a96f9deb71c7b3588328
Gecko: e71ed4135461
Version: 31.0a1 (Master)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:31.0) Gecko/31.0 Firefox/31.0
QA Whiteboard: [QAnalyst-Triage+]
Keywords: regressionwindow-wanted
Marking as blocking as Pinterest is a top site and this appears to be a regression in Firefox OS.
blocking-b2g: 2.0? → 2.0+
The memory reports from comments 13 and 14 appear to be from desktop Firefox ...
Keywords: qawanted
Priority: -- → P1
Whiteboard: [273MB-Flame-Support] [2.0-exploratory] [MemShrink:P2] → [273MB-Flame-Support] [2.0-exploratory] [MemShrink:P2][c=memory p= s= u=2.0]
QA Contact: ddixon
Just an update, I can't get the browser to crash/LMK on Pinterest.com with Flame 319MB. Been browsing on it for ~5min and no crash.

Device: Flame (319MB mem)
Build ID: 20140730063205
Gaia: 3f9323d3b3ae8541fd84125a3b3a136bd018dedc
Gecko: 3fe40fbaee6d
Version: 32.0 (2.0)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
I can also confirm that this no longer repros in either 2.0 or 2.1 (319 mem)


Device: Flame Master
Build ID: 20140730141509
Gaia: b67ddd7d40b52e65199478b8d6631c2c28fdf41d
Gecko: 005424a764da
Version: 34.0a1 (Master)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0


Device: Flame 2.0
Build ID: 20140730145104
Gaia: 9369f7f9a4795d7d554c6c1ddb3c7daee3e4f994
Gecko: a07797dc0fe8
Version: 32.0 (2.0)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Keywords: qawanted
Resolution: --- → WORKSFORME

Updated

4 years ago
Severity: normal → blocker
Whiteboard: [273MB-Flame-Support] [2.0-exploratory] [MemShrink:P2][c=memory p= s= u=2.0] → c=memory p= s=2014.08.01.t u=2.0] [273MB-Flame-Support] [2.0-exploratory] [MemShrink:P2][

Updated

4 years ago
Target Milestone: --- → 2.1 S1 (1aug)
You need to log in before you can comment on or make changes to this bug.