<?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>216406</bug_id>
          
          <creation_ts>2020-09-11 09:07:40 -0700</creation_ts>
          <short_desc>REGRESSION(r266770): construct-return-early-from-infinite-loop-for-fuzzer.js loops on x86_64 cloop</short_desc>
          <delta_ts>2023-06-15 17:02:24 -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>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=216289</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=258179</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="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>guijemont</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1687731</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-11 09:07:40 -0700</bug_when>
    <thetext>The new construct-return-early-from-infinite-loop-for-fuzzer.js test added in r266770 &quot;[JSC] returnEarlyFromInfiniteLoopsForFuzzing should return object&quot; loops forever on llint, but only on x86_64. Other architectures seems to be fine. (So this doesn&apos;t affect any architectures that commonly use llint, but x86_64 is great to have working as a baseline to see when problems occur only on a particular architecture.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688238</commentid>
    <comment_count>1</comment_count>
    <who name="Guillaume Emont">guijemont</who>
    <bug_when>2020-09-14 07:28:23 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #0)
&gt; The new construct-return-early-from-infinite-loop-for-fuzzer.js test added
&gt; in r266770 &quot;[JSC] returnEarlyFromInfiniteLoopsForFuzzing should return
&gt; object&quot; loops forever on llint, but only on x86_64. Other architectures
&gt; seems to be fine. (So this doesn&apos;t affect any architectures that commonly
&gt; use llint, but x86_64 is great to have working as a baseline to see when
&gt; problems occur only on a particular architecture.)

Did you mean when using CLoop (JIT disabled at compile time)? Or with LLInt compiled with the x86_64 backend (default) and disabling higher tiers at runtime? FWIW x86_64 does use LLInt as its first tier by default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688240</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-14 08:03:04 -0700</bug_when>
    <thetext>Yes, this is with cloop enabled and JIT disabled. (The point of testing cloop on x86_64 is to distinguish between architecture-specific bugs and general cloop bugs.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688920</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-15 16:47:19 -0700</bug_when>
    <thetext>Is there anything I should try running that could maybe help with debugging this? It hangs our internal Jenkins builder, and I&apos;m starting to get nervous about missing CI coverage since it&apos;s now been a week since the regression landed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688921</commentid>
    <comment_count>4</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-09-15 16:48:44 -0700</bug_when>
    <thetext>I think maybe returnEarlyFromInfiniteLoopsForFuzzing&apos;s loop-hint thing is not supported in CLoop...? For now, I&apos;ll put `isUseJIT()` check</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688922</commentid>
    <comment_count>5</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-09-15 16:51:48 -0700</bug_when>
    <thetext>Committed r267115: &lt;https://trac.webkit.org/changeset/267115&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688923</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-15 16:52:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/68950461&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688939</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-15 17:52:44 -0700</bug_when>
    <thetext>OK, thanks Yusuke! $vm.useJIT() will certainly guarantee the test doesn&apos;t run.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>