Closed
Bug 463664
Opened 17 years ago
Closed 6 years ago
leak detected in fennec while viewing popuptest.com website
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(fennec1.0-)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
fennec | 1.0- | --- |
People
(Reporter: jmaher, Unassigned)
Details
(Keywords: memory-leak, testcase)
Attachments
(1 file)
654 bytes,
text/html
|
Details |
While developing tests for fennec, I was testing out http://www.popuptest.com/popuptest1.html. Upon intially loading up this page, I get the yellow bar asking if I want to allow popups. I selected "always" and reloaded the web page. After loading, I closed down fennec, and see this in the debug window:
--DOMWINDOW == 6 (0xb4957100) [serial = 24] [outer = (nil)] [url = about:blank]
--DOMWINDOW == 5 (0xb4954a30) [serial = 12] [outer = 0xb4953770] [url = http://www.popuptest.com/popuptest1.html]
--DOMWINDOW == 4 (0xb49537a0) [serial = 9] [outer = (nil)] [url = http://www.popuptest.com/popuptest1.html]
--WEBSHELL 0xb7923ba0 == 2
WARNING: sqlite3_close failed. There are probably outstanding statements!: file /home/mozilla/mozilla/src/storage/src/mozStorageConnection.cpp, line 249
WARNING: nsExceptionService ignoring thread destruction after shutdown: file /home/mozilla/mozilla/src/xpcom/base/nsExceptionService.cpp, line 194
--DOMWINDOW == 3 (0xb79b7ff0) [serial = 1] [outer = (nil)] [url = resource://gre/res/hiddenWindow.html]
--DOMWINDOW == 2 (0xb79b8a70) [serial = 4] [outer = (nil)] [url = resource://gre/res/hiddenWindow.html]
WARNING: Leaking the RDF Service.: file /home/mozilla/mozilla/src/rdf/build/nsRDFModule.cpp, line 236
WARNING: Textrun cache not empty!: 'mCache.Count() == 0', file /home/mozilla/mozilla/src/gfx/thebes/src/gfxTextRunWordCache.cpp, line 69
Assertion failed at /home/mozilla/mozilla/src/gfx/cairo/cairo/src/cairo-hash.c:199: hash_table->live_entries == 0
nsStringStats
=> mAllocCount: 88942
=> mReallocCount: 3236
=> mFreeCount: 85873 -- LEAKED 3069 !!!
=> mShareCount: 23488
=> mAdoptCount: 2737
=> mAdoptFreeCount: 2735 -- LEAKED 2 !!!
mozilla@mozilla-desktop:~/mozilla/src$
Comment 1•16 years ago
|
||
Current debug build also shows leaks -- this is just starting on Win32 then immediately shutting down while in about:firstrun
WARNING: Leaking the RDF Service.: file c:/src/mozilla-central/rdf/build/nsRDFModule.cpp, line 236
WARNING: Textrun cache not empty!: 'mCache.Count() == 0', file c:/src/mozilla-central/gfx/thebes/src/gfxTextRunWordCache.cpp, line 85
WARNING: Fonts still alive while shutting down gfxFontCache: 'mFonts.Count() == 0', file c:\src\build\xulrunner\dist\include\gfxFont.h, line 401
Assertion failed at c:/src/mozilla-central/gfx/cairo/cairo/src/cairo-hash.c:198: hash_table->live_entries == 0
Leaked URLs:
file:///c:/src/build/mobile/dist/bin/xulrunner/chrome/toolkit.jar
... (deleted many strings)
resource://gre/res/loading-image.png
resource://gre/res/broken-image.png
nsStringStats
=> mAllocCount: 13202
=> mReallocCount: 2316
=> mFreeCount: 10222 -- LEAKED 2980 !!!
=> mShareCount: 10751
=> mAdoptCount: 1614
=> mAdoptFreeCount: 1612 -- LEAKED 2 !!!
Comment 2•16 years ago
|
||
Is this still happening guys?
Updated•16 years ago
|
Severity: normal → critical
tracking-fennec: --- → ?
Updated•16 years ago
|
tracking-fennec: ? → 1.0-
Comment 3•15 years ago
|
||
Still leaks here on my OSX build.
Comment 4•15 years ago
|
||
These leaks are due to the popups on unload that the page has. Taking a closer look.
Assignee: nobody → mwu
Updated•15 years ago
|
OS: Linux → All
Hardware: x86 → All
Comment 5•15 years ago
|
||
I can't figure this out. I can also get it to leak just by opening fennec and then closing.
Assignee: mwu → nobody
Comment 6•15 years ago
|
||
Martijn, can you take a look at this and talk to Joel.
Comment 7•15 years ago
|
||
I can reproduce this on the latest 1.9.2 build on windows, but not with the latest 1.9.3 build on windows.
Comment 8•15 years ago
|
||
The onunload popup window showing up, triggers the leak.
Comment 9•15 years ago
|
||
I can't find a fix range, because for windows, there are no older 1.9.3 fennec builds.
I guess the question is, is this bug bad enough, that it should be fixed for 1.9.2 builds?
Comment 10•15 years ago
|
||
(In reply to comment #9)
> I guess the question is, is this bug bad enough, that it should be fixed for
> 1.9.2 builds?
I vote no
Comment 11•6 years ago
|
||
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•