Closed
Bug 1168281
Opened 9 years ago
Closed 9 years ago
[MTBF] memory leak at Homescreen after running MTBF for a while
Categories
(Firefox OS Graveyard :: Stability, defect)
Tracking
(b2g-v2.2 fixed, b2g-master unaffected)
RESOLVED
FIXED
2.2 S14 (12june)
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | fixed |
b2g-master | --- | unaffected |
People
(Reporter: ashiue, Assigned: ting)
Details
Attachments
(2 files)
1.38 MB,
text/plain
|
Details | |
1.66 KB,
patch
|
automatedtester
:
review+
jocheng
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
After running MTBF about 20 hours, we found that memory Homescreen allocated increase from 54 MB to 98MB. Here are logs for refer: https://drive.google.com/a/mozilla.com/folderview?id=0B_lQ-lNDWe2ofjhWZU9RczBnekVOWVk4SnhHeXhjWFZDQ1pYQTlJZWpoMjRBQ1ZZQkpVRDA&usp=sharing Build info: Build ID 20150524162504 Gaia Revision de5942bd99b801d4d04b676f1e70a77e93115d95 Gaia Date 2015-05-22 19:38:55 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/1bd024f4e171 Gecko Version 37.0 Device Name hammerhead Firmware(Release) 5.1 Firmware(Incremental) eng.cltbld.20150524.201333 Firmware Date Sun May 24 20:13:50 EDT 2015 Bootloader HHZ12f
Reporter | ||
Updated•9 years ago
|
QA Whiteboard: [COM=MTBF-Nexus5L]
Assignee | ||
Comment 2•9 years ago
|
||
Can we get memory reports before and after the test? Please use argument "-m" to GC/CC to get the report.
Flags: needinfo?(janus926) → needinfo?(ashiue)
Reporter | ||
Comment 3•9 years ago
|
||
OK, I will get memory report via -m argument after the test finished. About getting report before test, I would try to get them from next run.
Flags: needinfo?(ashiue)
Updated•9 years ago
|
status-b2g-v2.2:
--- → affected
Reporter | ||
Comment 4•9 years ago
|
||
Here are logs from MTBF local run (running about 24 hours): https://drive.google.com/open?id=0B_lQ-lNDWe2ofjFkcW4tMUNXa3huQndqam9GdXg5REl0amVrY0ZzQzZzTXVOUURWVHJuRkE&authuser=1 We also got homescreen memory info per minute after mtbf testing finished and we killed all running processes which launched via MTBF testing.
Assignee | ||
Comment 5•9 years ago
|
||
This is the sorted list of the output from census.py [1] of Homescreen's gc edges after running MTBF 24 hours. There're plenty of shapes and SpecialPowers instances. I'm figuring out how are they instantiated. [1] https://github.com/amccreight/heapgraph/blob/master/g/census.py
Assignee | ||
Comment 6•9 years ago
|
||
The troublesome code does not exist on master, so only patch for v2.2. Alison, can we setup some devices to make sure the issue goes away?
Flags: needinfo?(ashiue)
Assignee | ||
Updated•9 years ago
|
Attachment #8612756 -
Flags: review?(dburns)
Assignee | ||
Updated•9 years ago
|
status-b2g-master:
--- → unaffected
Assignee | ||
Comment 7•9 years ago
|
||
Clear NI since I have passed Alison a device with the patch included. Will check on Monday.
Flags: needinfo?(ashiue)
Updated•9 years ago
|
Attachment #8612756 -
Flags: review?(dburns) → review+
Comment 8•9 years ago
|
||
Below are the logs of local run with patch in comment #6. Before run: https://drive.google.com/drive/#folders/0B_lQ-lNDWe2ofjhWZU9RczBnekVOWVk4SnhHeXhjWFZDQ1pYQTlJZWpoMjRBQ1ZZQkpVRDA/0B_lQ-lNDWe2ofkZhdnBuMHZnU1FQRXdmQUhlc3VKTERZTEtjQnFYaE1walhjSlB3ME5TY3c/0B_lQ-lNDWe2ofkRWN1BZLTgzZUI1QTNfVGk2NkZxazNhVTZxbkdFYUNkOS1mYk9pc3o2QUU After 7 hours run: https://drive.google.com/drive/#folders/0B_lQ-lNDWe2ofjhWZU9RczBnekVOWVk4SnhHeXhjWFZDQ1pYQTlJZWpoMjRBQ1ZZQkpVRDA/0B_lQ-lNDWe2ofkZhdnBuMHZnU1FQRXdmQUhlc3VKTERZTEtjQnFYaE1walhjSlB3ME5TY3c/0B_lQ-lNDWe2ofjJhY19aX29RcjllOFgxVnZVWVdxRklRb1BzVGR1WWhIc2tsbkxucE9pcVU
Comment 9•9 years ago
|
||
After 7 hours running, we found that the memory of Homescreen doesn't grow significantly. The memory usage of Homescreen is fluctuated.
Assignee | ||
Comment 10•9 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=bd10a7ee2d60
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8612756 [details] [diff] [review] patch v1 (b2g37) NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): 1048833 User impact if declined: possible leak from running marionette Testing completed: marionette unit test Risk to taking this patch (and alternatives if risky): low String or UUID changes made by this patch: none
Attachment #8612756 -
Flags: approval-mozilla-b2g37?
Updated•9 years ago
|
Attachment #8612756 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Assignee | ||
Comment 12•9 years ago
|
||
Sheriff, the bug does not exist on master, so patch for b2g37 only, thanks.
Keywords: checkin-needed
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → janus926
Status: NEW → ASSIGNED
Comment 13•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/066d969aebac
Keywords: checkin-needed
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S14 (12june)
You need to log in
before you can comment on or make changes to this bug.
Description
•