Closed
Bug 336892
Opened 18 years ago
Closed 18 years ago
Feed preview leaks 1 docshell and 2 documents
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 2 beta2
People
(Reporter: djcater+bugzilla, Assigned: bugs)
References
()
Details
(Keywords: fixed1.8.1, memory-leak, Whiteboard: [mustfix])
Attachments
(2 files)
2.85 KB,
patch
|
darin.moz
:
review+
|
Details | Diff | Splinter Review |
5.33 KB,
patch
|
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
In a 20060506 Minefield build. 1. Start Minefield with leak-logging enabled. 2. Load the URL in this bug. 3. Quit. 4. Analyse the log. Leaked document at address 904cf08. ... with URI "about:blank". Leaked document at address 94caed8. ... with URI "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml". ... with URI "jar:file:///home/djc/mozilla/browser-i686-pc-linux-gnu/firefox-3.0a1.en-US.linux-i686/firefox/chrome/browser.jar!/content/browser/feeds/subscribe.xhtml". Leaked docshell at address 911e978. ... which loaded URI "about:blank". ... which loaded URI "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml". ... which loaded URI "http://fxfeeds.mozilla.com/rss20.xml". Summary: Leaked 0 out of 11 DOM Windows Leaked 2 out of 42 documents Leaked 1 out of 5 docshells
Comment 1•18 years ago
|
||
In Windows XP I get this: Leaked docshell at address 264e008. ... which loaded URI "about:blank". ... which loaded URI "http://www.mozilla.org/projects/minefield/". ... which loaded URI "http://fxfeeds.mozilla.com/rss20.xml". ... which loaded URI "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml". Summary: Leaked 0 out of 8 DOM Windows Leaked 0 out of 36 documents Leaked 1 out of 3 docshells
Comment 2•18 years ago
|
||
Interestingly, Leak Monitor 0.1.3 doesn't report any links when opening the above URL or when closing the tab it was opened in.
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → bugs
Priority: -- → P2
Whiteboard: [swag:3d]
Target Milestone: --- → Firefox 2 beta1
Updated•18 years ago
|
Target Milestone: Firefox 2 beta1 → Firefox 2 beta2
Updated•18 years ago
|
Whiteboard: [swag:3d] → [swag:3d][mustfix]
Assignee | ||
Comment 4•18 years ago
|
||
Release references for things that we hold onto when we're done with them.
Attachment #229905 -
Flags: review?(darin)
Comment 5•18 years ago
|
||
Comment on attachment 229905 [details] [diff] [review] patch try { ... } finally { this._releaseHandles(); } to avoid this leak if an exception is thrown or if someone adds additional return paths? Or, do I need to see more diff context to know that there are return paths where these handles should not be released? r=darin
Attachment #229905 -
Flags: review?(darin) → review+
Assignee | ||
Comment 6•18 years ago
|
||
fixed-on-trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•18 years ago
|
||
Daniel, can you check this out with the next nightly build? If you can verify then I can get this to the branch.
Updated•18 years ago
|
Whiteboard: [swag:3d][mustfix] → [mustfix][needs verification]
Comment 8•18 years ago
|
||
No leaks when checking http://fxfeeds.mozilla.com/rss20.xml. To prove that this patch fixed the leak, I commented out the one call to _releaseHandles and reproduced the leak: Leaked docshell at address 89ae050. ... which loaded URI "about:blank". ... which loaded URI "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml". ... which loaded URI "http://fxfeeds.mozilla.com/rss20.xml". Summary: Leaked 0 out of 7 DOM Windows Leaked 0 out of 37 documents Leaked 1 out of 3 docshells So it appears the leak fix works.
Status: RESOLVED → VERIFIED
Updated•18 years ago
|
Attachment #229905 -
Flags: approval1.8.1?
Updated•18 years ago
|
Attachment #229905 -
Flags: approval1.8.1?
Comment 9•18 years ago
|
||
Updated•18 years ago
|
Attachment #230853 -
Flags: approval1.8.1?
Updated•18 years ago
|
Attachment #230853 -
Flags: approval1.8.1? → approval1.8.1+
Comment 10•18 years ago
|
||
Checking in FeedConverter.js; /cvsroot/mozilla/browser/components/feeds/src/FeedConverter.js,v <-- FeedConverter.js new revision: 1.1.2.12; previous revision: 1.1.2.11 done
Keywords: fixed1.8.1
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•