UNCONFIRMED 41169
Safari crashes Windows when opening a page with @font-face rule
https://bugs.webkit.org/show_bug.cgi?id=41169
Summary Safari crashes Windows when opening a page with @font-face rule
Robin Cao
Reported 2010-06-24 11:05:53 PDT
Created attachment 59680 [details] a page containing @font-face rule Opening the attached page (containing @font-face rule) in latest Safari will crash Windows every time. My OS is Windows XP. I also tried with WebKit ToT builds, the result is same. But the page works well with Chrome for Windows. A simple investigation reveals it may relate to GDI font API. The following is the call stack before Windows crashes. DWORD GetGlyphOutline(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD cbBuffer, LPVOID, const MAT2 *); WebCore::SimpleFontData::initGDIFont() WebCore::SimpleFontData::platformInit() WebCore::SimpleFontData::SimpleFontData(const WebCore::FontPlatformData &, bool, bool, WebCore::SVGFontData *) WebCore::CSSFontFaceSource::getFontData(const WebCore::FontDescription &, bool, bool, WebCore::CSSFontSelector *) WebCore::CSSFontFace::getFontData(const WebCore::FontDescription &, bool, bool) WebCore::CSSSegmentedFontFace::getFontData(const WebCore::FontDescription &) WebCore::CSSFontSelector::getFontData(const WebCore::FontDescription &, const WebCore::AtomicString &) WebCore::FontCache::getFontData(const WebCore::Font &, int &, WebCore::FontSelector *) WebCore::FontFallbackList::fontDataAt(const WebCore::Font *, unsigned int) WebCore::FontFallbackList::primaryFontData(const WebCore::Font *)
Attachments
a page containing @font-face rule (221 bytes, text/html)
2010-06-24 11:05 PDT, Robin Cao
no flags
Karthik Sarap
Comment 1 2011-08-09 23:48:15 PDT
It is working fine on safari in XP OS and it does not seems having an issue .. If it is so then let me know by provinding with more details ..
Note You need to log in before you can comment on or make changes to this bug.