<?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>199327</bug_id>
          
          <creation_ts>2019-06-28 11:09:10 -0700</creation_ts>
          <short_desc>Null check provisionalItem in FrameLoader::continueLoadAfterNavigationPolicy</short_desc>
          <delta_ts>2019-07-01 14:11:48 -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="Alex Christensen">achristensen</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>japhet</cc>
    
    <cc>mjs</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1548885</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-06-28 11:09:10 -0700</bug_when>
    <thetext>Null check provisionalItem in FrameLoader::continueLoadAfterNavigationPolicy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548887</commentid>
    <comment_count>1</comment_count>
      <attachid>373135</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-06-28 11:10:06 -0700</bug_when>
    <thetext>Created attachment 373135
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548888</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-06-28 11:10:08 -0700</bug_when>
    <thetext>&lt;rdar://problem/48262384&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1549020</commentid>
    <comment_count>3</comment_count>
      <attachid>373135</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-06-28 23:16:49 -0700</bug_when>
    <thetext>Comment on attachment 373135
Patch

So, I’ve been out of this code for a while. But I spent like ***20**** seconds just grepping this file for provisionalItem and I can say that this patch makes absolutely no sense to me. Hint: It contradicts a bunch of RELEASE_ASSERTS. And with 0 details about why this fix is necessary except an appeal to “Let’s not crash” I have no means of helping you further (I don’t have a radar client handy at the moment).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1549166</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2019-07-01 02:23:21 -0700</bug_when>
    <thetext>This is an attempt to fix a top crash based on telemetry. It doesn&apos;t contradict a RELEASE_ASSERT in the control flow path that led to the crash, because otherwise these crashes would have crashed earlier. The crash is known to be a null Derek on this line. So this is probably sensible as a speculative fix, even though there&apos;s probably something deeper wrong here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1549285</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-07-01 13:17:43 -0700</bug_when>
    <thetext>(In reply to Daniel Bates from comment #3)
&gt; Comment on attachment 373135 [details]
&gt; Patch
&gt; 
&gt; So, I’ve been out of this code for a while. But I spent like ***20****
&gt; seconds just grepping this file for provisionalItem and I can say that this
&gt; patch makes absolutely no sense to me. Hint: It contradicts a bunch of
&gt; RELEASE_ASSERTS. And with 0 details about why this fix is necessary except
&gt; an appeal to “Let’s not crash” I have no means of helping you further (I
&gt; don’t have a radar client handy at the moment).

That is true but we&apos;ve been trying to fix this particular crash for the last 2-3 releases and at some point, we need to fix the damn crash for the sake of our users instead of keep investigating what the root cause is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1549320</commentid>
    <comment_count>6</comment_count>
      <attachid>373135</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-07-01 14:11:47 -0700</bug_when>
    <thetext>Comment on attachment 373135
Patch

Clearing flags on attachment: 373135

Committed r247021: &lt;https://trac.webkit.org/changeset/247021&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1549321</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-07-01 14:11:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>373135</attachid>
            <date>2019-06-28 11:10:06 -0700</date>
            <delta_ts>2019-07-01 14:11:47 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-199327-20190628111005.patch</filename>
            <type>text/plain</type>
            <size>1895</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQ2ODk2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZjkzYzNlYTZiMDMwYjMy
ZGJiMTNhYWYxNDgyNjM1M2VjY2Y0M2UwYi4uM2Q2ODE3YzgzNjI1MDkwMDcwYzc1NzRiZTAzZDc5
YTk2Mzc2NjY3YyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyM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