Closed Bug 407194 Opened 17 years ago Closed 17 years ago

Restore old session is leaking nsGlobalWindows

Categories

(Firefox :: Session Restore, defect, P2)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cbook, Assigned: peterv)

References

Details

(Keywords: memory-leak)

Attachments

(2 files)

Attached file leak log
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b2pre) Gecko/2007120610 Minefield/3.0b2pre

Session restore leaks, see leaklog.

Steps to reproduce:
3 Tabs Open 
http://graphs.mozilla.org/
https://bugzilla.mozilla.org/attachment.cgi?id=291700
https://litmus.mozilla.org/
Killed Firefox (via top)
restarted Firefox
choosed to restore my old session
Leak

nsStringStats
 => mAllocCount:          17849
 => mReallocCount:         3907
 => mFreeCount:           14292  --  LEAKED 3557 !!!
 => mShareCount:          17249
 => mAdoptCount:           2473
 => mAdoptFreeCount:       2466  --  LEAKED 7 !!!
Flags: blocking-firefox3?
Attachment #291920 - Attachment mime type: text/x-log → text/plain
Component: General → Session Restore
QA Contact: general → session.restore
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P3
Summary: Restore old session is leaking → Restore old session is leaking nsGlobalWindows
Attached file new leak log
still leak with the same steps to reproduce on Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b3pre) Gecko/2008012104 Minefield/3.0b3pre - this build has the patch from bug 412491 included
Peter, do you have time to look at this? This looks pretty important since we're leaking a lot and restoring sessions seems like a pretty common task
Assignee: nobody → peterv
Priority: P3 → P2
I can't reproduce this on an OS X build from today.
not anymore reproducible on mac/linux also after various crashs and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b3pre) Gecko/2008012923 Firefox/3.0b3pre

-> fixed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified fixed with latest Debug Build and also per comment #4

--> Verified fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: