[Webkit-unassigned] [Bug 215320] New: Return values of FontDatabase::collectionForFamily are not thread safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 10 05:12:40 PDT 2020


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

            Bug ID: 215320
           Summary: Return values of FontDatabase::collectionForFamily are
                    not thread safe
           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: koivisto at iki.fi
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

This results in a crash under findClosestFont:

   50 WebCore: WebCore::findClosestFont(WebCore::FontDatabase::InstalledFontFamily const&, WebCore::FontSelectionRequest) <==
        50 WebCore: WebCore::findClosestFont(WebCore::FontDatabase::InstalledFontFamily const&, WebCore::FontSelectionRequest)
          50 WebCore: WebCore::FontCache::createFontPlatformData(WebCore::FontDescription const&, WTF::AtomString const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontSelectionSpecifiedCapabilities)
            50 WebCore: WebCore::FontCache::getCachedFontPlatformData(WebCore::FontDescription const&, WTF::AtomString const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontSelectionSpecifiedCapabilities, bool)
              50 WebCore: WebCore::FontCache::fontForFamily(WebCore::FontDescription const&, WTF::AtomString const&, WebCore::FontTaggedSettings<int> const*, WebCore::FontSelectionSpecifiedCapabilities, bool)
                50 WebCore: WebCore::CSSFontSelector::fontRangesForFamily(WebCore::FontDescription const&, WTF::AtomString const&)
                  50 WebCore: WebCore::realizeNextFallback(WebCore::FontCascadeDescription const&, unsigned int&, WebCore::FontSelector*)
                    50 WebCore: WebCore::FontCascadeFonts::realizeFallbackRangesAt(WebCore::FontCascadeDescription const&, unsigned int)
                      50 WebCore: WebCore::FontCascadeFonts::primaryFont(WebCore::FontCascadeDescription const&)

-- 
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/20200810/b3520909/attachment.htm>


More information about the webkit-unassigned mailing list