Closed Bug 425535 Opened 16 years ago Closed 15 years ago

Leaks after using Minefield for hours.

Categories

(Core :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: memory-leak)

Attachments

(1 file)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b5pre) Gecko/2008032604 Minefield/3.0b5pre

STR:

- Run Minefield for hours (>6-12 hours++) opening and closing many tabs (normal usage) using leak gauge script.
- Sometimes I even hit 80+ tabs.
- Visit websites that make use of movie plugins e.g. flip4mac
- Sometimes I fire up Parallels in another directory to run a VM, occasionally causes Minefield to stall briefly, but not hang or crash, just shows spinning bob.
- Close Minefield.

NOTE: I hit this occasionally only when running and using the build for *hours*. Doesn't occur when merely running the sites below, even on a fresh profile.

Cutting log (size: 102738, max: 100000)Leaked outer window 191dc890 at address 191dc890.
Leaked inner window 1798fb00 (outer 191dc890) at address 1798fb00.
 ... with URI "about:blank".
Leaked inner window 19614df0 (outer 2fcd6ad0) at address 19614df0.
 ... with URI "http://www.bbc.co.uk/worldservice/languages/".
Leaked outer window 2fcd6ad0 at address 2fcd6ad0.
Leaked inner window 2bec9a20 (outer 2fcd6ad0) at address 2bec9a20.
 ... with URI "http://news.bbc.co.uk/".
Leaked document at address 29259000.
 ... with URI "http://news.bbc.co.uk/".
Leaked docshell at address 376a45e0.
 ... which loaded URI "http://news.bbc.co.uk/hi/arabic/sport/newsid_7315000/7315859.stm".
 ... which loaded URI "about:blank".
 ... which loaded URI "http://news.bbc.co.uk/hi/arabic/world_news/default.stm".
 ... which loaded URI "http://news.bbc.co.uk/".
 ... which loaded URI "http://news.bbc.co.uk/hi/arabic/sport/default.stm".
 ... which loaded URI "http://news.bbc.co.uk/hi/arabic/world_news/newsid_7313000/7313916.stm".
 ... which loaded URI "http://news.bbc.co.uk/hi/arabic/press/default.stm".
 ... which loaded URI "http://www.bbc.co.uk/go/toolbar/i/-/worldservice/languages/".
 ... which loaded URI "http://www.bbc.co.uk/arabic/".
 ... which loaded URI "http://www.bbc.co.uk/worldservice/languages/".
 ... which loaded URI "http://www.bbc.co.uk/go/toolbar/i/-/news/sport2/hi/".
 ... which loaded URI "http://www.google.com/search?q=arabic+bbc&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a".
 ... which loaded URI "http://news.bbc.co.uk/sport".
 ... which loaded URI "http://news.bbc.co.uk/hi/arabic/news/".
 ... which loaded URI "http://www.bbc.co.uk/go/toolbar/i/-/news/2/hi/".
Summary:
Leaked 5 out of 2173 DOM Windows
Leaked 1 out of 2220 documents
Leaked 1 out of 534 docshells
Flags: blocking1.9?
We're really going to need better steps to reproduce in order to try to fix this. Any help with that would be hugely appreciated. Could you see if some combination of your actions, probably including the urls loaded in the log, could reproduce the leak?
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008032804 Minefield/3.0pre

I've gotten another leak:

Cutting log (size: 101317, max: 100000)Leaked inner window 1013dd40 (outer 12eb77e0) at address 1013dd40.
 ... with URI "http://en.wikinews.org/wiki/Huge_interest_brings_Wikileaks_offline".
Leaked outer window 12eb77e0 at address 12eb77e0.
Leaked inner window ee5ef60 (outer 12eb77e0) at address ee5ef60.
 ... with URI "http://news.bbc.co.uk/sport2/hi/football/gossip_and_transfers/default.stm".
Leaked document at address 27bf800.
 ... with URI "http://news.bbc.co.uk/sport2/hi/football/gossip_and_transfers/default.stm".
Leaked docshell at address 12eb7200.
 ... which loaded URI "about:blank".
 ... which loaded URI "http://news.bbc.co.uk/sport2/hi/football/gossip_and_transfers/default.stm".
 ... which loaded URI "http://news.bbc.co.uk/sport1/hi/football/gossip_and_transfers/default.stm".
 ... which loaded URI "http://en.wikinews.org/wiki/Huge_interest_brings_Wikileaks_offline".
Summary:
Leaked 3 out of 368 DOM Windows
Leaked 1 out of 314 documents
Leaked 1 out of 128 docshells

The main difference is that this instance, there was still much tab opening and closing, but Firefox was only open for about just over an hour when I closed it. I recall watching the occasional YouTube video in this session.

(Hopefully I'll compile a debug trunk Firefox build to try and obtain more information)
Attached file leak log
Alright, reproduced with a debug build from an hour ago. Attached is the output, the last few lines are listed below:

 => mAllocCount:          58509
 => mReallocCount:        10572
 => mFreeCount:           58202  --  LEAKED 307 !!!
 => mShareCount:          62780
 => mAdoptCount:           6549
 => mAdoptFreeCount:       6546  --  LEAKED 3 !!!

Program exited normally.

STR:
- Create a new profile, then go YouTube and create a number of tabs of YouTube videos (~5-6)
- Save and quit the profile.
- Run the profile again.
- As the tabs are loading, save profile and quit the application.
- Leaks shown.

(Fresh profile, no extensions)
The last log doesn't show us leaking any significant amount of stuff at all?
might be the same as in Bug 419162
Not blocking on this as it's likely related to other leak bugs.  We'll mark as wanted-next.
Flags: wanted-next+
Flags: blocking1.9?
Flags: blocking1.9-
I don't think I have more information on this one year on. Resolving incomplete.
Status: NEW → RESOLVED
Closed: 15 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: