Closed Bug 378836 Opened 18 years ago Closed 18 years ago

ASSERTION: Fonts still alive while shutting down gfxFontCache: 'mFonts.Count() == 0' file gfxFont.h, line 165, with new textframe

Categories

(Core :: Graphics, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smontagu, Unassigned)

References

Details

Attachments

(1 file)

With the new textframe I get this assertion almost every time on shutdown, followed by a crash.
Blocks: 367177
I get this on Linux after viewing about:plugins.
OS: Windows XP → All
As far as I can tell this happens only when we leak DOMWindows a la bug 380837. Removing blocking of new-textframe on that basis. If someone reproduces when DOMWindows are not leaked, please say so and restore the blocking link...
No longer blocks: 367177
Depends on: 380837
Attached file testcase
This causes the assertion without leaking DOMWindows. I suspect that it is leaking something else, though, so I won't restore the blocking.
Thanks for that! I found a nasty little leak which I have a fix for in my tree.
Restoring blocking flag since I have a fix
Blocks: 367177
I checked in my fix. This problem may occur again if we leak textruns, but there are now assertions in place that should fire if that happens so we can get more specific bug reports. In any case new bug(s) should be filed.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: