<?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>254184</bug_id>
          
          <creation_ts>2023-03-20 14:24:12 -0700</creation_ts>
          <short_desc>[ macOS ] ASSERTION FAILED: m_normalWorld-&gt;hasOneRef() on imported/w3c/web-platform-tests/fetch/api/headers/header-setcookie.any.html flakily</short_desc>
          <delta_ts>2023-03-22 16:33:15 -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>Service Workers</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>246022</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=254275</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="Bri Harris">bharris9</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>1942676</commentid>
    <comment_count>0</comment_count>
    <who name="Bri Harris">bharris9</who>
    <bug_when>2023-03-20 14:24:12 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/fetch/api/headers/header-setcookie.any.html

is a flaky failure on Ventura. 


HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Ffetch%2Fapi%2Fheaders%2Fheader-setcookie.any.html


CRASH LOG TEXT:

stderr:
ASSERTION FAILED: m_normalWorld-&gt;hasOneRef()
bindings/js/WebCoreJSClientData.cpp(144) : virtual WebCore::JSVMClientData::~JSVMClientData()
1   0x153bca0b9 WTFCrash
2   0x112fded0b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x11647483d WebCore::JSVMClientData::~JSVMClientData()
4   0x116474af5 WebCore::JSVMClientData::~JSVMClientData()
5   0x116474b19 WebCore::JSVMClientData::~JSVMClientData()
6   0x155dfa8e9 JSC::VM::~VM()
7   0x155dfb9e5 JSC::VM::~VM()
8   0x154676d0a WTF::ThreadSafeRefCounted&lt;JSC::VM, (WTF::DestructionThread)0&gt;::deref() const::&apos;lambda&apos;()::operator()() const
9   0x15465cd67 WTF::ThreadSafeRefCounted&lt;JSC::VM, (WTF::DestructionThread)0&gt;::deref() const
10  0x155501bde WTF::DefaultRefDerefTraits&lt;JSC::VM&gt;::derefIfNotNull(JSC::VM*)
11  0x1554e61e1 WTF::RefPtr&lt;JSC::VM, WTF::RawPtrTraits&lt;JSC::VM&gt;, WTF::DefaultRefDerefTraits&lt;JSC::VM&gt; &gt;::operator=(std::nullptr_t)
12  0x155afb36a JSC::JSLockHolder::~JSLockHolder()
13  0x155afb3d5 JSC::JSLockHolder::~JSLockHolder()
14  0x11935abeb WebCore::WorkerOrWorkletScriptController::~WorkerOrWorkletScriptController()
15  0x11935ac85 WebCore::WorkerOrWorkletScriptController::~WorkerOrWorkletScriptController()
16  0x1193879fb std::__1::default_delete&lt;WebCore::WorkerOrWorkletScriptController&gt;::operator()(WebCore::WorkerOrWorkletScriptController*) const
17  0x11938797c std::__1::unique_ptr&lt;WebCore::WorkerOrWorkletScriptController, std::__1::default_delete&lt;WebCore::WorkerOrWorkletScriptController&gt; &gt;::reset(WebCore::WorkerOrWorkletScriptController*)
18  0x11935a351 std::__1::unique_ptr&lt;WebCore::WorkerOrWorkletScriptController, std::__1::default_delete&lt;WebCore::WorkerOrWorkletScriptController&gt; &gt;::operator=(std::nullptr_t)
19  0x11935a320 WebCore::WorkerOrWorkletGlobalScope::clearScript()
20  0x1193aea26 WebCore::WorkerOrWorkletThread::stop(WTF::Function&lt;void ()&gt;&amp;&amp;)::$_6::operator()(WebCore::ScriptExecutionContext&amp;) const::&apos;lambda&apos;(WebCore::ScriptExecutionContext&amp;)::operator()(WebCore::ScriptExecutionContext&amp;) const
21  0x1193ae9d1 WTF::Detail::CallableWrapper&lt;WebCore::WorkerOrWorkletThread::stop(WTF::Function&lt;void ()&gt;&amp;&amp;)::$_6::operator()(WebCore::ScriptExecutionContext&amp;) const::&apos;lambda&apos;(WebCore::ScriptExecutionContext&amp;), void, WebCore::ScriptExecutionContext&amp;&gt;::call(WebCore::ScriptExecutionContext&amp;)
22  0x1160394c7 WTF::Function&lt;void (WebCore::ScriptExecutionContext&amp;)&gt;::operator()(WebCore::ScriptExecutionContext&amp;) const
23  0x116029e1d WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&amp;)
24  0x11939321d WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
25  0x119392955 WebCore::WorkerDedicatedRunLoop::runCleanupTasks(WebCore::WorkerOrWorkletGlobalScope*)
26  0x119390cff WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
27  0x119390c84 WebCore::WorkerOrWorkletThread::runEventLoop()
28  0x119501645 WebCore::ServiceWorkerThread::runEventLoop()
29  0x119391063 WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
30  0x1193bc718 WebCore::WorkerThread::createThread()::$_17::operator()() const
31  0x1193bc6b9 WTF::Detail::CallableWrapper&lt;WebCore::WorkerThread::createThread()::$_17, void&gt;::call()
ServiceWorkerProcess terminated (pid 12707) for reason: crash
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942677</commentid>
    <comment_count>1</comment_count>
    <who name="Bri Harris">bharris9</who>
    <bug_when>2023-03-20 14:25:26 -0700</bug_when>
    <thetext>I was able to replicate this crash on Ventura ToT on Intel as follows:

run-webkit-tests --root imported/w3c/web-platform-tests/fetch/api/headers/header-setcookie.any.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942678</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-03-20 14:25:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/106962567&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943214</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-03-22 16:33:15 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 246022 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>