Closed Bug 582252 Opened 15 years ago Closed 15 years ago

Memory leaks found by XPCOM_MEM_LEAK_LOG with default Minefield start page

Categories

(Core :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bjacob, Unassigned)

References

Details

Attachments

(1 file)

Attached file leak log
Steps to reproduce: 1. export XPCOM_MEM_LEAK_LOG=memleaklog 2. start firefox, wait for the start page to finish loading. 3. quit firefox, look at the memleaklog file. I am using a profile that uses the default Minefield start page. I have made sure to wait for the page to finish loading ("Done" in the status bar).
I don't get a leak in a current debug Mac build on OS X 10.5 using a clean profile when using the steps from comment 0, or more precisely the following steps: 1) Compile a clean m-c build. 2) rm -rf /tmp/test-prof 3) run |firefox -profile /tmp/test-prof| to make sure that there's a clean profile there and that we're not measuring weird first-profile-creation issues. 4) run |env XPCOM_MEM_LEAK_LOG=memleaklog cleanfox -profile /tmp/test-prof| to measure leaks. What's different about your setup? Is the profile you're using clean? Any extensions?
Indeed, following your steps, I don't get any leak. I guess then that my profile was 'bad' in some way. Thanks for your time!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
ah no, wait! It was reusing another firefox instance as we don't pass -no-remote here.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
... but indeed, this time with -no-remote and a clean profile, I see no leak.
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → INVALID
Might be worth figuring out what about that profile causes leaks... esp. extensions, if any. That leak output shows you leaking "the world" (DOM windows and everything they contain).
The only add-on I had was Firebug (which I had installed even though it didn't claim to support Minefield). I removed it and that 'fixed' the leaks. Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: