Ticket #364 (new defect)

Opened 4 months ago

Last modified 4 weeks ago

Frame's leak

Reported by: jchaffraix Assigned to: mbensi
Priority: major Milestone: Pukarua
Component: Bug Fix Version: 1.0
Keywords: Cc:
Number of hours worked: % Complete: 00
Number of hours remaining:

Description

There is a frame's memory leak related to changing location of a subframe.

To reproduce:

- Go to http://www.joelebeau.co.uk/testiframedestroy/ with a debug build - Click on the keyboard a few times - When exiting, you should see: LEAK: 6 Frame (where 6 is number of times you have clicks on your keyboard + 1).

See also http://owb.sand-labs.org/pipermail/owb-dev/2009-September/001200.html http://owb.sand-labs.org/pipermail/owb-dev/2009-October/001204.html

for the bug report and some investigation on owb-dev. Safari does not show the leak so it is an OWB-specific leak.

Change History

12/07/09 13:24:48 changed by jesseb

I did a little digging on this at one point and have a few pointers as to the cause. As far as I can tell it's caused by the reference held from WebFramePrivate to the Frame object which is never released. Also WebFrameLoaderClient::createFrame appears to take a reference to the frame in local scope but never deref it.

It seems like there needs to be some callback from the Frame dismantling routine to the WebFramePrivate to dereference that RefPtr once the Frame is no longer being referenced by the FrameTree.

The leak can be observed using both iframes and frame sets.

02/23/10 14:50:04 changed by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin