Bug 206599

Summary: [mac-wk1] ASSERTION FAILED: FontCache::singleton().generation() == m_generation seen with accessibility/mac/select-text/select-text-1.html
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, ryanhaddad, webkit-bot-watchers-bugzilla
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=206241

Description Aakash Jain 2020-01-22 11:16:46 PST
accessibility/mac/select-text/select-text-1.html is flaky crash on mac wk1. In following EWS builds, it failed in layout-tests step, but passed in subsequent re-run-layout-tests step:

https://ews-build.webkit.org/#/builders/32/builds/1164
https://ews-build.webkit.org/#/builders/32/builds/1169

Results dashboard also shows it to be very flaky: https://results.webkit.org/?suite=layout-tests&test=accessibility%2Fmac%2Fselect-text%2Fselect-text-1.html
Comment 1 Ryan Haddad 2020-01-22 11:28:21 PST
ASSERTION FAILED: FontCache::singleton().generation() == m_generation
./platform/graphics/FontCascadeFonts.cpp(180) : const WebCore::FontRanges &WebCore::FontCascadeFonts::realizeFallbackRangesAt(const WebCore::FontCascadeDescription &, unsigned int)
1   0x10aad6b19 WTFCrash
2   0x121054f3b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x1249469ed WebCore::FontCascadeFonts::realizeFallbackRangesAt(WebCore::FontCascadeDescription const&, unsigned int)
4   0x1211f5551 WebCore::FontCascadeFonts::primaryFont(WebCore::FontCascadeDescription const&)
5   0x1211ef5e4 WebCore::FontCascade::primaryFont() const
6   0x123ed8a35 WebCore::FontCascade::fontMetrics() const
7   0x125140775 WebCore::RenderStyle::fontMetrics() const
8   0x1235f9bf1 WebCore::CSSPrimitiveValue::equalForLengthResolution(WebCore::RenderStyle const&, WebCore::RenderStyle const&)
9   0x1252715b4 WebCore::Style::MatchedDeclarationsCache::Entry::isUsableAfterHighPriorityProperties(WebCore::RenderStyle const&) const
10  0x1252bf629 WebCore::Style::Resolver::applyMatchedProperties(WebCore::Style::Resolver::State&, WebCore::Style::MatchResult const&, WebCore::Style::Resolver::UseMatchedDeclarationsCache)
11  0x1252bdfcc WebCore::Style::Resolver::styleForElement(WebCore::Element const&, WebCore::RenderStyle const*, WebCore::RenderStyle const*, WebCore::RuleMatchingBehavior, WebCore::SelectorFilter const*)
12  0x1252eb072 WebCore::Style::TreeResolver::styleForElement(WebCore::Element&, WebCore::RenderStyle const&)
13  0x1252eb59b WebCore::Style::TreeResolver::resolveElement(WebCore::Element&)
14  0x1252ed029 WebCore::Style::TreeResolver::resolveComposedTree()
15  0x1252edde8 WebCore::Style::TreeResolver::resolve()
16  0x12383d11d WebCore::Document::resolveStyle(WebCore::Document::ResolveStyleType)
17  0x12383dc8d WebCore::Document::updateStyleIfNeeded()
18  0x123839019 WebCore::Document::updateLayout()
19  0x12383a59e WebCore::Document::updateLayoutIgnorePendingStylesheets(WebCore::Document::RunPostLayoutTasks)
20  0x1231e184e WebCore::AccessibilityObject::updateBackingStore()
21  0x1258b042a -[WebAccessibilityObjectWrapperBase updateObjectBackingStore]
22  0x1258bfd05 -[WebAccessibilityObjectWrapper accessibilityAttributeValue:]
23  0x109cc4099 AccessibilityController::accessibleElementById(OpaqueJSString*)
24  0x109cc37fb getAccessibleElementByIdCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**)
25  0x10b0eab61 long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::JSGlobalObject*, JSC::CallFrame*)
26  0x261fda601027
27  0x10afed1b9 llint_entry
28  0x10afcfe83 vmEntryToJavaScript
29  0x10bd9f927 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
30  0x10bd9efd6 JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::JSGlobalObject*, JSC::JSObject*)
31  0x10c10a26c JSC::evaluate(JSC::JSGlobalObject*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
Comment 2 Ryan Haddad 2020-01-22 11:31:45 PST
I don't see any reason to track this separately from https://bugs.webkit.org/show_bug.cgi?id=206241

*** This bug has been marked as a duplicate of bug 206241 ***