[Webkit-unassigned] [Bug 200340] New: [WinCairo] Specifying huge font-size causes crashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 1 02:16:06 PDT 2019


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

            Bug ID: 200340
           Summary: [WinCairo] Specifying huge font-size causes crashing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

[WinCairo] Specifying huge font-size causes crashing

In Debug build, an assertion fails. "Bitmap fonts not supported with CoreGraphics."

Callstack:

> WTF.dll!WTFCrash() Line 305	C++
> WebKit.dll!WebCore::FontPlatformData::FontPlatformData(WTF::GDIObject<HFONT__ *> font, float size, bool bold, bool oblique, bool useGDI) Line 57	C++
> [External Code]	
> WebKit.dll!WebCore::FontCache::createFontPlatformData(const WebCore::FontDescription & fontDescription, const WTF::AtomString & family, const WebCore::FontTaggedSettings<int> *, const WebCore::FontVariantSettings *, WebCore::FontSelectionSpecifiedCapabilities) Line 652	C++
> WebKit.dll!WebCore::FontCache::getCachedFontPlatformData(const WebCore::FontDescription & fontDescription, const WTF::AtomString & passedFamilyName, const WebCore::FontTaggedSettings<int> * fontFaceFeatures, const WebCore::FontVariantSettings * fontFaceVariantSettings, WebCore::FontSelectionSpecifiedCapabilities fontFaceCapabilities, bool checkingAlternateName) Line 234	C++
> WebKit.dll!WebCore::FontCache::fontForFamily(const WebCore::FontDescription & fontDescription, const WTF::AtomString & family, const WebCore::FontTaggedSettings<int> * fontFaceFeatures, const WebCore::FontVariantSettings * fontFaceVariantSettings, WebCore::FontSelectionSpecifiedCapabilities fontFaceCapabilities, bool checkingAlternateName) Line 328	C++
> WebKit.dll!WebCore::CSSFontSelector::fontRangesForFamily(const WebCore::FontDescription & fontDescription, const WTF::AtomString & familyName) Line 344	C++
> WebKit.dll!WebCore::realizeNextFallback::<unnamed-tag>::operator()(const WTF::AtomString & family) Line 147	C++
> WebKit.dll!WTF::__visit_helper<0,WTF::__index_sequence<0> >::__visit<WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'>,const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> >(WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'> & __visitor, const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> & __v) Line 1901	C++
> WebKit.dll!WTF::__visit_helper2<0,1>::__visit<WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'>,const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> &>(WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'> & __visitor, const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> & __v) Line 1936	C++
> WebKit.dll!WTF::__visit_helper2<1,1>::__visit<WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'>,const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> &>(WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'> & __visitor, const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> & __v) Line 1936	C++
> WebKit.dll!WTF::__visit_helper<1,WTF::__index_sequence<> >::__visit<WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'>,const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> &>(WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'> & __visitor, const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> & __v) Line 1975	C++
> WebKit.dll!WTF::visit<WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'> &,const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> &>(WTF::Visitor<`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:143:41',`lambda at ..\..\Source\WebCore\platform/graphics/FontCascadeFonts.cpp:154:12'> & __visitor, const WTF::Variant<WTF::AtomString,WebCore::FontFamilySpecificationNull> & __v) Line 1987	C++
> WebKit.dll!WebCore::realizeNextFallback(const WebCore::FontCascadeDescription & description, unsigned int & index, WebCore::FontSelector * fontSelector) Line 158	C++
> WebKit.dll!WebCore::FontCascadeFonts::realizeFallbackRangesAt(const WebCore::FontCascadeDescription & description, unsigned int index) Line 184	C++
> WebKit.dll!WebCore::FontCascadeFonts::primaryFont(const WebCore::FontCascadeDescription & description) Line 128	C++
> WebKit.dll!WebCore::FontCascade::primaryFont() Line 337	C++
> WebKit.dll!WebCore::SimpleLineLayout::canUseForFontAndText(const WebCore::RenderBlockFlow & flow, WebCore::SimpleLineLayout::IncludeReasons includeReasons) Line 162	C++
> WebKit.dll!WebCore::SimpleLineLayout::canUseForWithReason(const WebCore::RenderBlockFlow & flow, WebCore::SimpleLineLayout::IncludeReasons includeReasons) Line 347	C++
> WebKit.dll!WebCore::SimpleLineLayout::canUseFor(const WebCore::RenderBlockFlow & flow) Line 355	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutInlineChildren(bool relayoutChildren, WebCore::LayoutUnit & repaintLogicalTop, WebCore::LayoutUnit & repaintLogicalBottom) Line 669	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren, WebCore::LayoutUnit pageLogicalHeight) Line 508	C++
> WebKit.dll!WebCore::RenderBlock::layout() Line 603	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox & child, WebCore::RenderBlockFlow::MarginInfo & marginInfo, WebCore::LayoutUnit & previousFloatLogicalBottom, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 738	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlockChildren(bool relayoutChildren, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 637	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren, WebCore::LayoutUnit pageLogicalHeight) Line 511	C++
> WebKit.dll!WebCore::RenderBlock::layout() Line 603	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox & child, WebCore::RenderBlockFlow::MarginInfo & marginInfo, WebCore::LayoutUnit & previousFloatLogicalBottom, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 738	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlockChildren(bool relayoutChildren, WebCore::LayoutUnit & maxFloatLogicalBottom) Line 637	C++
> WebKit.dll!WebCore::RenderBlockFlow::layoutBlock(bool relayoutChildren, WebCore::LayoutUnit pageLogicalHeight) Line 511	C++
> WebKit.dll!WebCore::RenderBlock::layout() Line 603	C++
> WebKit.dll!WebCore::RenderView::layout() Line 186	C++
> WebKit.dll!WebCore::FrameViewLayoutContext::layout() Line 217	C++
> WebKit.dll!WebCore::Document::implicitClose() Line 3009	C++
> WebKit.dll!WebCore::FrameLoader::checkCallImplicitClose() Line 959	C++
> WebKit.dll!WebCore::FrameLoader::checkCompleted() Line 899	C++
> WebKit.dll!WebCore::FrameLoader::finishedParsing() Line 788	C++
> WebKit.dll!WebCore::Document::finishedParsing() Line 5691	C++
> WebKit.dll!WebCore::HTMLConstructionSite::finishedParsing() Line 420	C++
> WebKit.dll!WebCore::HTMLTreeBuilder::finished() Line 2845	C++
> WebKit.dll!WebCore::HTMLDocumentParser::end() Line 429	C++
> WebKit.dll!WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd() Line 438	C++
> WebKit.dll!WebCore::HTMLDocumentParser::prepareToStopParsing() Line 143	C++
> WebKit.dll!WebCore::HTMLDocumentParser::attemptToEnd() Line 450	C++
> WebKit.dll!WebCore::HTMLDocumentParser::finish() Line 478	C++
> WebKit.dll!WebCore::DocumentWriter::end() Line 276	C++
> WebKit.dll!WebCore::DocumentLoader::finishedLoading() Line 445	C++
> WebKit.dll!WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource & resource) Line 393	C++
> WebKit.dll!WebCore::CachedResource::checkNotify() Line 351	C++
> WebKit.dll!WebCore::CachedResource::finishLoading(WebCore::SharedBuffer *) Line 369	C++
> WebKit.dll!WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer * data) Line 121	C++
> WebKit.dll!WebCore::SubresourceLoader::didFinishLoading(const WebCore::NetworkLoadMetrics & networkLoadMetrics) Line 661	C++
> WebKit.dll!WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle *) Line 706	C++
> WebKit.dll!WebCore::CurlResourceHandleDelegate::curlDidComplete(WebCore::CurlRequest &, WebCore::NetworkLoadMetrics &&) Line 166	C++
> WebKit.dll!WebCore::CurlRequest::didCompleteTransfer::<unnamed-tag>::operator()(WebCore::CurlRequest & request, WebCore::CurlRequestClient & client) Line 462	C++
> WebKit.dll!WTF::Detail::CallableWrapper<`lambda at ..\..\Source\WebCore\platform\network\curl\CurlRequest.cpp:458:20',void,WebCore::CurlRequest &,WebCore::CurlRequestClient &>::call(WebCore::CurlRequest & in, WebCore::CurlRequestClient & in) Line 52	C++
> WebKit.dll!WTF::Function<void (WebCore::CurlRequest &, WebCore::CurlRequestClient &)>::operator()(WebCore::CurlRequest & in, WebCore::CurlRequestClient & in) Line 79	C++
> WebKit.dll!WebCore::CurlRequest::callClient::<unnamed-tag>::operator()() Line 181	C++
> WebKit.dll!WTF::Detail::CallableWrapper<`lambda at ..\..\Source\WebCore\platform\network\curl\CurlRequest.cpp:179:21',void>::call() Line 52	C++
> WTF.dll!WTF::Function<void ()>::operator()() Line 79	C++
> WTF.dll!WTF::dispatchFunctionsFromMainThread() Line 114	C++
> WTF.dll!WTF::ThreadingWindowWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 48	C++
> [External Code]	
> WebKit.dll!WebKitMessageLoop::run(HACCEL__ * hAccelTable) Line 94	C++
> MiniBrowserLib.dll!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpstrCmdLine, int nCmdShow) Line 97	C++
> MiniBrowserLib.dll!dllLauncherEntryPoint(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpstrCmdLine, int nCmdShow) Line 115	C++
> MiniBrowser.exe!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpstrCmdLine, int nCmdShow) Line 232	C++
> [External Code]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190801/4975c097/attachment-0001.html>


More information about the webkit-unassigned mailing list