Closed
Bug 342600
Opened 19 years ago
Closed 18 years ago
Tools menu leaks Clear Private Data label
Categories
(Firefox :: Menus, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3 alpha8
People
(Reporter: ispiked, Assigned: dbaron)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
1.47 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a3) Gecko/20060606 BonEcho/2.0a3
Steps to reproduce:
1. Install dbaron's Leak Monitor extension.
2. Tools > Add-ons (although which dialog you choose doesn't matter).
3. Close the Add-ons manager window.
Leak Monitor shows the following leak:
Leaks in window 0x214d270:
[+] [leaked object] (25b1d68) = [object Object]
[ ] _defaultLabel = Clear Private Data
Comment 1•19 years ago
|
||
Does it go away if you null out _defaultLabel in shutdown?
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.js&rev=1.650&mark=1384#1357
Comment 2•19 years ago
|
||
Oh, that wouldn't help, nevermind.
Comment 3•19 years ago
|
||
Nominating because this is really annoying when using the Leak Monitor extension.
Flags: blocking1.9a2?
The opening and shutting of Preferences reproduces.
Steps to reproduce:
1. Open Preferences
2. Close Preferences
Leaks in window 0x252e4f0:
[+] [leaked object] (2602ec0) = [object Object]
[ ] _defaultLabel = Clear Private Data
Mac OS X 10.3.9
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060714 Minefield/3.0a1
Comment 5•19 years ago
|
||
Similar error with Help -> Check for Updates...
Leaks in window 0x24db138:
[+] [leaked object] (238c7b0) = [object Object]
[ ] _defaultLabel = Clear Private Data
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20060918 Firefox/2.0
So it seems just about any chrome window will trigger this leak. Agree w/Jesse very annoying when using the plug-in to look for leaks.
Comment 6•19 years ago
|
||
*** Bug 361041 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Flags: blocking1.9a2?
Updated•18 years ago
|
Flags: blocking-firefox3?
Updated•18 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Updated•18 years ago
|
Target Milestone: --- → Firefox 3 beta1
Updated•18 years ago
|
Target Milestone: Firefox 3 M7 → Firefox 3 M9
Assignee | ||
Comment 7•18 years ago
|
||
I bet this will fix it. I still don't understand how I figured this out while debugging bug 393898, though.
Assignee | ||
Comment 8•18 years ago
|
||
Comment on attachment 279066 [details] [diff] [review]
possible patch
This does in fact fix the leak with the download manager window; the addons window still seems to leak for other reasons.
Attachment #279066 -
Flags: review?(mano)
Assignee | ||
Comment 9•18 years ago
|
||
I figured it out while debugging bug 393898 purely by accident.
Assignee: joshmoz → dbaron
Comment 10•18 years ago
|
||
Comment on attachment 279066 [details] [diff] [review]
possible patch
r=mano
Attachment #279066 -
Flags: review?(mano) → review+
Assignee | ||
Comment 11•18 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3 M9 → Firefox 3 M8
Comment 12•18 years ago
|
||
This was originally reported about the addons window and in comment 8, it was reported that it still leaks even with this patch that was checked in. So shouldn't this still be open? Or is that actually going to be fixed in bug 393898 as it seems dbaron may be suggesting in comment 9 here?
Assignee | ||
Comment 13•18 years ago
|
||
I filed the issue with the addons window as bug 394514.
You need to log in
before you can comment on or make changes to this bug.
Description
•