Closed
Bug 1157467
Opened 10 years ago
Closed 10 years ago
test_request_context.html leaks when run with e10s
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla40
People
(Reporter: mccr8, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files)
8.67 KB,
text/plain
|
Details | |
1.93 KB,
patch
|
nsm
:
review+
|
Details | Diff | Splinter Review |
This isn't visible right now because the content process leak threshold is fairly high (20kb) due to some GMP issues that have since been fixed. If you can't fix this quickly, I'd like to disable this test for e10s.
Reporter | ||
Updated•10 years ago
|
tracking-e10s:
--- → ?
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(ehsan)
Reporter | ||
Comment 1•10 years ago
|
||
There are still e10s leaks with this test disabled, just about 5kb of them.
Assignee | ||
Comment 2•10 years ago
|
||
Please don't disable the test. Instead, please tell me something about the leak that would help me diagnose it? :-)
Flags: needinfo?(ehsan) → needinfo?(continuation)
Reporter | ||
Comment 3•10 years ago
|
||
To reproduce the leak, disable test_fetch_event.html (which also leaks) then run this:
./mach mochitest-plain --e10s dom/workers/test/serviceworkers/
Reporter | ||
Comment 4•10 years ago
|
||
This file contains information about the objects that are leaked. Note the top set of leaked objects are things we always leak, so you can ignore those in the second list. I also included the leaked URLs and some weird assertions I see.
The most interesting thing in the list of leaked objects is probably the doc shell, though there are a few networking and plugin related things in there too which seems a little odd.
Flags: needinfo?(continuation)
Reporter | ||
Comment 5•10 years ago
|
||
I'm not sure how much this helps, but that's what I know. I'll see if a CC log produces anything useful.
Flags: needinfo?(ehsan)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ehsan
Flags: needinfo?(ehsan)
Assignee | ||
Comment 6•10 years ago
|
||
Do not question what you see in this patch. It's black arts.
Attachment #8597434 -
Flags: review?(nsm.nikhil)
Assignee | ||
Updated•10 years ago
|
Blocks: ServiceWorkers-v1
Comment on attachment 8597434 [details] [diff] [review]
Work around leaks in test_request_context.html in e10s
Review of attachment 8597434 [details] [diff] [review]:
-----------------------------------------------------------------
This seems like a band-aid. Any idea why we really leak? Does this have something to do with plugins running in a separate process?
Anyway, please remove the 'black arts' description when landing ;)
Attachment #8597434 -
Flags: review?(nsm.nikhil) → review+
Reporter | ||
Comment 8•10 years ago
|
||
Yeah, I can file a bug about fixing the actual leak the current case reveals.
Flags: needinfo?(continuation)
Assignee | ||
Comment 9•10 years ago
|
||
I really have no idea. There are two issues here, one having something to do with XSLT holding the document alive until shutdown, and one with code that handles the network loads made from within a plugin. Neither is really something that I'm familiar with, and I'd rather not spend time debugging these leaks honestly.
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Reporter | ||
Comment 12•10 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #8)
> Yeah, I can file a bug about fixing the actual leak the current case reveals.
Filed bug 1162229.
Flags: needinfo?(continuation)
You need to log in
before you can comment on or make changes to this bug.
Description
•