[Webkit-unassigned] [Bug 62942] [GTK] ASSERTION FAILED: it != gFontDataCache->end() in FontCache.cpp:318

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 19 23:38:21 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62942





--- Comment #3 from Martin Robinson <mrobinson at webkit.org>  2011-06-19 23:38:22 PST ---
After a couple days of pounding my head onto my desk, I believe I have finally uncovered the issue here. The == operator overload of the FreeType FontPlatformData does not properly make the distinction between the hash table deleted value (m_scaledFont == -1) and the hash table empty value (m_scaledFont == 0). 

This means that when a font is purged from the FontCache, that bucket may seem from then on to be an empty bucket. This short circuits the .find(...) and .remove(...) logic too soon as they search for their target entries.

The bug has existed for some time, but was only recently revealed by changes to the font cache size constants. Patch in a moment.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list