<?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>183995</bug_id>
          
          <creation_ts>2018-03-25 10:22:41 -0700</creation_ts>
          <short_desc>r228149 accidentally removed code that resets m_emptyCursor at the end of a GC</short_desc>
          <delta_ts>2018-03-25 12:10:30 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=182227</see_also>
          <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="Saam Barati">saam</reporter>
          <assigned_to name="Saam Barati">saam</assigned_to>
          <cc>ap</cc>
    
    <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>gskachkov</cc>
    
    <cc>jfbastien</cc>
    
    <cc>jlewis3</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>rmorisset</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>ticaiolima</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1409180</commentid>
    <comment_count>0</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2018-03-25 10:22:41 -0700</bug_when>
    <thetext>...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409181</commentid>
    <comment_count>1</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2018-03-25 10:23:25 -0700</bug_when>
    <thetext>The consequence here is that we end up monotonically growing that cursor, which will eventually lead to us never stealing empty blocks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409183</commentid>
    <comment_count>2</comment_count>
      <attachid>336495</attachid>
    <who name="Saam Barati">saam</who>
    <bug_when>2018-03-25 10:42:22 -0700</bug_when>
    <thetext>Created attachment 336495
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409187</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-03-25 11:25:30 -0700</bug_when>
    <thetext>Is that a known flaky test?


** The following JSC stress test failures have been introduced:
	stress/ftl-put-by-id-setter-exception-interesting-live-state.js.no-cjit-collect-continuously</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409188</commentid>
    <comment_count>4</comment_count>
      <attachid>336495</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-03-25 11:26:37 -0700</bug_when>
    <thetext>Comment on attachment 336495
patch

Clearing flags on attachment: 336495

Committed r229962: &lt;https://trac.webkit.org/changeset/229962&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409189</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-03-25 11:26:38 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409190</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-03-25 11:27:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/38843812&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409191</commentid>
    <comment_count>7</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2018-03-25 11:30:51 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #3)
&gt; Is that a known flaky test?
&gt; 
&gt; 
&gt; ** The following JSC stress test failures have been introduced:
&gt; 	stress/ftl-put-by-id-setter-exception-interesting-live-state.js.no-cjit-
&gt; collect-continuously

Yes. I&apos;ve seen it flake before. Do you know how to grab the crashlog from the bots? I&apos;ll file a bug or you can and assign it to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409194</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-03-25 12:09:20 -0700</bug_when>
    <thetext>There is no crash log on the bot, looks like the test aborts the process without crashing.

Running stress/ftl-put-by-id-slow-exception-no-catch.js.no-cjit-collect-continuously
stress/ftl-put-by-id-setter-exception-interesting-live-state.js.no-cjit-collect-continuously: Exception: Error42
Running stress/ftl-put-by-id-slow-exception-no-catch.js.dfg-eager
Running stress/ftl-put-by-id-slow-exception-no-catch.js.dfg-eager-no-cjit-validate
stress/ftl-put-by-id-setter-exception-interesting-live-state.js.no-cjit-collect-continuously: ERROR: Unexpected exit code: 3
FAIL: stress/ftl-put-by-id-setter-exception-interesting-live-state.js.no-cjit-collect-continuously</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409195</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-03-25 12:10:30 -0700</bug_when>
    <thetext>Found an existing bug for that, bug 183266.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>336495</attachid>
            <date>2018-03-25 10:42:22 -0700</date>
            <delta_ts>2018-03-25 11:26:37 -0700</delta_ts>
            <desc>patch</desc>
            <filename>a-backup.diff</filename>
            <type>text/plain</type>
            <size>1538</size>
            <attacher name="Saam Barati">saam</attacher>
            
              <data encoding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