Closed Bug 56659 Opened 24 years ago Closed 23 years ago

[MLK] Leaking nsPluginInstanceOwner (cycle with nsTimerImpl)

Categories

(Core Graveyard :: Plug-ins, defect, P3)

PowerPC
Mac System 8.6
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 85231
mozilla1.0.1

People

(Reporter: beard, Assigned: peterlubczynski-bugs)

Details

(Keywords: memory-leak)

Attachments

(1 file)

We have a cycle of references between nsPluginInstanceOwner and nsTimerImpl 
objects. This is causing plugin instances to leak, which could have a large 
impact on memory. I don't know if this leak is XP, as there are lots of #ifdefs 
in nsObjectFrame.cpp, but this should be investigated soon.
Keywords: mlk
Not a Netscape 6 RTM blocker. FUTURE. This bug has been marked Future because
the Netscape engineer it is assigned to is overburdened.
Target Milestone: --- → Future
Memory leaks should be fixed.

David Baron: can I get some help on fixing this on Mac?
Assignee: av → peterlubczynski
Target Milestone: Future → mozilla1.0.1
Is there any reason to think this is Mac only?  (FWIW, I can help with things
that are only on Linux, but not Mac...)
Status: NEW → ASSIGNED
Just discussed this with bnesse (who suspects it of being the cause of some
other bug):  solution is probably to null |mTimer| in
nsPluginInstanceOwner::CancelTimer, which would fix the problem in every case
except if the frame tree leaks due to a leaked pres shell.
This bug is the root cause of bug 85231. Duping to that one because it has all
the right keywords. :)

*** This bug has been marked as a duplicate of 85231 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
marking verified
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: