<?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>269253</bug_id>
          
          <creation_ts>2024-02-12 16:56:16 -0800</creation_ts>
          <short_desc>Regression: Flaky crash under HTMLMediaElement::speakCueText() on the bots</short_desc>
          <delta_ts>2024-02-12 20:58:19 -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>Media</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2012971</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-02-12 16:56:16 -0800</bug_when>
    <thetext>Flaky crash under HTMLMediaElement::speakCueText() on the bots:
```
ASSERTION FAILED: !deletionHasBegun()
/Volumes/Data/worker/macOS-AppleSilicon-Sonoma-Debug-Build-EWS/build/Source/WebCore/dom/Node.h(817) : void WebCore::Node::ref() const
1   0x13c5ae3f8 WTFCrash
2   0x2a8150340 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   0x2a817cce4 WebCore::Node::ref() const
4   0x2a5ad946c WTF::DefaultRefDerefTraits&lt;WebCore::HTMLMediaElement&gt;::refIfNotNull(WebCore::HTMLMediaElement*)
5   0x2a5ad9428 WTF::RefPtr&lt;WebCore::HTMLMediaElement, WTF::RawPtrTraits&lt;WebCore::HTMLMediaElement&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::HTMLMediaElement&gt;&gt;::RefPtr(WebCore::HTMLMediaElement*)
6   0x2a5ad90f8 WTF::RefPtr&lt;WebCore::HTMLMediaElement, WTF::RawPtrTraits&lt;WebCore::HTMLMediaElement&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::HTMLMediaElement&gt;&gt;::RefPtr(WebCore::HTMLMediaElement*)
7   0x2a959bff8 WebCore::HTMLMediaElement::speakCueText(WebCore::TextTrackCue&amp;)::$_34::operator()(WebCore::TextTrackCue const&amp;) const
8   0x2a959be88 WTF::Detail::CallableWrapper&lt;WebCore::HTMLMediaElement::speakCueText(WebCore::TextTrackCue&amp;)::$_34, void, WebCore::TextTrackCue const&amp;&gt;::call(WebCore::TextTrackCue const&amp;)
9   0x2a985acc8 WTF::Function&lt;void (WebCore::TextTrackCue const&amp;)&gt;::operator()(WebCore::TextTrackCue const&amp;) const
10  0x2a9865ce0 WebCore::VTTCue::prepareToSpeak(WebCore::SpeechSynthesis&amp;, double, double, WTF::Function&lt;void (WebCore::TextTrackCue const&amp;)&gt;&amp;&amp;)::$_13::operator()(WebCore::SpeechSynthesisUtterance const&amp;) const
11  0x2a9865ab4 WTF::Detail::CallableWrapper&lt;WebCore::VTTCue::prepareToSpeak(WebCore::SpeechSynthesis&amp;, double, double, WTF::Function&lt;void (WebCore::TextTrackCue const&amp;)&gt;&amp;&amp;)::$_13, void, WebCore::SpeechSynthesisUtterance const&amp;&gt;::call(WebCore::SpeechSynthesisUtterance const&amp;)
12  0x2a809293c WTF::Function&lt;void (WebCore::SpeechSynthesisUtterance const&amp;)&gt;::operator()(WebCore::SpeechSynthesisUtterance const&amp;) const
13  0x2a8090d34 WebCore::SpeechSynthesisUtterance::errorEventOccurred(WTF::AtomString const&amp;, WebCore::SpeechSynthesisErrorCode)
14  0x2a8090bb0 WebCore::SpeechSynthesis::handleSpeakingCompleted(WebCore::SpeechSynthesisUtterance&amp;, bool)
15  0x2a8091928 WebCore::SpeechSynthesis::speakingErrorOccurred(WebCore::PlatformSpeechSynthesisUtterance&amp;)
16  0x2aa8c4288 WebCore::PlatformSpeechSynthesizerMock::cancel()
17  0x2a809085c WebCore::SpeechSynthesis::cancel()
18  0x2a954ada4 WebCore::HTMLMediaElement::unregisterWithDocument(WebCore::Document&amp;)
19  0x2a954a530 WebCore::HTMLMediaElement::~HTMLMediaElement()
20  0x2a9622318 WebCore::HTMLVideoElement::~HTMLVideoElement()
21  0x2a961bfc8 WebCore::HTMLVideoElement::~HTMLVideoElement()
22  0x2a961bff4 WebCore::HTMLVideoElement::~HTMLVideoElement()
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012972</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-02-12 16:57:26 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24300</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012973</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-02-12 16:57:35 -0800</bug_when>
    <thetext>For e.g.:
https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Sonoma-Debug-WK2-Tests-EWS/151514ed-11622/media/track/track-in-band-chapters-invalid-client-crash-crash-log.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013024</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-12 20:57:24 -0800</bug_when>
    <thetext>Committed 274521@main (830c8b888100): &lt;https://commits.webkit.org/274521@main&gt;

Reviewed commits have been landed. Closing PR #24300 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013025</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-12 20:58:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/122849108&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>