Closed
Bug 5806
Opened 25 years ago
Closed 25 years ago
MLK: the editor is leaked.
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
VERIFIED
FIXED
M8
People
(Reporter: sfraser_bugs, Assigned: sfraser_bugs)
References
()
Details
We currently don't dispose of the editor app core on closing an editor window.
This is bad, since it holds a bunch of references to other things.
Assignee | ||
Updated•25 years ago
|
Hardware: Macintosh → All
Target Milestone: M5
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M5 → M6
Assignee | ||
Comment 1•25 years ago
|
||
It seems that there are a number of problems preventing this from working right
now. The onunload handler in XUL doesn't seem to get called, so I don't
have a chance to remove the editor app core from the app cores manager's list.
M6
Assignee | ||
Updated•25 years ago
|
Target Milestone: M6 → M7
Assignee | ||
Comment 2•25 years ago
|
||
This depends on the onunload bugs being fixed. M7
Assignee | ||
Updated•25 years ago
|
Summary: MLK: the editor app core is leaked. → MLK: the editor core is leaked.
Assignee | ||
Comment 3•25 years ago
|
||
Changed to the editor is leaked. See also the bugs in the URL.
Assignee | ||
Comment 4•25 years ago
|
||
OK, so the refCount of the editor when the editor appcore goes away is 5. A whole
bunch of things (notably event listeners) are holding on to editor references,
and my guess is that they shouldn't be.
Assignee | ||
Updated•25 years ago
|
Summary: MLK: the editor core is leaked. → MLK: the editor is leaked.
Assignee | ||
Comment 5•25 years ago
|
||
Fix summary.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•25 years ago
|
||
Fixed. There were a bunch of probs here, including 2 cases of circular ref
counts. Should all be fixed (for the moment).
Assignee | ||
Comment 8•25 years ago
|
||
Sujay, can I ask how you verified this? It would be good to have a way to test
for leakage in case this problem shows up again.
Oops, this one was accidentally marked VERIFIED-FIXED...I thought this
was some other bug...I'm re-opening....
its a low level issue, I have no way to verify this one...
Comment 10•25 years ago
|
||
Clearing Fixed resolution.
Comment 11•25 years ago
|
||
looks like fixed should remain..
verification needs to be worked on
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 12•25 years ago
|
||
need help verifying this bug....anyone? thanks! please mark verified-fixed.
Assignee | ||
Updated•25 years ago
|
Whiteboard: Need to verify if 8248 is fixed, and if that fixes this.
Assignee | ||
Comment 13•25 years ago
|
||
This bug is not fixed, and I have removed the dependency on 8248, which is fixed.
Assignee | ||
Updated•25 years ago
|
Resolution: FIXED → ---
Whiteboard: Need to verify if 8248 is fixed, and if that fixes this.
Assignee | ||
Comment 14•25 years ago
|
||
I've debugged this to death, and as far as I can see, the XPConnect-wrapped
objects are still not being garbage collected. I need to debug this with jband.
If this really is a problem, then this bug is pretty serious, and should stay
on M7. I've left voicemail for jband.
Assignee | ||
Updated•25 years ago
|
Whiteboard: There is serious leakage all over.
Assignee | ||
Comment 15•25 years ago
|
||
Preliminary investigation shows that wehshells and webshellwindows are also being
leaked. This should certainly stay on M7.
Updated•25 years ago
|
Whiteboard: There is serious leakage all over. → Investigating -> There is serious leakage all over.
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•25 years ago
|
||
I verified in the debugger that the editor is deleted when closing an editor
window.
Comment 17•25 years ago
|
||
Simon, does that mean we can mark this bug VERIFIED-FIXED?
The comments in the whiteboard(serious leakage) lead me
to believe that the bug needs to be re-opened?
Assignee | ||
Updated•25 years ago
|
Whiteboard: Investigating -> There is serious leakage all over.
Assignee | ||
Comment 18•25 years ago
|
||
Cleaned whiteboard. This can be marked verified.
Comment 19•25 years ago
|
||
marking verified fixed...
You need to log in
before you can comment on or make changes to this bug.
Description
•