Closed
Bug 1255998
Opened 9 years ago
Closed 9 years ago
addon SDK leaks massively leads Firefox can't close web pages
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1224577
People
(Reporter: crackevil, Unassigned)
References
Details
(Whiteboard: [MemShrink])
Attachments
(1 file)
(deleted),
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20151029151421
Steps to reproduce:
install a bootstrap extension. I used VideoDownloader (https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/) .
restart Firefox or not. For purpose, I restarted Firefox.
Open any page, or not even open page under "tab bar always open" mode.
close all the page except for a blank page. under "tab bar always open" mode even not need to really open a web page, just keeping clicking the close button of the tab.
Open ccdump addon. There are many zombie "domeventtarget" object in roots objects, further more, the number of zombies has 1:1 relation with the pages/iframes you opened in last step.
It's obvious leaks
At last I empty the addon except for "bootstrap.js", the leak is still there. so there is no relation with the addon but the addon SDK
Actual results:
I've read the code. It seems the leak object was "hidden window" object referred when "dsk/addon/runner" go.
Meanwhile, firefox process eats more and more memory, which seems the result that due to to zombie objects, all the closed page are kept in memory.
You have a Firefox can't close web pages.
Expected results:
The zombie "domeventtarget" objects should not increase while open/close pages
Blocks: ZombieCompartments
Severity: normal → critical
Component: Untriaged → Add-ons
OS: Unspecified → Windows 7
Product: Firefox → Tech Evangelism
Hardware: Unspecified → x86
Whiteboard: [MemShrink]
Version: 42 Branch → Firefox 42
Blocks: LeakyAddons
Comment 1•9 years ago
|
||
Comment on attachment 8729839 [details]
Screen Shot 2016-03-12 at 21.36.02.png
crackevil@gmail.com
Flags: needinfo?(crackevil)
Comment 2•9 years ago
|
||
Can you try to reproduce on 45 (the latest release). We think this was fixed in bug 1224577.
Component: Add-ons → General
Flags: needinfo?(crackevil)
Product: Tech Evangelism → Add-on SDK
Version: Firefox 42 → unspecified
yes, It duplicates with 1224577
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(crackevil)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•