Closed
Bug 397777
Opened 17 years ago
Closed 17 years ago
Memory leak of documents and docshells (notably about:blank)
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 426946
People
(Reporter: gkw, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier: version 3.0a1pre (2007092603)
Another memory leak found when testing Thunderbird 3 trunk.
Reproducible: Always
Steps to Reproduce:
1. run ./thunderbird=bin && perl /Applications/leak-gauge.pl nspr_leaks.log
2. subscribed to mozilla.dev.planning and mozilla.dev.apps.thunderbird
3. open a newly downloaded newsgroup message in a new tab.
4. close thunderbird.
Actual Results:
Output from leak-gauge.pl goes:
Leaked outer window 16bbd6a0 at address 16bbd6a0.
Leaked inner window 16bc0cf0 (outer 16bbd6a0) at address 16bc0cf0.
... with URI "about:blank".
Summary:
Leaked 2 out of 10 DOM Windows
Leaked 0 out of 30 documents
Leaked 0 out of 4 docshells
Reporter | ||
Comment 1•17 years ago
|
||
More testing results in:
Leaked inner window 16bc1360 (outer 16bbdd10) at address 16bc1360.
... with URI "about:blank".
Leaked outer window 1d9d490 at address 1d9d490.
Leaked outer window 16bbdd10 at address 16bbdd10.
Leaked inner window 1de4e30 (outer 1d9d490) at address 1de4e30.
... with URI "chrome://messenger/content/hiddenWindow.xul".
Leaked outer window 1a703b20 at address 1a703b20.
Leaked inner window 1bf81570 (outer 1a703b20) at address 1bf81570.
... with URI "chrome://messenger/content/msgAccountCentral.xul".
Leaked document at address 17195470.
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/tabbox.xml".
... with URI "chrome://global/content/bindings/tabbox.xml".
Leaked document at address 171fe170.
... with URI "chrome://global/content/bindings/scrollbar.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/scrollbar.xml".
Leaked document at address 171a1250.
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/scrollbox.xml".
... with URI "chrome://global/content/bindings/scrollbox.xml".
Leaked document at address 171d08c0.
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/classic.jar!/skin/classic/messenger/tabmailBindings.xml".
... with URI "chrome://messenger/skin/tabmailBindings.xml".
Leaked document at address 2198c00.
Leaked document at address 171e17a0.
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/tree.xml".
... with URI "chrome://global/content/bindings/tree.xml".
Leaked document at address 16f92af0.
... with URI "chrome://global/content/bindings/browser.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/browser.xml".
Leaked document at address 171bbb90.
... with URI "chrome://messenger/content/search.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/messenger.jar!/content/messenger/search.xml".
Leaked document at address 2312e00.
Leaked document at address 1a738f20.
... with URI "chrome://global/content/bindings/listbox.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/listbox.xml".
Leaked document at address 236a400.
... with URI "chrome://messenger/content/start.xhtml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/messenger.jar!/content/messenger/start.xhtml".
Leaked document at address 16f4c570.
... with URI "chrome://global/content/platformHTMLBindings.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/platformHTMLBindings.xml".
Leaked document at address 1717fc40.
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/messenger.jar!/content/messenger/tabmail.xml".
... with URI "chrome://messenger/content/tabmail.xml".
Leaked document at address 1a746550.
... with URI "chrome://global/content/bindings/findbar.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/findbar.xml".
Leaked document at address 171f5a70.
... with URI "chrome://global/content/bindings/splitter.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/splitter.xml".
Leaked document at address 1716a110.
... with URI "chrome://messenger/content/mailWidgets.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/messenger.jar!/content/messenger/mailWidgets.xml".
Leaked document at address 1a758f80.
... with URI "chrome://global/content/bindings/progressmeter.xml".
... with URI "jar:file:///Applications/Thunderbird.app/Contents/MacOS/chrome/toolkit.jar!/content/global/bindings/progressmeter.xml".
Leaked docshell at address 1a736550.
... which loaded URI "about:blank".
... which loaded URI "chrome://messenger/content/start.xhtml".
Summary:
Leaked 6 out of 10 DOM Windows
Leaked 17 out of 30 documents
Leaked 1 out of 4 docshells
Steps: when starting thunderbird with the newsgroups already subscribed, open 4 new tabs of mozilla.dev.planning, then close these 4. Close thunderbird after that.
Reporter | ||
Comment 2•17 years ago
|
||
Just noticed that David Baron had mentioned that "The current logging is targeted more at browsing than email: it may show some leaks in Thunderbird as well, but it may or may not be a good sample of leaks in Thunderbird."
http://dbaron.org/log/2006-01#e20060110a
Reporter | ||
Comment 3•17 years ago
|
||
Duping in favour of meta bug 426946.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•