[Webkit-unassigned] [Bug 48723] Possible Crash in SegmentedFontData::isLoading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 14 21:58:32 PDT 2011


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





--- Comment #8 from mitz at webkit.org  2011-04-14 21:58:32 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 72609 [details] [details])
> > How can there be multiple active sources simultaneously?
> 
> I believe that It's caused by arguments.
> 
> I got below log (SFD means SegmentedFontData and pointer in () is this pointer).
> As following below message, CSSFontFace(0x77c380) choose two sources.
> 
> 
> CSSFontFace(0x77c380)::getFontData(fd, 0, 0), fontSelector(0x7a6ad8)
>     activeSource is m_sources[1]->getFontData()=> 0x77be78 <-- first one
>     returned result is 0x945678

> CSSFontFace(0x77c380)::getFontData(fd, 1, 0), fontSelector(0x7a6ad8)
>     activeSource is m_sources[0]->getFontData()=> 0x77c350 <-- second one
>     returned result is 0xced468

Can you explain how m_sources[0] became active here whereas it wasn’t active the first time around? I can’t identify a code path in CSSFontFaceSource::getFontData() which would explain returning 0 at first and later returning a non-0 value.

-- 
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