[Webkit-unassigned] [Bug 173617] New: ASSERTION failure @ Source/WebCore/platform/graphics/mac/FontCacheMac.mm(95)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 20 13:16:21 PDT 2017


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

            Bug ID: 173617
           Summary: ASSERTION failure @
                    Source/WebCore/platform/graphics/mac/FontCacheMac.mm(9
                    5)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

We're hitting an ASSERT_NOT_REACHED() in platformFontWithFamilySpecialCase():

/Volumes/Data/ws2/OpenSource/Source/WebCore/platform/graphics/mac/FontCacheMac.mm(95) : RetainPtr<CTFontRef> WebCore::platformFontWithFamilySpecialCase(const WTF::AtomicString &, WebCore::FontSelectionRequest, float)
1   0x106c30a4d WTFCrash
2   0x10aca2fea WebCore::platformFontWithFamilySpecialCase(WTF::AtomicString const&, WebCore::FontSelectionRequest, float)
3   0x10ac8ff86 WebCore::fontWithFamily(WTF::AtomicString const&, WebCore::FontDescription const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontVariantSettings const*, WebCore::FontSelectionSpecifiedCapabilities, float)
4   0x10ac8f6a3 WebCore::FontCache::createFontPlatformData(WebCore::FontDescription const&, WTF::AtomicString const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontVariantSettings const*, WebCore::FontSelectionSpecifiedCapabilities)
5   0x10ac7aae7 WebCore::FontCache::getCachedFontPlatformData(WebCore::FontDescription const&, WTF::AtomicString const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontVariantSettings const*, WebCore::FontSelectionSpecifiedCapabilities, bool)
6   0x10ac7b7a8 WebCore::FontCache::fontForFamily(WebCore::FontDescription const&, WTF::AtomicString const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontVariantSettings const*, WebCore::FontSelectionSpecifiedCapabilities, bool)
7   0x10a7c17c3 WebCore::CSSFontFaceSource::load(WebCore::CSSFontSelector*)
8   0x10a795f9b WebCore::CSSFontFace::pump(WebCore::ExternalResourceDownloadPolicy)
9   0x10a7973be WebCore::CSSFontFace::font(WebCore::FontDescription const&, bool, bool, WebCore::ExternalResourceDownloadPolicy)
10  0x10a89754f WebCore::CSSFontAccessor::font(WebCore::ExternalResourceDownloadPolicy) const
11  0x10ace73f3 WebCore::FontRanges::Range::font(WebCore::ExternalResourceDownloadPolicy) const
12  0x10ace77ea WebCore::FontRanges::glyphDataForCharacter(int, WebCore::ExternalResourceDownloadPolicy) const
13  0x10acbe6d0 WebCore::FontCascadeFonts::glyphDataForNormalVariant(int, WebCore::FontCascadeDescription const&)
14  0x10acbeabb WebCore::FontCascadeFonts::glyphDataForCharacter(int, WebCore::FontCascadeDescription const&, WebCore::FontVariant)
15  0x10aca7998 WebCore::FontCascade::glyphDataForCharacter(int, bool, WebCore::FontVariant) const
16  0x10d061e76 unsigned int WebCore::WidthIterator::advanceInternal<WebCore::SurrogatePairAwareTextIterator>(WebCore::SurrogatePairAwareTextIterator&, WebCore::GlyphBuffer*)
17  0x10d06017d WebCore::WidthIterator::advance(unsigned int, WebCore::GlyphBuffer*)
18  0x10aca6fc2 WebCore::FontCascade::floatWidthForSimpleText(WebCore::TextRun const&, WTF::HashSet<WebCore::Font const*, WTF::PtrHash<WebCore::Font const*>, WTF::HashTraits<WebCore::Font const*> >*, WebCore::GlyphOverflow*) const
19  0x10aca6ce1 WebCore::FontCascade::width(WebCore::TextRun const&, WTF::HashSet<WebCore::Font const*, WTF::PtrHash<WebCore::Font const*>, WTF::HashTraits<WebCore::Font const*> >*, WebCore::GlyphOverflow*) const
20  0x10c76fae7 WebCore::RenderText::widthFromCache(WebCore::FontCascade const&, unsigned int, unsigned int, float, WTF::HashSet<WebCore::Font const*, WTF::PtrHash<WebCore::Font const*>, WTF::HashTraits<WebCore::Font const*> >*, WebCore::GlyphOverflow*, WebCore::RenderStyle const&) const
21  0x10c77145b WebCore::RenderText::computePreferredLogicalWidths(float, WTF::HashSet<WebCore::Font const*, WTF::PtrHash<WebCore::Font const*>, WTF::HashTraits<WebCore::Font const*> >&, WebCore::GlyphOverflow&)
22  0x10c770884 WebCore::RenderText::computePreferredLogicalWidths(float)
23  0x10c770145 WebCore::RenderText::trimmedPrefWidths(float, float&, bool&, float&, bool&, bool&, bool&, float&, float&, float&, float&, bool&)
24  0x10c48fc70 WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
25  0x10c48ebf0 WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
26  0x10c461524 WebCore::RenderBlock::computePreferredLogicalWidths()
27  0x10c4d9f61 WebCore::RenderBox::minPreferredLogicalWidth() const
28  0x10c4d71dc WebCore::RenderBox::computeLogicalWidthInRegionUsing(WebCore::SizeType, WebCore::Length, WebCore::LayoutUnit, WebCore::RenderBlock const&, WebCore::RenderRegion*) const
29  0x10c4e2463 WebCore::RenderBox::computeLogicalWidthInRegion(WebCore::RenderBox::LogicalExtentComputedValues&, WebCore::RenderRegion*) const
30  0x10c4e1c11 WebCore::RenderBox::updateLogicalWidth()
31  0x10c4530b3 WebCore::RenderBlock::recomputeLogicalWidth()

-- 
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/20170620/2f0fecbd/attachment-0001.html>


More information about the webkit-unassigned mailing list