Closed
Bug 1103068
Opened 11 years ago
Closed 11 years ago
Child process leaks held alive by nsXPCWrappedJS (nsIWebProgressListener)
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
| Tracking | Status | |
|---|---|---|
| e10s | ? | --- |
People
(Reporter: mccr8, Assigned: ttaubert)
References
Details
(Keywords: memory-leak, Whiteboard: [MemShrink])
Attachments
(1 file)
|
1.79 KB,
patch
|
billm
:
review+
mccr8
:
feedback+
|
Details | Diff | Splinter Review |
This is a regression from bug 1099490. A bunch of docshell-y and JS stuff is being held alive by a JS implementation of nsIWebProgressListener.
Just looking at the patch, it looks like there is a new call to addProgressListener() without a corresponding removeProgressListener(). Could that be the problem? I'll try digging into this further.
| Reporter | ||
Updated•11 years ago
|
tracking-e10s:
--- → ?
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(ttaubert)
| Assignee | ||
Comment 1•11 years ago
|
||
That's probably because nsBrowserStatusFilter doesn't take a weak reference, unlike the nsDocLoader when calling addProgressListener().
Flags: needinfo?(ttaubert)
| Assignee | ||
Comment 2•11 years ago
|
||
Andew, can you try this please?
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #8527286 -
Flags: feedback?(continuation)
| Assignee | ||
Comment 3•11 years ago
|
||
Andrew. Sorry for the typo :/
| Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8527286 [details] [diff] [review]
0001-Bug-1103068-Stop-leaking-due-to-a-strong-reference-h.patch
This fixes the leak for me, thanks!
Sorry, I meant to include a way to reproduce the leak easily. You can just do:
./mach mochitest-plain --e10s dom/xbl/test/
Attachment #8527286 -
Flags: feedback?(continuation) → feedback+
| Assignee | ||
Updated•11 years ago
|
Attachment #8527286 -
Flags: review?(wmccloskey)
Comment on attachment 8527286 [details] [diff] [review]
0001-Bug-1103068-Stop-leaking-due-to-a-strong-reference-h.patch
Review of attachment 8527286 [details] [diff] [review]:
-----------------------------------------------------------------
Could we also remove _filter from the docshell? It's nice to do even if it's not necessary.
Attachment #8527286 -
Flags: review?(wmccloskey) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #5)
> Could we also remove _filter from the docshell? It's nice to do even if it's
> not necessary.
Sure!
| Assignee | ||
Comment 7•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Iteration: --- → 36.3
Points: --- → 1
Flags: qe-verify-
Flags: firefox-backlog+
Updated•11 years ago
|
Iteration: 36.3 → 37.1
Comment 8•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
You need to log in
before you can comment on or make changes to this bug.
Description
•