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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
e10s ? ---
firefox40 --- fixed

People

(Reporter: mccr8, Assigned: ehsan.akhgari)

References

Details

Attachments

(2 files)

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.
tracking-e10s: --- → ?
Flags: needinfo?(ehsan)
See Also: → 1157468
There are still e10s leaks with this test disabled, just about 5kb of them.
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)
To reproduce the leak, disable test_fetch_event.html (which also leaks) then run this: ./mach mochitest-plain --e10s dom/workers/test/serviceworkers/
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)
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: nobody → ehsan
Flags: needinfo?(ehsan)
Do not question what you see in this patch. It's black arts.
Attachment #8597434 - Flags: review?(nsm.nikhil)
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+
Yeah, I can file a bug about fixing the actual leak the current case reveals.
Flags: needinfo?(continuation)
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.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
(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.

Attachment

General

Created:
Updated:
Size: