Bug 222929 - REGRESSION (r274069): ASSERTION FAILED: m_isConstructed under WebCore::CSSFontSelector::CSSFontSelector
Summary: REGRESSION (r274069): ASSERTION FAILED: m_isConstructed under WebCore::CSSFon...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-08 12:05 PST by Ryan Haddad
Modified: 2021-03-08 13:17 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2021-03-08 12:05:57 PST
Seeing the following API test consistently assert on iOS and macOS debug bots:

    TestWebKitAPI.DocumentOrder.Positions
        ASSERTION FAILED: m_isConstructed
        /Volumes/Data/worker/bigsur-debug/build/WebKitBuild/Debug/usr/local/include/wtf/NeverDestroyed.h(154) : WTF::LazyNeverDestroyed::PointerType WTF::LazyNeverDestroyed<WTF::Vector<WTF::AtomStringImpl *, 8, WTF::CrashOnOverflow, 16, WTF::FastMalloc>, WTF::MainThreadAccessTraits>::storagePointerWithoutAccessCheck() const [T = WTF::Vector<WTF::AtomStringImpl *, 8, WTF::CrashOnOverflow, 16, WTF::FastMalloc>, AccessTraits = WTF::MainThreadAccessTraits]
        1   0x10f7d1049 WTFCrash
        2   0x129acc47b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x12c8240a7 WTF::LazyNeverDestroyed<WTF::Vector<WTF::AtomStringImpl*, 8ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, WTF::MainThreadAccessTraits>::storagePointerWithoutAccessCheck() const
        4   0x12c824032 WTF::LazyNeverDestroyed<WTF::Vector<WTF::AtomStringImpl*, 8ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, WTF::MainThreadAccessTraits>::storagePointer() const
        5   0x12c7f9ab5 WTF::LazyNeverDestroyed<WTF::Vector<WTF::AtomStringImpl*, 8ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, WTF::MainThreadAccessTraits>::operator->()
        6   0x12c7f958d WebCore::CSSFontSelector::CSSFontSelector(WebCore::ScriptExecutionContext&)
        7   0x12c7f9e7d WebCore::CSSFontSelector::CSSFontSelector(WebCore::ScriptExecutionContext&)
        8   0x12cb2cd3b WebCore::CSSFontSelector::create(WebCore::ScriptExecutionContext&)
        9   0x12cb2b499 WebCore::Document::Document(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, unsigned char, unsigned int)
        10  0x12cb2e4f0 WebCore::Document::Document(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, unsigned char, unsigned int)
        11  0x10ce57a34 WebCore::Document::create(WebCore::Settings const&, WTF::URL const&)
        12  0x10ce566e5 TestWebKitAPI::createDocument()
        13  0x10ce51c5e TestWebKitAPI::DocumentOrder_Positions_Test::TestBody()
        14  0x10d7c9b94 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        15  0x10d797dfb void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        16  0x10d797d36 testing::Test::Run()
        17  0x10d798e8a testing::TestInfo::Run()
        18  0x10d799cd4 testing::TestCase::Run()
        19  0x10d7a5398 testing::internal::UnitTestImpl::RunAllTests()
        20  0x10d7cef24 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        21  0x10d7a4e8b bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        22  0x10d7a4d5d testing::UnitTest::Run()
        23  0x10d527a11 RUN_ALL_TESTS()
        24  0x10d5279a2 TestWebKitAPI::TestsController::run(int, char**)
        25  0x10d7627df main
        26  0x7fff20390621 start

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.DocumentOrder.Positions
Comment 1 Ryan Haddad 2021-03-08 12:57:29 PST
It appears that this was caused by https://trac.webkit.org/changeset/274069/webkit
Comment 2 Radar WebKit Bug Importer 2021-03-08 12:57:37 PST
<rdar://problem/75183462>
Comment 3 Ryan Haddad 2021-03-08 13:17:32 PST
Reverted the change in https://commits.webkit.org/235032@main