Closed Bug 415487 Opened 16 years ago Closed 7 years ago

nsStringBuffer leak when closing Firefox with Software Installation Window open

Categories

(Core :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: memory-leak)

Attachments

(2 files)

Attached file leak log
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008020319
Minefield/3.0b3pre

Steps to reproduce:
-> Save a Extension xpi on your Desktop (in my testcase i used the Flagfox Extension https://addons.mozilla.org/en-US/firefox/addon/5791
-> Open the Firefox Add-on Manager and drag and drop the xpi into the Extension Manager Window
-> The Software Installation Dialog comes up
-> Close Firefox
--> Leak
Flags: blocking1.9?
Looks similar to bug 414671 and bug 414482. Lets retest once those are landed.
Depends on: 414482, 414671
Attached file new leak log
still leaks after the other patches landed on  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b4pre) Gecko/2008020717 Firefox/3.0b4pre:

nsStringStats
 => mAllocCount:          62470
 => mReallocCount:         8801
 => mFreeCount:           62465  --  LEAKED 5 !!!
 => mShareCount:          53682
 => mAdoptCount:           5293
 => mAdoptFreeCount:       5293
Summary: Firefox Leak when Closing Firefox with Software Installation Window open → nsStringBuffer leak when closing Firefox with Software Installation Window open
This doesn't sound like it will happen too often so marking non-blocking. That said, there seems to be a generic problem somewhere of leaks nsStringBuffers, so it might get fixed when we fix that. Tracked in bug 416175.
Flags: blocking1.9? → blocking1.9-
If I follow these steps on Mac (using Cmd+Q for "close Firefox"), Firefox fails to quit, but doesn't leak.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: