<?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>179044</bug_id>
          
          <creation_ts>2017-10-30 20:21:51 -0700</creation_ts>
          <short_desc>Web Inspector: UIProcess ASSERT in ~RemoteWebInspectorProxy when InspectorProcess crashes</short_desc>
          <delta_ts>2017-11-15 12:31:13 -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>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>achristensen</cc>
    
    <cc>buildbot</cc>
    
    <cc>commit-queue</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1366307</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-10-30 20:21:51 -0700</bug_when>
    <thetext>UIProcess ASSERT in ~RemoteWebInspectorProxy when InspectorProcess crashes

&gt; Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
&gt; Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
&gt; Exception Note:        EXC_CORPSE_NOTIFY
&gt; 
&gt; Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
&gt; 0   com.apple.JavaScriptCore      	0x0000000107b3d944 WTFCrash + 36 (Assertions.cpp:270)
&gt; 1   com.apple.WebKit              	0x000000010bffbe95 WebKit::RemoteWebInspectorProxy::~RemoteWebInspectorProxy() + 85 (RemoteWebInspectorProxy.cpp:46)
&gt; 2   com.apple.WebKit              	0x000000010bffbfc5 WebKit::RemoteWebInspectorProxy::~RemoteWebInspectorProxy() + 21 (RemoteWebInspectorProxy.cpp:47)
&gt; 3   com.apple.WebKit              	0x000000010bffbfe9 WebKit::RemoteWebInspectorProxy::~RemoteWebInspectorProxy() + 25 (RemoteWebInspectorProxy.cpp:45)
&gt; 4   com.apple.WebKit              	0x000000010ba28d3f WTF::RefCounted&lt;WebKit::RemoteWebInspectorProxy&gt;::deref() const + 79 (RefCounted.h:145)
&gt; 5   com.apple.WebKit              	0x000000010ba29135 void WTF::derefIfNotNull&lt;WebKit::RemoteWebInspectorProxy&gt;(WebKit::RemoteWebInspectorProxy*) + 53 (RefPtr.h:46)
&gt; 6   com.apple.WebKit              	0x000000010ba290f3 WTF::RefPtr&lt;WebKit::RemoteWebInspectorProxy&gt;::~RefPtr() + 83 (RefPtr.h:69)
&gt; 7   com.apple.WebKit              	0x000000010ba289c5 WTF::RefPtr&lt;WebKit::RemoteWebInspectorProxy&gt;::~RefPtr() + 21 (RefPtr.h:69)
&gt; 8   com.apple.WebKit              	0x000000010ba2899b -[_WKRemoteWebInspectorViewController .cxx_destruct] + 235 (_WKRemoteWebInspectorViewController.mm:70)
&gt; 9   libobjc.A.dylib               	0x00007fff5a27742e object_cxxDestructFromClass(objc_object*, objc_class*) + 127
&gt; 10  libobjc.A.dylib               	0x00007fff5a2702b1 objc_destructInstance + 92
&gt; 11  libobjc.A.dylib               	0x00007fff5a270244 object_dispose + 22
&gt; 12  com.apple.WebInspector        	0x000000010ac1781d ....
&gt; 13  com.apple.WebKit              	0x000000010ba2884f -[_WKRemoteWebInspectorViewController closeFromFrontend] + 111 (_WKRemoteWebInspectorViewController.mm:139)
&gt; 14  com.apple.WebKit              	0x000000010ba29010 WebKit::_WKRemoteWebInspectorProxyClient::closeFromFrontend() + 32 (_WKRemoteWebInspectorViewController.mm:62)
&gt; 15  com.apple.WebKit              	0x000000010bffc950 WebKit::RemoteWebInspectorProxy::frontendDidClose() + 48 (RemoteWebInspectorProxy.cpp:88)
&gt; 16  com.apple.WebKit              	0x000000010bffc915 WebKit::RemoteWebInspectorProxy::closeFromCrash() + 21 (RemoteWebInspectorProxy.cpp:71)
&gt; 17  com.apple.WebKit              	0x000000010bffdb78 -[WKRemoteWebInspectorProxyObjCAdapter inspectorViewControllerInspectorDidCrash:] + 40 (RemoteWebInspectorProxyMac.mm:66)
&gt; 18  com.apple.WebKit              	0x000000010c8598af -[WKInspectorViewController webViewWebContentProcessDidTerminate:] + 143 (WKInspectorViewController.mm:198)
&gt; 19  com.apple.WebKit              	0x000000010bc55d6d WebKit::NavigationState::NavigationClient::processDidTerminate(WebKit::WebPageProxy&amp;, WebKit::ProcessTerminationReason) + 269 (NavigationState.mm:896)
&gt; 20  com.apple.WebKit              	0x000000010c4d1927 WebKit::WebPageProxy::processDidTerminate(WebKit::ProcessTerminationReason) + 231 (WebPageProxy.cpp:5469)
&gt; 21  com.apple.WebKit              	0x000000010c6acc7e WebKit::WebProcessProxy::didClose(IPC::Connection&amp;) + 510 (WebProcessProxy.cpp:639)
&gt; 22  com.apple.WebKit              	0x000000010c6acdfc non-virtual thunk to WebKit::WebProcessProxy::didClose(IPC::Connection&amp;) + 44
&gt; 23  com.apple.WebKit              	0x000000010bb4f426 IPC::Connection::connectionDidClose()::$_13::operator()() + 246 (Connection.cpp:806)
&gt; 24  com.apple.WebKit              	0x000000010bb4f2a9 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::connectionDidClose()::$_13&gt;::call() + 25 (Function.h:101)
&gt; 25  com.apple.JavaScriptCore      	0x0000000107b72f8b WTF::Function&lt;void ()&gt;::operator()() const + 139 (Function.h:56)
&gt; 26  com.apple.JavaScriptCore      	0x0000000107b935c3 WTF::RunLoop::performWork() + 211 (RunLoop.cpp:107)
&gt; 27  com.apple.JavaScriptCore      	0x0000000107b93e44 WTF::RunLoop::performWork(void*) + 36 (RunLoopCF.cpp:38)
&gt; ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366309</commentid>
    <comment_count>1</comment_count>
      <attachid>325419</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-10-30 20:31:40 -0700</bug_when>
    <thetext>Created attachment 325419
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366310</commentid>
    <comment_count>2</comment_count>
    <who name="Build Bot">buildbot</who>
    <bug_when>2017-10-30 20:33:31 -0700</bug_when>
    <thetext>Attachment 325419 did not pass style-queue:


ERROR: Source/WebKit/UIProcess/RemoteWebInspectorProxy.cpp:85:  &apos;protect&apos; is incorrectly named. It should be named &apos;protectedThis&apos;.  [readability/naming/protected] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366604</commentid>
    <comment_count>3</comment_count>
      <attachid>325419</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-31 14:44:02 -0700</bug_when>
    <thetext>Comment on attachment 325419
[PATCH] Proposed Fix

Clearing flags on attachment: 325419

Committed r224249: &lt;https://trac.webkit.org/changeset/224249&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366605</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-10-31 14:44:03 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372173</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-11-15 12:31:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/35567693&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>325419</attachid>
            <date>2017-10-30 20:31:40 -0700</date>
            <delta_ts>2017-10-31 14:44:02 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>assert-1.patch</filename>
            <type>text/plain</type>
            <size>1366</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9DaGFu
Z2VMb2cKaW5kZXggMWRlNDZlMjYzZDMuLmIyNzQ5MDUxYTZkIDEwMDY0NAotLS0gYS9Tb3VyY2Uv
V2ViS2l0L0NoYW5nZUxvZworKysgYi9Tb3VyY2UvV2ViS2l0L0NoYW5nZUxvZwpAQCAtMSw1ICsx
LDE2IEBACiAyMDE3LTEwLTMwICBKb3NlcGggUGVjb3Jhcm8gIDxwZWNvcmFyb0BhcHBsZS5jb20+
CiAKKyAgICAgICAgV2ViIEluc3BlY3RvcjogVUlQcm9jZXNzIEFTU0VSVCBpbiB+UmVtb3RlV2Vi
SW5zcGVjdG9yUHJveHkgd2hlbiBJbnNwZWN0b3JQcm9jZXNzIGNyYXNoZXMKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE3OTA0NAorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogVUlQcm9jZXNzL1JlbW90ZVdl
Ykluc3BlY3RvclByb3h5LmNwcDoKKyAgICAgICAgKFdlYktpdDo6UmVtb3RlV2ViSW5zcGVjdG9y
UHJveHk6OmZyb250ZW5kRGlkQ2xvc2UpOgorICAgICAgICBBZGQgYSBwcm90ZWN0b3IgdG8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