Closed Bug 730784 Opened 12 years ago Closed 12 years ago
.16 .1 add-on (prelim .) leaves a zombie compartment behind when disabled
STR: - Install and disable the add-on - about:memory?verbose + Minimize memory usage -> Compartment or compartments (depending on sameGroupAs availability for sandboxes) still present. The add-on uses widget, so the leaks are probably a result of the fix for bug 724404 not being present in the SDK 1.5 (see bug 730566 comment 5)
Hi Nils, Thanks for investigating this problem! What should I do about it? Is there a workaround, or do I just have to wait for a new release of the SDK and then use it to rebuild the add-on?
There is no workaround that I know of. What you can do in the meantime: Get the add-on sdk from github and test that your add-on does not leak when built with the stabilization branch (or master). https://github.com/mozilla/addon-sdk/ If your add-on still leaks, there might be other, unrelated leaks caused directly by your add-on code which must be fixed. Please note that we cannot accept add-ons that were built with non-release SDK versions on AMO.
Nils, I wonder if it's worth not reporting these kinds of leaks for a while? We already have a bunch of them on file and it's the SDK's fault, right?
(In reply to Nicholas Nethercote [:njn] from comment #3) > Nils, I wonder if it's worth not reporting these kinds of leaks for a while? > We already have a bunch of them on file and it's the SDK's fault, right? I considered that myself... Actually I did/do so when reviewing SDK 1.4.x add-ons. I guess that there is indeed no added value in creating new bugs where the leaks are clearly a result of the SDK bug. If such add-ons have other bugs, then the next SDK update will expose them. Care to inform amo-editors-internal?
Component: General → Add-ons
Product: Core → Tech Evangelism
Jono: version 1.6 of the SDK is now available. This version should address the pending memory leaks in your add-on. Please upgrade your add-on to use SDK 1.6 and submit a new version as soon as possible.
* pokes Jono again *
Hi Jorge! Sorry, I was on vacation. I will do this today.
Just rebuilt with SDK 1.6 and pushed the new XPI file to addons.mozilla.org.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Add-ons → General
Product: Tech Evangelism → WebExtensions
You need to log in before you can comment on or make changes to this bug.