Bug 290546

Summary: REGRESSION(292722@main?): [macOS iOS Debug] imported/w3c/web-platform-tests/workers/abrupt-completion.html is a flaky crash
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 290455    

Marta Darbinyan
Reported 2025-03-27 10:32:30 PDT
The following test is flaky crash on iOS and macOS Debug and also false-positive in EWS. imported/w3c/web-platform-tests/workers/abrupt-completion.html This crash started failing after the change 292722@main. 4 0x130388390 WebCore::DedicatedWorkerGlobalScope::postMessage(JSC::JSGlobalObject&, JSC::JSValue, WebCore::StructuredSerializeOptions&&) 5 0x129e501bc WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*)::'lambda'()::operator()() const 6 0x129e500c0 JSC::JSValue WebCore::toJS<WebCore::IDLUndefined, WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*)::'lambda'()>(JSC::JSGlobalObject&, JSC::ThrowScope&, WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*)::'lambda'()&&) 7 0x129e4fe54 WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*) 8 0x129e4f790 WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessageOverloadDispatcher(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*) 9 0x129e4f61c long long WebCore::IDLOperation<WebCore::JSDedicatedWorkerGlobalScope>::call<&WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessageOverloadDispatcher(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*), (WebCore::CastedThisErrorBehavior)0>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) 10 0x129e4f360 WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage(JSC::JSGlobalObject*, JSC::CallFrame*) 11 0x308124b2c 10 ??? 0x0000000308124b2c 0x0 + 13020318508 12 0x308124b5c 11 ??? 0x0000000308124b5c 0x0 + 13020318556 13 0x120f5f654 vmEntryToJavaScript 14 0x11fe69300 JSC::Interpreter::executeCallImpl(JSC::VM&, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 15 0x11fe69440 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 16 0x12014f094 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 17 0x12014f14c JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 18 0x12014f434 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 19 0x12cbf90d8 WebCore::JSExecState::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 20 0x12cc95a64 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) 21 0x12dac1f88 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener>>, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase) 22 0x12dab4794 WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) 23 0x12dac19cc WebCore::EventTarget::dispatchEvent(WebCore::Event&) 24 0x1303cb1c8 auto WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope(WebCore::MessageWithMessagePorts&&)::$_20::operator()<WebCore::ScriptExecutionContext>(WebCore::ScriptExecutionContext&) 25 0x1303cad10 WTF::Detail::CallableWrapper<WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope(WebCore::MessageWithMessagePorts&&)::$_20, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) 26 0x12bdaf9fc WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const 27 0x12c813d0c WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) 28 0x1303de960 WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) 29 0x1303dddd0 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&) 30 0x1303dc390 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) 31 0x1303dc2c4 WebCore::WorkerOrWorkletThread::runEventLoop() Test history: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fabrupt-completion.html&style=debug Test results: https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK1-Tests/292722@main%20(6293)/imported/w3c/web-platform-tests/workers/abrupt-completion-crash-log.txt
Attachments
Radar WebKit Bug Importer
Comment 1 2025-03-27 10:33:08 PDT
EWS
Comment 2 2025-03-28 19:28:19 PDT
Test gardening commit 292872@main (cd4fed97257a): <https://commits.webkit.org/292872@main> Reviewed commits have been landed. Closing PR #43229 and removing active labels.
EWS
Comment 3 2025-03-31 16:29:44 PDT
Committed 292975@main (92c7a6d947b1): <https://commits.webkit.org/292975@main> Reviewed commits have been landed. Closing PR #43355 and removing active labels.
EWS
Comment 4 2025-03-31 16:38:12 PDT
Test gardening commit 292976@main (1651807f6843): <https://commits.webkit.org/292976@main> Reviewed commits have been landed. Closing PR #43356 and removing active labels.
Robert Jenner
Comment 5 2025-04-08 15:59:48 PDT
EWS
Comment 6 2025-04-08 16:02:54 PDT
Committed 289651.413@safari-7621-branch (fff49a21f97d): <https://commits.webkit.org/289651.413@safari-7621-branch> Reviewed commits have been landed. Closing PR #2977 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.