<?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>268801</bug_id>
          
          <creation_ts>2024-02-05 22:07:16 -0800</creation_ts>
          <short_desc>Flaky crash under MessagePort::messageAvailable() in Debug</short_desc>
          <delta_ts>2024-02-05 22:12:40 -0800</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>DUPLICATE</resolution>
          <dup_id>268802</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>jean-yves.avenard</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2010897</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-02-05 22:07:16 -0800</bug_when>
    <thetext>Flaky crash under MessagePort::messageAvailable() in Debug:
```
1   0x138265270 WTFCrash
2   0x282d54150 WebCore::AudioWorkletProcessor::buildJSArguments(JSC::VM&amp;, JSC::JSGlobalObject&amp;, JSC::MarkedVector&lt;JSC::JSValue, 8ul, WTF::RecordOverflow&gt;&amp;, WTF::Vector&lt;WTF::RefPtr&lt;WebCore::AudioBus, WTF::RawPtrTraits&lt;WebCore::AudioBus&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::AudioBus&gt;&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;, WTF::Vector&lt;WTF::Ref&lt;WebCore::AudioBus, WTF::RawPtrTraits&lt;WebCore::AudioBus&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::AudioBus&gt;&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, WTF::HashMap&lt;WTF::String, std::__1::unique_ptr&lt;WebCore::AudioArray&lt;float&gt;, std::__1::default_delete&lt;WebCore::AudioArray&lt;float&gt;&gt;&gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;std::__1::unique_ptr&lt;WebCore::AudioArray&lt;float&gt;, std::__1::default_delete&lt;WebCore::AudioArray&lt;float&gt;&gt;&gt;&gt;, WTF::MemoryCompactLookupOnlyRobinHoodHashTableTraits&gt; const&amp;)
3   0x28328eb70 WebCore::Node::refAllowingPartiallyDestroyed() const
4   0x28018c600 WebCore::Node::ref() const
5   0x283db7ef0 WebCore::ScriptExecutionContext::ref()
6   0x282d96f64 WTF::DefaultRefDerefTraits&lt;WebCore::ScriptExecutionContext&gt;::refIfNotNull(WebCore::ScriptExecutionContext*)
7   0x2832feba4 WTF::RefPtr&lt;WebCore::ScriptExecutionContext, WTF::RawPtrTraits&lt;WebCore::ScriptExecutionContext&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::ScriptExecutionContext&gt;&gt;::RefPtr(WebCore::ScriptExecutionContext*)
8   0x282d5cf84 WTF::RefPtr&lt;WebCore::ScriptExecutionContext, WTF::RawPtrTraits&lt;WebCore::ScriptExecutionContext&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::ScriptExecutionContext&gt;&gt;::RefPtr(WebCore::ScriptExecutionContext*)
9   0x283d10798 WebCore::MessagePort::messageAvailable()
10  0x283d1ffb4 auto WebCore::MessagePort::notifyMessageAvailable(WebCore::MessagePortIdentifier const&amp;)::$_7::operator()&lt;WebCore::ScriptExecutionContext&gt;(WebCore::ScriptExecutionContext&amp;) const
11  0x283d1fedc WTF::Detail::CallableWrapper&lt;WebCore::MessagePort::notifyMessageAvailable(WebCore::MessagePortIdentifier const&amp;)::$_7, void, WebCore::ScriptExecutionContext&amp;&gt;::call(WebCore::ScriptExecutionContext&amp;)
12  0x28259db98 WTF::Function&lt;void (WebCore::ScriptExecutionContext&amp;)&gt;::operator()(WebCore::ScriptExecutionContext&amp;) const
13  0x282ec57a0 WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&amp;)
14  0x285f81290 WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
15  0x285f80758 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&amp;)
16  0x285f7ed90 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
17  0x285f7ed14 WebCore::WorkerOrWorkletThread::runEventLoop()
18  0x285f7f0a4 WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010901</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-02-05 22:12:40 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>