<?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>271810</bug_id>
          
          <creation_ts>2024-03-27 16:48:31 -0700</creation_ts>
          <short_desc>REGRESSION (276714@main): [ MacOS iOS Debug ] media/audio-remove-playback-crash.html is a consistent crash</short_desc>
          <delta_ts>2024-03-27 22:07:06 -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>New Bugs</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="Jay Stfleur">j_stfleur</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <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>2024367</commentid>
    <comment_count>0</comment_count>
    <who name="Jay Stfleur">j_stfleur</who>
    <bug_when>2024-03-27 16:48:31 -0700</bug_when>
    <thetext>Description:
media/audio-remove-playback-crash.html 

Is a consistent crash on Debug after 276714@main


History:
https://results.webkit.org/?suite=layout-tests&amp;test=media%2Faudio-remove-playback-crash.html&amp;style=debug

Diff/Image Diff/Crash Log:
stderr:
ASSERTION FAILED: !m_deletionHasBegun
/Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/RefCounted.h(56) : void WTF::RefCountedBase::ref() const
1   0x1084e5e64 WTFCrash
2   0x1084e5e80 WTFIsDebuggerAttached
3   0x1196713b8 WTF::RefCountedBase::ref() const
4   0x117808b68 WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;::refIfNotNull(WebCore::Page*)
5   0x119d91394 WTF::RefPtr&lt;WebCore::Page, WTF::RawPtrTraits&lt;WebCore::Page&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;&gt;::RefPtr(WebCore::Page*)
6   0x119c9091c WTF::RefPtr&lt;WebCore::Page, WTF::RawPtrTraits&lt;WebCore::Page&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;&gt;::RefPtr(WebCore::Page*)
7   0x11aaaf244 WebCore::HTMLMediaElement::schedulePlaybackControlsManagerUpdate()
8   0x11aad0cd0 WebCore::HTMLMediaElement::stopWithoutDestroyingMediaPlayer()
9   0x11aad0f24 WebCore::HTMLMediaElement::stop()
10  0x11a729afc auto WebCore::ScriptExecutionContext::stopActiveDOMObjects()::$_9::operator()&lt;WebCore::ActiveDOMObject&gt;(WebCore::ActiveDOMObject&amp;) const
11  0x11a729a9c WTF::Detail::CallableWrapper&lt;WebCore::ScriptExecutionContext::stopActiveDOMObjects()::$_9, WebCore::ScriptExecutionContext::ShouldContinue, WebCore::ActiveDOMObject&amp;&gt;::call(WebCore::ActiveDOMObject&amp;)
12  0x11a709210 WTF::Function&lt;WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&amp;)&gt;::operator()(WebCore::ActiveDOMObject&amp;) const
13  0x11a709070 WebCore::ScriptExecutionContext::forEachActiveDOMObject(WTF::Function&lt;WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&amp;)&gt; const&amp;) const
14  0x11a709928 WebCore::ScriptExecutionContext::stopActiveDOMObjects()
15  0x11a49c2d0 WebCore::Document::stopActiveDOMObjects()
16  0x11a49bd94 WebCore::Document::commonTeardown()
17  0x11a4ae474 WebCore::Document::willBeRemovedFromFrame()
18  0x11b4b28dc WebCore::LocalFrame::setView(WTF::RefPtr&lt;WebCore::LocalFrameView, WTF::RawPtrTraits&lt;WebCore::LocalFrameView&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::LocalFrameView&gt;&gt;&amp;&amp;)
19  0x11b549aac WebCore::Page::~Page()
20  0x11b54aef0 WebCore::Page::~Page()
21  0x117806154 std::__1::default_delete&lt;WebCore::Page&gt;::operator()[abi:sn170006](WebCore::Page*) const
22  0x117806110 WTF::RefCounted&lt;WebCore::Page, std::__1::default_delete&lt;WebCore::Page&gt;&gt;::deref() const
23  0x1178060d0 WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;::derefIfNotNull(WebCore::Page*)
24  0x11aedbbdc WTF::Ref&lt;WebCore::Page, WTF::RawPtrTraits&lt;WebCore::Page&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;&gt;::~Ref()
25  0x117805dd4 WTF::Ref&lt;WebCore::Page, WTF::RawPtrTraits&lt;WebCore::Page&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;&gt;::~Ref()
26  0x11a8c0de4 WebCore::ReplacementFragment::ReplacementFragment(WTF::RefPtr&lt;WebCore::DocumentFragment, WTF::RawPtrTraits&lt;WebCore::DocumentFragment&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DocumentFragment&gt;&gt;&amp;&amp;, WebCore::VisibleSelection const&amp;)
27  0x11a8c19bc WebCore::ReplacementFragment::ReplacementFragment(WTF::RefPtr&lt;WebCore::DocumentFragment, WTF::RawPtrTraits&lt;WebCore::DocumentFragment&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DocumentFragment&gt;&gt;&amp;&amp;, WebCore::VisibleSelection const&amp;)
28  0x11a8cfef4 std::__1::__unique_if&lt;WebCore::ReplacementFragment&gt;::__unique_single std::__1::make_unique[abi:sn170006]&lt;WebCore::ReplacementFragment, WTF::RefPtr&lt;WebCore::DocumentFragment, WTF::RawPtrTraits&lt;WebCore::DocumentFragment&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DocumentFragment&gt;&gt;, WebCore::VisibleSelection const&amp;&gt;(WTF::RefPtr&lt;WebCore::DocumentFragment, WTF::RawPtrTraits&lt;WebCore::DocumentFragment&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DocumentFragment&gt;&gt;&amp;&amp;, WebCore::VisibleSelection const&amp;)
29  0x11a8cb730 decltype(auto) WTF::makeUnique&lt;WebCore::ReplacementFragment, WTF::RefPtr&lt;WebCore::DocumentFragment, WTF::RawPtrTraits&lt;WebCore::DocumentFragment&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DocumentFragment&gt;&gt;, WebCore::VisibleSelection const&amp;&gt;(WTF::RefPtr&lt;WebCore::DocumentFragment, WTF::RawPtrTraits&lt;WebCore::DocumentFragment&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DocumentFragment&gt;&gt;&amp;&amp;, WebCore::VisibleSelection const&amp;)
30  0x11a8c5e30 WebCore::ReplaceSelectionCommand::ensureReplacementFragment()
31  0x11a8c5d74 WebCore::ReplaceSelectionCommand::willApplyCommand()
com.apple.WebKit.WebContent.Development terminated (pid 12238) for reason: crash
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2024368</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-27 16:48:52 -0700</bug_when>
    <thetext>&lt;rdar://problem/125517208&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2024406</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-03-27 20:20:35 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/26547</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2024420</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-27 22:07:04 -0700</bug_when>
    <thetext>Committed 276768@main (5053e88ee8f8): &lt;https://commits.webkit.org/276768@main&gt;

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

    </bug>

</bugzilla>