Closed
Bug 847771
Opened 13 years ago
Closed 13 years ago
Panels leak memory after unload
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.14
People
(Reporter: evold, Assigned: irakli)
References
Details
Attachments
(2 files)
I saw https://github.com/mozilla/addon-sdk/blob/master/lib/sdk/frame/hidden-frame.js#L168-L169 today and thought to check if the Panel module was leaking, and it appears to be.. I'm not sure if the link above is the cause or not right now though.
| Reporter | ||
Comment 1•13 years ago
|
||
It looks like this file was messed up by https://github.com/mozilla/addon-sdk/pull/698 and the revert was not done properly.
https://github.com/mozilla/addon-sdk/commit/670279994b4c49cc71960c022165b96de41f0d2e#lib/sdk/frame/hidden-frame.js
I think that we should restore the Panel related code to the way it was, and not make updates to it until the pwpb changes have been made as I requested here https://github.com/mozilla/addon-sdk/pull/698#issuecomment-12450522
Assignee: nobody → rFobic
Assignee: rFobic → nobody
Priority: -- → P1
Target Milestone: --- → 1.14
| Assignee | ||
Comment 2•13 years ago
|
||
Hey Erik I just looked at the diff of the merge:
https://github.com/mozilla/addon-sdk/commit/42cede06862471f3c05cb937cb3d2200b4d3218e
Diff-stat: 7 changed files with 115 additions and 86 deletions.
And at the reverting commit:
https://github.com/mozilla/addon-sdk/commit/670279994b4c49cc71960c022165b96de41f0d2e
Diff-stat: 7 changed files with 86 additions and 115 deletions.
So I believe that code was restored to it's previous state. What makes you believe it wasn't ? I also remember diffing reverted change to the state just before my original commit and delta was empty.
Can you provide little more info about why you think panel leaks and how did you test that ?
| Reporter | ||
Comment 3•13 years ago
|
||
Ahh it looks like github has a bug, it's showing the contents on master no matter what commit I choose..
This leak was introduced much further back sadly..
https://github.com/Gozala/addon-sdk/commit/58aabad258ea6544a6a61ca2c3449b749a81b9e0
https://github.com/mozilla/addon-sdk/pull/668
| Reporter | ||
Comment 4•13 years ago
|
||
| Reporter | ||
Comment 5•13 years ago
|
||
Ok this isn't in 1.13.2, but it is on stabilization
Assignee: nobody → rFobic
Flags: needinfo?(kwierso)
| Reporter | ||
Updated•13 years ago
|
Flags: needinfo?(rFobic)
| Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 726995 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/874
This is just a typo fix against stabilization, I'll leave up to you to decide weather it's worth landing and uplifting.
I'll write tests against master and submit separate pull request for it.
Attachment #726995 -
Flags: review?(evold)
Attachment #726995 -
Flags: feedback?(kwierso)
Comment on attachment 726995 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/874
Seems easy and harmless enough to me...
Attachment #726995 -
Flags: feedback?(kwierso) → feedback+
Flags: needinfo?(kwierso)
| Assignee | ||
Comment 9•13 years ago
|
||
Pointer to Github pull-request
| Assignee | ||
Comment 10•13 years ago
|
||
Comment on attachment 727020 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/875
Fix for the master + tests.
Attachment #727020 -
Flags: review?(evold)
| Reporter | ||
Updated•13 years ago
|
Attachment #726995 -
Flags: review?(evold) → review+
Comment 11•13 years ago
|
||
Commit pushed to stabilization at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/67dfdb63ae01d7c619cfab42ce33301561acfcee
Merge pull request #874 from Gozala/hotfix/panel-leak
Bug 847771 - Hotfix typo in hidden-frame module. r=@erikvold
| Reporter | ||
Updated•13 years ago
|
Attachment #727020 -
Flags: review?(evold) → review+
Comment 12•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/1177cc3de3aee511d228c201ae07057e7f824cdc
Merge pull request #875 from Gozala/bug/panel-leaks@847771
Bug 847771 - Fix memory leaks and add tests r=@erikvold
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•