<?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>298402</bug_id>
          
          <creation_ts>2025-09-04 10:22:49 -0700</creation_ts>
          <short_desc>REGRESSION(298805@main?): inspector/worker/dom-debugger-event-after-terminate-crash.html is flaky crash</short_desc>
          <delta_ts>2025-10-08 11:21:38 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=299131</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Mark Lam">mark.lam</assigned_to>
          <cc>mark.lam</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2140970</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-09-04 10:22:49 -0700</bug_when>
    <thetext>The following test is flaky crash in macOS both in debug and release. The crashes started after 298805@main. 

inspector/worker/dom-debugger-event-after-terminate-crash.html


 Thread 9 Crashed:: Dispatch queue: 
0  com.apple.JavaScriptCore	       0x105e8f730 JSC::ShadowChicken::update(JSC::VM&amp;, JSC::CallFrame*) (.cold.3)
1  com.apple.JavaScriptCore	       0x10549d490 JSC::ShadowChicken::update(JSC::VM&amp;, JSC::CallFrame*)
2  com.apple.JavaScriptCore	       0x105500170 JSC::genericUnwind(JSC::VM&amp;, JSC::CallFrame*)
3  com.apple.JavaScriptCore	       0x1056080e8 llint_slow_path_handle_exception
4  com.apple.JavaScriptCore	       0x105ed3bdc llint_entry
5  com.apple.JavaScriptCore	       0x105ebf0b4 vmEntryToJavaScript
6  com.apple.JavaScriptCore	       0x10549b14c JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
7  com.apple.JavaScriptCore	       0x10568ef10 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;)
8  com.apple.WebCore       	       0x11e8b7220 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&amp;, WebCore::Event&amp;)
9  com.apple.WebCore       	       0x11ecf33f0 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)
10  com.apple.WebCore       	       0x11ece9a0c WebCore::EventTarget::fireEventListeners(WebCore::Event&amp;, WebCore::EventTarget::EventInvokePhase)
11  com.apple.WebCore       	       0x11ecf3094 WebCore::EventTarget::dispatchEvent(WebCore::Event&amp;)
12  com.apple.WebCore       	       0x11fdbe104 WTF::Detail::CallableWrapper&lt;WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope(WebCore::MessageWithMessagePorts&amp;&amp;)::$_28, void, WebCore::ScriptExecutionContext&amp;&gt;::call(WebCore::ScriptExecutionContext&amp;)
13  com.apple.WebCore       	       0x11fdc3c9c WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
14  com.apple.WebCore       	       0x11fdc36d8 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&amp;)
15  com.apple.WebCore       	       0x11fdc1f58 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
16  com.apple.WebCore       	       0x11fdc1e58 WebCore::WorkerOrWorkletThread::runEventLoop()
17  com.apple.WebCore       	       0x11fdc26a0 WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
18  com.apple.JavaScriptCore	       0x104915204 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
19  com.apple.JavaScriptCore	       0x104917628 WTF::wtfThreadEntryPoint(void*)
20  libsystem_pthread.dylib 	       0x183449f94 _pthread_start + 136 /AppleInternal/Library/BuildRoots/289ffcb4-455d-11ef-953d-e2437461156c/Library/Caches/com.apple.xbs/Sources/libpthread/src/pthread.c:931
21  libsystem_pthread.dylib 	       0x183444d34 thread_start + 8

Test result:
https://ews-build.webkit.org/#/builders/136/builds/23088

Test history:
https://results.webkit.org/?suite=layout-tests&amp;test=inspector%2Fworker%2Fdom-debugger-event-after-terminate-crash.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140971</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-04 10:24:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/159864802&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140985</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-04 10:47:44 -0700</bug_when>
    <thetext>Test gardening commit 299568@main (2759b4f08285): &lt;https://commits.webkit.org/299568@main&gt;

Reviewed commits have been landed. Closing PR #50310 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149395</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2025-10-08 00:44:11 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/51997</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149509</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-10-08 11:21:33 -0700</bug_when>
    <thetext>Committed 301218@main (75aed5e343cd): &lt;https://commits.webkit.org/301218@main&gt;

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

    </bug>

</bugzilla>