<?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>261443</bug_id>
          
          <creation_ts>2023-09-11 16:38:23 -0700</creation_ts>
          <short_desc>Regression(267576@main) Closing Remote Web Inspector session crashes Safari</short_desc>
          <delta_ts>2023-09-11 18:00:23 -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>Web Inspector</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>
          
          <blocked>260848</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1976957</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-09-11 16:38:23 -0700</bug_when>
    <thetext>Closing Remote Web Inspector session crashes Safari:
```
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   WebKit                        	       0x1a43d4ebc WTFCrashWithInfo(int, char const*, char const*, int) + 364220
1   WebKit                        	       0x1a47a171c WTF::CanMakeCheckedPtrBase&lt;WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;, unsigned int&gt;::~CanMakeCheckedPtrBase() + 4347676 [inlined]
2   WebKit                        	       0x1a47a171c WebKit::RemoteWebInspectorUIProxyClient::~RemoteWebInspectorUIProxyClient() + 4347676 [inlined]
3   WebKit                        	       0x1a47a171c WebKit::_WKRemoteWebInspectorUIProxyClient::~_WKRemoteWebInspectorUIProxyClient() + 4347676 [inlined]
4   WebKit                        	       0x1a47a171c WebKit::_WKRemoteWebInspectorUIProxyClient::~_WKRemoteWebInspectorUIProxyClient() + 4347676 [inlined]
5   WebKit                        	       0x1a47a171c std::__1::default_delete&lt;WebKit::_WKRemoteWebInspectorUIProxyClient&gt;::operator()[abi:v160006](WebKit::_WKRemoteWebInspectorUIProxyClient*) const + 4347676
6   WebKit                        	       0x1a47a06dc std::__1::unique_ptr&lt;WebKit::_WKRemoteWebInspectorUIProxyClient, std::__1::default_delete&lt;WebKit::_WKRemoteWebInspectorUIProxyClient&gt; &gt;::reset[abi:v160006](WebKit::_WKRemoteWebInspectorUIProxyClient*) + 4343516 [inlined]
7   WebKit                        	       0x1a47a06dc std::__1::unique_ptr&lt;WebKit::_WKRemoteWebInspectorUIProxyClient, std::__1::default_delete&lt;WebKit::_WKRemoteWebInspectorUIProxyClient&gt; &gt;::~unique_ptr[abi:v160006]() + 4343516 [inlined]
8   WebKit                        	       0x1a47a06dc std::__1::unique_ptr&lt;WebKit::_WKRemoteWebInspectorUIProxyClient, std::__1::default_delete&lt;WebKit::_WKRemoteWebInspectorUIProxyClient&gt; &gt;::~unique_ptr[abi:v160006]() + 4343516 [inlined]
9   WebKit                        	       0x1a47a06dc -[_WKRemoteWebInspectorViewController .cxx_destruct] + 4343516
10  libobjc.A.dylib               	       0x180b5f218 object_cxxDestructFromClass(objc_object*, objc_class*) + 78360
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976960</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-09-11 16:41:03 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/17675</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976961</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-09-11 16:41:36 -0700</bug_when>
    <thetext>&lt;rdar://115318063&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976981</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-11 18:00:21 -0700</bug_when>
    <thetext>Committed 267886@main (e7cf800e186c): &lt;https://commits.webkit.org/267886@main&gt;

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

    </bug>

</bugzilla>