<?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>261762</bug_id>
          
          <creation_ts>2023-09-19 11:43:26 -0700</creation_ts>
          <short_desc>Regression(267850@main) Flaky crash under the MediaStream destructor</short_desc>
          <delta_ts>2023-09-19 13:03:22 -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>WebCore Misc.</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>a_protyasha</cc>
    
    <cc>rreno</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1978367</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-09-19 11:43:26 -0700</bug_when>
    <thetext>Flaky crash under the MediaStream destructor since 267850@main:
```
ASSERTION FAILED: !m_inRemovedLastRefFunction
/Volumes/Data/worker/macOS-AppleSilicon-Ventura-Debug-Build-EWS/build/Source/WebCore/dom/Node.h(785) : void WebCore::Node::ref() const
1   0x13a27d3d0 WTFCrash
2   0x28416b130 WebCore::NetworkResourcesData::ResourceData::hasContent() const
3   0x282ab46e8 WebCore::Node::ref() const
4   0x282ab45a4 WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt;::refIfNotNull(WebCore::Document*)
5   0x28015b58c WTF::RefPtr&lt;WebCore::Document, WTF::RawPtrTraits&lt;WebCore::Document&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt;&gt;::RefPtr(WebCore::Document*)
6   0x28303b53c WTF::RefPtr&lt;WebCore::Document, WTF::RawPtrTraits&lt;WebCore::Document&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Document&gt;&gt;::RefPtr(WebCore::Document*)
7   0x2827f3c64 WebCore::MediaStream::~MediaStream()
8   0x2827f3de0 WebCore::MediaStream::~MediaStream() 
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978368</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-09-19 11:46:35 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/17929</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978395</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-19 13:02:04 -0700</bug_when>
    <thetext>Committed 268144@main (d00eeaf712d4): &lt;https://commits.webkit.org/268144@main&gt;

Reviewed commits have been landed. Closing PR #17929 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978396</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-19 13:03:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/115742083&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>