<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>290546</bug_id>
          
          <creation_ts>2025-03-27 10:32:30 -0700</creation_ts>
          <short_desc>REGRESSION(292722@main?): [macOS iOS Debug] imported/w3c/web-platform-tests/workers/abrupt-completion.html is a flaky crash</short_desc>
          <delta_ts>2025-04-08 16:02:54 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>290455</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2106490</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-03-27 10:32:30 -0700</bug_when>
    <thetext>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&amp;, JSC::JSValue, WebCore::StructuredSerializeOptions&amp;&amp;)
5   0x129e501bc WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*)::&apos;lambda&apos;()::operator()() const
6   0x129e500c0 JSC::JSValue WebCore::toJS&lt;WebCore::IDLUndefined, WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*)::&apos;lambda&apos;()&gt;(JSC::JSGlobalObject&amp;, JSC::ThrowScope&amp;, WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessage2Body(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*)::&apos;lambda&apos;()&amp;&amp;)
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&lt;WebCore::JSDedicatedWorkerGlobalScope&gt;::call&lt;&amp;WebCore::jsDedicatedWorkerGlobalScopeInstanceFunction_postMessageOverloadDispatcher(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDedicatedWorkerGlobalScope*), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, 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&amp;, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
15  0x11fe69440 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
16  0x12014f094 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
17  0x12014f14c JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
18  0x12014f434 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
19  0x12cbf90d8 WebCore::JSExecState::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
20  0x12cc95a64 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&amp;, WebCore::Event&amp;)
21  0x12dac1f88 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&amp;, WTF::Vector&lt;WTF::RefPtr&lt;WebCore::RegisteredEventListener, WTF::RawPtrTraits&lt;WebCore::RegisteredEventListener&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::RegisteredEventListener&gt;&gt;, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc&gt;, WebCore::EventTarget::EventInvokePhase)
22  0x12dab4794 WebCore::EventTarget::fireEventListeners(WebCore::Event&amp;, WebCore::EventTarget::EventInvokePhase)
23  0x12dac19cc WebCore::EventTarget::dispatchEvent(WebCore::Event&amp;)
24  0x1303cb1c8 auto WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope(WebCore::MessageWithMessagePorts&amp;&amp;)::$_20::operator()&lt;WebCore::ScriptExecutionContext&gt;(WebCore::ScriptExecutionContext&amp;)
25  0x1303cad10 WTF::Detail::CallableWrapper&lt;WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope(WebCore::MessageWithMessagePorts&amp;&amp;)::$_20, void, WebCore::ScriptExecutionContext&amp;&gt;::call(WebCore::ScriptExecutionContext&amp;)
26  0x12bdaf9fc WTF::Function&lt;void (WebCore::ScriptExecutionContext&amp;)&gt;::operator()(WebCore::ScriptExecutionContext&amp;) const
27  0x12c813d0c WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&amp;)
28  0x1303de960 WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
29  0x1303dddd0 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&amp;)
30  0x1303dc390 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
31  0x1303dc2c4 WebCore::WorkerOrWorkletThread::runEventLoop()


Test history:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fabrupt-completion.html&amp;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106491</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-27 10:33:08 -0700</bug_when>
    <thetext>&lt;rdar://problem/148030435&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107041</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-28 19:28:19 -0700</bug_when>
    <thetext>Test gardening commit 292872@main (cd4fed97257a): &lt;https://commits.webkit.org/292872@main&gt;

Reviewed commits have been landed. Closing PR #43229 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107623</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-31 16:29:44 -0700</bug_when>
    <thetext>Committed 292975@main (92c7a6d947b1): &lt;https://commits.webkit.org/292975@main&gt;

Reviewed commits have been landed. Closing PR #43355 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107624</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-31 16:38:12 -0700</bug_when>
    <thetext>Test gardening commit 292976@main (1651807f6843): &lt;https://commits.webkit.org/292976@main&gt;

Reviewed commits have been landed. Closing PR #43356 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2109830</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2025-04-08 15:59:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/148860709&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2109831</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-08 16:02:54 -0700</bug_when>
    <thetext>Committed 289651.413@safari-7621-branch (fff49a21f97d): &lt;https://commits.webkit.org/289651.413@safari-7621-branch&gt;

Reviewed commits have been landed. Closing PR #2977 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>