Closed
Bug 362004
Opened 20 years ago
Closed 20 years ago
Memory leak when downloading pdf
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 341872
People
(Reporter: towsonu2003, Unassigned)
References
()
Details
(Keywords: memory-leak)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
To reproduce:
1. Install Leak Monitor extension
2. Go to To http://www.sciencedirect.com.proxy-tu.researchport.umd.edu/science?_ob=PublicationURL&_cdi=6578&_pubType=J&_auth=y&_acct=C000049420&_version=1&_urlVersion=0&_userid=961294&md5=d2146a6963a42280cf488d053e2609b7 (login needed)
3. Click on the first PDF link
4. It will open a new empty Firefox window and also ask whether you want to save or open the pdf file
5. Save the pdf, close the window
6. observe memory leak
Below is how Leak Monitor reports this:
Leaks in window 0x8d68e28:
[+] [leaked object] (95d9e78) = [object Object]
[+] _inner (95d9ca0) = [xpconnect wrapped (nsISupports, nsIRDFDataSource, nsIRDFRemoteDataSource)]
[ ] AddObserver (95d9ba8) = function AddObserver() {
[native code]
}
[ ] HasAssertion (95d9860) = function HasAssertion() {
[native code]
}
[ ] GetTarget (95d97b8) = function GetTarget() {
[native code]
}
[ ] Assert (95d97a0) = function Assert() {
[native code]
}
[ ] QueryInterface (95d8438) = function QueryInterface() {
[native code]
}
[ ] Flush (95d8418) = function Flush() {
[native code]
}
[ ] URI = file:///home/mehmet/.mozilla/firefox/7uz3lf08.default/mimeTypes.rdf
[+] GetSource (8cc3d78) = function GetSource() {
[native code]
}
[ ] prototype (8d67c18) = [object Object]
[+] GetSources (8cf6640) = function GetSources() {
[native code]
}
[ ] prototype (8d67c40) = [object Object]
[+] GetTargets (8cf6218) = function GetTargets() {
[native code]
}
[ ] prototype (8d67c60) = [object Object]
[+] Unassert (8d223c0) = function Unassert() {
[native code]
}
[ ] prototype (8d67c80) = [object Object]
[+] Change (8d223b0) = function Change() {
[native code]
}
[ ] prototype (8d67c98) = [object Object]
[+] Move (8d22398) = function Move() {
[native code]
}
[ ] prototype (8d67cb0) = [object Object]
[+] RemoveObserver (8d22378) = function RemoveObserver() {
[native code]
}
[ ] prototype (8d67cd0) = [object Object]
[+] ArcLabelsIn (8d22350) = function ArcLabelsIn() {
[native code]
}
[ ] prototype (8d67cf0) = [object Object]
[+] ArcLabelsOut (8d22300) = function ArcLabelsOut() {
[native code]
}
[ ] prototype (8d67d50) = [object Object]
[+] GetAllResources (8d222f0) = function GetAllResources() {
[native code]
}
[ ] prototype (8d67d88) = [object Object]
[+] IsCommandEnabled (8d222d0) = function IsCommandEnabled() {
[native code]
}
[ ] prototype (8d68270) = [object Object]
[+] DoCommand (8d22288) = function DoCommand() {
[native code]
}
[ ] prototype (8d682c8) = [object Object]
[+] GetAllCmds (8d22240) = function GetAllCmds() {
[native code]
}
[ ] prototype (8d682f8) = [object Object]
[+] hasArcIn (8d22220) = function hasArcIn() {
[native code]
}
[ ] prototype (8d68878) = [object Object]
[+] hasArcOut (8d221c8) = function hasArcOut() {
[native code]
}
[ ] prototype (8d688e8) = [object Object]
[+] beginUpdateBatch (8d22190) = function beginUpdateBatch() {
[native code]
}
[ ] prototype (8d68e80) = [object Object]
[+] endUpdateBatch (8d21b00) = function endUpdateBatch() {
[native code]
}
[ ] prototype (8d20db0) = [object Object]
[ ] loaded = true
[+] Init (8d219f8) = function Init() {
[native code]
}
[ ] prototype (8d20de8) = [object Object]
[+] Refresh (8d20f60) = function Refresh() {
[native code]
}
[ ] prototype (8d20e18) = [object Object]
[+] FlushTo (8d20ed0) = function FlushTo() {
[native code]
}
[ ] prototype (8d20e50) = [object Object]
[+] _fileTypeArc (95d9b48) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8cc4060) = function QueryInterface() {
[native code]
}
[ ] prototype (8ed4968) = [object Object]
[+] EqualsNode (8cc4040) = function EqualsNode() {
[native code]
}
[ ] prototype (8ed49a0) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#FileType
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#FileType
[+] Init (8cc3ec8) = function Init() {
[native code]
}
[ ] prototype (8ed49d0) = [object Object]
[+] EqualsString (8cc3eb8) = function EqualsString() {
[native code]
}
[ ] prototype (8ed4a38) = [object Object]
[+] GetDelegate (8cc3e80) = function GetDelegate() {
[native code]
}
[ ] prototype (8ed4a58) = [object Object]
[+] ReleaseDelegate (8cc3e78) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8ed4da8) = [object Object]
[+] _fileHandlerArc (95d9b10) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c399e0) = function QueryInterface() {
[native code]
}
[ ] prototype (8ed4878) = [object Object]
[+] EqualsNode (8c64470) = function EqualsNode() {
[native code]
}
[ ] prototype (8ed4888) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#FileHandler
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#FileHandler
[+] Init (8c64320) = function Init() {
[native code]
}
[ ] prototype (8ed48c0) = [object Object]
[+] EqualsString (8c64310) = function EqualsString() {
[native code]
}
[ ] prototype (8ed48d8) = [object Object]
[+] GetDelegate (8c63d80) = function GetDelegate() {
[native code]
}
[ ] prototype (8ed48f8) = [object Object]
[+] ReleaseDelegate (8cc40a8) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8ed4910) = [object Object]
[+] _fileIconArc (95d9af0) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c39d90) = function QueryInterface() {
[native code]
}
[ ] prototype (8ed4740) = [object Object]
[+] EqualsNode (8c39d80) = function EqualsNode() {
[native code]
}
[ ] prototype (8ed4750) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#FileIcon
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#FileIcon
[+] Init (8c39d48) = function Init() {
[native code]
}
[ ] prototype (8ed4788) = [object Object]
[+] EqualsString (8c39d08) = function EqualsString() {
[native code]
}
[ ] prototype (8ed47a0) = [object Object]
[+] GetDelegate (8c39cf8) = function GetDelegate() {
[native code]
}
[ ] prototype (8ed47c8) = [object Object]
[+] ReleaseDelegate (8c39cd8) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8ed47f8) = [object Object]
[+] _fileExtensionArc (95d9ad8) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c39e00) = function QueryInterface() {
[native code]
}
[ ] prototype (8ed4028) = [object Object]
[+] EqualsNode (8c39df8) = function EqualsNode() {
[native code]
}
[ ] prototype (8ed4048) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#FileExtension
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#FileExtension
[+] Init (8c39de0) = function Init() {
[native code]
}
[ ] prototype (8ed4078) = [object Object]
[+] EqualsString (8c39dc8) = function EqualsString() {
[native code]
}
[ ] prototype (8ed46a0) = [object Object]
[+] GetDelegate (8c39dc0) = function GetDelegate() {
[native code]
}
[ ] prototype (8ed46b0) = [object Object]
[+] ReleaseDelegate (8c39db0) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8ed46c0) = [object Object]
[+] _fileExtensionsArc (95d9a20) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c3a3f8) = function QueryInterface() {
[native code]
}
[ ] prototype (8ed8908) = [object Object]
[+] EqualsNode (8c3a3f0) = function EqualsNode() {
[native code]
}
[ ] prototype (8ed8930) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#FileExtensions
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#FileExtensions
[+] Init (8c39e78) = function Init() {
[native code]
}
[ ] prototype (8ed9398) = [object Object]
[+] EqualsString (8c39e70) = function EqualsString() {
[native code]
}
[ ] prototype (8ed93a8) = [object Object]
[+] GetDelegate (8c39e30) = function GetDelegate() {
[native code]
}
[ ] prototype (8ed93c8) = [object Object]
[+] ReleaseDelegate (8c39e20) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8ed9b30) = [object Object]
[+] _handleAutoArc (95d99d8) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c3a580) = function QueryInterface() {
[native code]
}
[ ] prototype (8f0bcb0) = [object Object]
[+] EqualsNode (8c3a548) = function EqualsNode() {
[native code]
}
[ ] prototype (8f0bcd0) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#FileHandleAuto
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#FileHandleAuto
[+] Init (8c3a500) = function Init() {
[native code]
}
[ ] prototype (8f0d810) = [object Object]
[+] EqualsString (8c3a4d8) = function EqualsString() {
[native code]
}
[ ] prototype (8f0d8d8) = [object Object]
[+] GetDelegate (8c3a498) = function GetDelegate() {
[native code]
}
[ ] prototype (8f0d9e8) = [object Object]
[+] ReleaseDelegate (8c3a488) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8f0da08) = [object Object]
[+] _valueArc (95d99b8) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c3ae68) = function QueryInterface() {
[native code]
}
[ ] prototype (8f1e130) = [object Object]
[+] EqualsNode (8c3ae60) = function EqualsNode() {
[native code]
}
[ ] prototype (8f1e168) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#value
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#value
[+] Init (8c3ada8) = function Init() {
[native code]
}
[ ] prototype (8f1e198) = [object Object]
[+] EqualsString (8c3ad88) = function EqualsString() {
[native code]
}
[ ] prototype (8f1e1c8) = [object Object]
[+] GetDelegate (8c3ad50) = function GetDelegate() {
[native code]
}
[ ] prototype (8f1e1d8) = [object Object]
[+] ReleaseDelegate (8c3ad40) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8f1e1f8) = [object Object]
[+] _handlerPropArc (95d9998) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8c3aee8) = function QueryInterface() {
[native code]
}
[ ] prototype (8f3da38) = [object Object]
[+] EqualsNode (8c3aed0) = function EqualsNode() {
[native code]
}
[ ] prototype (8f2de48) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#handlerProp
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#handlerProp
[+] Init (8c3aea8) = function Init() {
[native code]
}
[ ] prototype (8f2e390) = [object Object]
[+] EqualsString (8c3aea0) = function EqualsString() {
[native code]
}
[ ] prototype (8f2e3a8) = [object Object]
[+] GetDelegate (8c3ae98) = function GetDelegate() {
[native code]
}
[ ] prototype (8f2e3c8) = [object Object]
[+] ReleaseDelegate (8c3ae90) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8f2e3e0) = [object Object]
[+] _externalAppArc (95d9980) = [xpconnect wrapped nsIRDFResource]
[+] QueryInterface (8b5dde8) = function QueryInterface() {
[native code]
}
[ ] prototype (8f3d910) = [object Object]
[+] EqualsNode (8b5ddd0) = function EqualsNode() {
[native code]
}
[ ] prototype (8f3d928) = [object Object]
[ ] Value = http://home.netscape.com/NC-rdf#externalApplication
[ ] ValueUTF8 = http://home.netscape.com/NC-rdf#externalApplication
[+] Init (8b5dd40) = function Init() {
[native code]
}
[ ] prototype (8f3d950) = [object Object]
[+] EqualsString (8b5dd30) = function EqualsString() {
[native code]
}
[ ] prototype (8f3d980) = [object Object]
[+] GetDelegate (8b5dd00) = function GetDelegate() {
[native code]
}
[ ] prototype (8f3d9a0) = [object Object]
[+] ReleaseDelegate (8b5dbe8) = function ReleaseDelegate() {
[native code]
}
[ ] prototype (8f3d9b8) = [object Object]
Reproducible: Couldn't Reproduce
Steps to Reproduce:
See above
Comment 1•20 years ago
|
||
There are quite a few open bugs related to leaking whilst downloading: bug 276112, bug 315421, bug 326937, bug 326938, bug 340263, bug 341872, but because i'm unable to reproduce your steps to leak (site needs logon/password) I can't say if this bug is a dupe or something new.
Keywords: mlk
Updated•20 years ago
|
Summary: Memory leak → Memory leak when downloading pdf
Comment 2•20 years ago
|
||
I'd fairly confidentally put this as bug 341872. The monitor outputs match and the steps appear pretty close too.
*** This bug has been marked as a duplicate of 341872 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 3•20 years ago
|
||
just wanted to thank you both for the incredibly fast triaging :)
You need to log in
before you can comment on or make changes to this bug.
Description
•