Bug 244396

Summary: Flaky assertion hit under ScriptExecutionContext::dispatchMessagePortEvents()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2022-08-26 11:01:03 PDT
Flaky assertion hit under ScriptExecutionContext::dispatchMessagePortEvents():

ASSERTION FAILED: m_willprocessMessageWithMessagePortsSoon
dom/ScriptExecutionContext.cpp(212) : void WebCore::ScriptExecutionContext::dispatchMessagePortEvents()
1   0x14158eba0 WTFCrash
2   0x11a60d740 WebCore::JSCSSStyleSheet::createPrototype(JSC::VM&, WebCore::JSDOMGlobalObject&)
3   0x11d89ab4c WebCore::ScriptExecutionContext::dispatchMessagePortEvents()
4   0x11d8badc8 WebCore::ScriptExecutionContext::processMessageWithMessagePortsSoon()::$_4::operator()(WebCore::ScriptExecutionContext&) const
5   0x11d8bad6c WTF::Detail::CallableWrapper<WebCore::ScriptExecutionContext::processMessageWithMessagePortsSoon()::$_4, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&)
6   0x11ca58cbc WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
7   0x11ca47c30 WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
8   0x11fc3460c WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
9   0x11fc33a98 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&)
10  0x11fc336c0 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
11  0x11fbf9324 WebCore::WorkerOrWorkletThread::runEventLoop()
12  0x11fbf969c WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
13  0x11fc59830 WebCore::WorkerThread::createThread()::$_5::operator()() const
14  0x11fc597ac WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_5, void>::call()
15  0x1415b9ff4 WTF::Function<void ()>::operator()() const
16  0x1416a2864 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
17  0x1416b0c5c WTF::wtfThreadEntryPoint(void*)
Comment 1 Chris Dumez 2022-08-26 11:01:10 PDT
<rdar://99188062>
Comment 2 Chris Dumez 2022-08-26 11:06:44 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3706
Comment 3 EWS 2022-08-26 17:39:54 PDT
Committed 253850@main (b91baa17acd7): <https://commits.webkit.org/253850@main>

Reviewed commits have been landed. Closing PR #3706 and removing active labels.