Open Bug 415666 Opened 16 years ago Updated 2 years ago

download manager leaks when dismissed

Categories

(Toolkit :: Downloads API, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: chofmann, Unassigned)

Details

(Keywords: memory-leak)

Attachments

(1 file)

start firefox
visit a page with a PDF, say
http://www.marvin.com/default.aspx?page=Casemaster.sizes_specs

click on the link to a pdf file.
download manager asks:
  [] open with [----]
  [x] save file

click [ok] to save file.

after the file is saved to local drive, dismiss the download manager window

quit firefox

get this on the terminal

nsStringStats
 => mAllocCount:          33358
 => mReallocCount:         4973
 => mFreeCount:           28938  --  LEAKED 4420 !!!
 => mShareCount:          34728
 => mAdoptCount:           2088
 => mAdoptFreeCount:       2085  --  LEAKED 3 !!!

leak log coming up.

note that if you leave download manager window open when quiting firefox, the session seems to end cleanly with no leaks reported.
downloading more files, and dismissing the download manager multiple times doesn't seem to change the numbers or create a larger/growing leak, so this might not be serious enough to try and get for firefox 3, but I'll put it on the radar to see if there is an easy fix.
Flags: blocking-firefox3?
Version: unspecified → Trunk
This does not block the final release of Firefox 3.
Flags: wanted-firefox3+
Flags: blocking-firefox3?
Flags: blocking-firefox3-
Adam indicated that there was a leak opening any window - I wonder if that's the same one...
Related to bug 397257?
(In reply to comment #5)
I don't think so.
related to bug 422269?
Product: Firefox → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: