<?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>187483</bug_id>
          
          <creation_ts>2018-07-09 14:14:31 -0700</creation_ts>
          <short_desc>JSC Debug stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory</short_desc>
          <delta_ts>2018-09-26 08:34:20 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dawei Fenton (:realdawei)">realdawei</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>keith_miller</cc>
    
    <cc>lforschler</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>tsavell</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1440551</commentid>
    <comment_count>0</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-07-09 14:14:31 -0700</bug_when>
    <thetext>JSC Debug stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit

This error is showing up frequently on JSC Debug High Sierra:
https://build.webkit.org/builders/Apple%20High%20Sierra%20Debug%20JSC%20%28Tests%29/builds/1244/steps/jscore-test/logs/stdio

stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: Timed out after 508.500000 sec seconds!
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 1   0x10fadba59 WTFCrash
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 2   0x10f89ac66 startTimeoutThreadIfNeeded()::$_7::operator()() const
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 3   0x10f89ab99 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;startTimeoutThreadIfNeeded()::$_7&gt;::call()
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 4   0x10fb00c2b WTF::Function&lt;void ()&gt;::operator()() const
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 5   0x10fb84e7f WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 6   0x10fb8a825 WTF::wtfThreadEntryPoint(void*)
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 7   0x7fff6eb48661 _pthread_body
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 8   0x7fff6eb4850d _pthread_body
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 9   0x7fff6eb47bf9 thread_start
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: test_script_25905: line 2: 81214 Segmentation fault: 11  ( &quot;$@&quot; ../../.vm/JavaScriptCore.framework/Resources/jsc --useFTLJIT\=false --useFunctionDotArguments\=true --validateExceptionChecks\=true --useDollarVM\=true --maxPerThreadStackUsage\=1572864 --useFTLJIT\=true --useConcurrentJIT\=false --thresholdForJITAfterWarmUp\=100 --scribbleFreeCells\=true --timeoutMultiplier\=1.5 string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js )
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: ERROR: Unexpected exit code: 139
FAIL: stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440553</commentid>
    <comment_count>1</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-07-09 14:17:46 -0700</bug_when>
    <thetext>It looks like this was also an issue in the Yosemite era:
https://bugs.webkit.org/show_bug.cgi?id=164630

and the resolution was to give the test more time to run:
https://trac.webkit.org/changeset/209724/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1442563</commentid>
    <comment_count>2</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-07-16 17:02:48 -0700</bug_when>
    <thetext>This test time out again today.

Possible resolution would be to tweak &quot;--timeoutMultiplier&quot;

https://build.webkit.org/builders/Apple%20High%20Sierra%20Debug%20JSC%20%28Tests%29/builds/1272/steps/jscore-test/logs/stdio
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: Timed out after 508.500000 sec seconds!
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 1   0x107bc7e49 WTFCrash
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 2   0x104115b26 startTimeoutThreadIfNeeded()::$_7::operator()() const
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 3   0x104115a59 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;startTimeoutThreadIfNeeded()::$_7&gt;::call()
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 4   0x107bed01b WTF::Function&lt;void ()&gt;::operator()() const
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 5   0x107c7146f WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 6   0x107c76e15 WTF::wtfThreadEntryPoint(void*)
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 7   0x7fff6eb48661 _pthread_body
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 8   0x7fff6eb4850d _pthread_body
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: 9   0x7fff6eb47bf9 thread_start
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: test_script_25979: line 2: 38080 Segmentation fault: 11  ( &quot;$@&quot; ../../.vm/JavaScriptCore.framework/Resources/jsc --useFTLJIT\=false --useFunctionDotArguments\=true --validateExceptionChecks\=true --useDollarVM\=true --maxPerThreadStackUsage\=1572864 --useFTLJIT\=true --useConcurrentJIT\=false --thresholdForJITAfterWarmUp\=100 --scribbleFreeCells\=true --timeoutMultiplier\=1.5 string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js )
stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit: ERROR: Unexpected exit code: 139
FAIL: stress/string-prototype-replace-should-throw-out-of-memory-error-when-using-too-much-memory.js.misc-ftl-no-cjit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1463380</commentid>
    <comment_count>3</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-09-25 15:36:47 -0700</bug_when>
    <thetext>Seeing this timeout much more frequently.  It has timed-out for 5 consecutive runs.

https://build.webkit.org/builders/Apple%20High%20Sierra%20Debug%20JSC%20(Tests)?numbuilds=50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1463386</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2018-09-25 15:44:30 -0700</bug_when>
    <thetext>Does it only time out on debug builds?  Does it ever timeout on release builds?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1463594</commentid>
    <comment_count>5</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-09-26 08:34:20 -0700</bug_when>
    <thetext>(In reply to Mark Lam from comment #4)
&gt; Does it only time out on debug builds?  Does it ever timeout on release
&gt; builds?

so far I&apos;ve only seen it time out on Debug builds.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>