<?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>129758</bug_id>
          
          <creation_ts>2014-03-05 14:44:38 -0800</creation_ts>
          <short_desc>REGRESSION: js/dom/create-lots-of-workers.html frequently crashes (sometimes in js/dom/cross-frame-bad-time.html)</short_desc>
          <delta_ts>2026-03-15 14:17:49 -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>528+ (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>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>dpino</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>987398</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-03-05 14:44:38 -0800</bug_when>
    <thetext>js/dom/create-lots-of-workers.html frequently crashes, spawning an extreme number of threads. This is sometimes reported for this tests, and sometimes for the next one, js/dom/cross-frame-bad-time.html.

There are only 100 workers, but &gt;2000 threads: &lt;http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r165119%20(13072)/js/dom/cross-frame-bad-time-crash-log.txt&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>987417</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-03-05 15:30:39 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; js/dom/create-lots-of-workers.html frequently crashes, spawning an extreme number of threads. This is sometimes reported for this tests, and sometimes for the next one, js/dom/cross-frame-bad-time.html.
&gt; 
&gt; There are only 100 workers, but &gt;2000 threads: &lt;http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r165119%20(13072)/js/dom/cross-frame-bad-time-crash-log.txt&gt;.

I count at least 261 workers in the crash log, but you&apos;re right, this is a little crazy. We spawn ~6 GC threads and 1 block freeing thread per VM (along with the main worker thread).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988800</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-03-09 22:12:42 -0700</bug_when>
    <thetext>Skipped the test in &lt;http://trac.webkit.org/r165360&gt;, as it was making bots very red.

A fix would be appreciated, we don&apos;t have a lot of workers tests to skip.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988960</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-03-10 11:11:05 -0700</bug_when>
    <thetext>*** Bug 129962 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067739</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-02-08 18:31:45 -0800</bug_when>
    <thetext>&lt;rdar://problem/19760988&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067753</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-02-08 19:39:08 -0800</bug_when>
    <thetext>Skipped on ios-simulator:  &lt;http://trac.webkit.org/changeset/179818&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2190432</commentid>
    <comment_count>6</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2026-03-15 14:17:49 -0700</bug_when>
    <thetext>In WebKitGTK, this test is marked as flaky &quot;Crash Pass&quot; but according to results.webkit.org the test has been constantly passing (at least in the last 4000 revisions):

https://results.webkit.org/?platform=GTK&amp;platform=WPE&amp;&amp;suite=layout-tests&amp;test=js/dom/create-lots-of-workers.html&amp;limit=4000

I also run this test several times on Mac, and it didn&apos;t return an error:

```
$ ./Tools/Scripts/run-webkit-tests --force --repeat 100 js/dom/create-lots-of-workers.html
Using port &apos;mac-sequoia-wk2&apos;
Test configuration: &lt;sequoia, arm64, release&gt;
...
All 100 tests ran as expected.                    


Expected to fail, but passed: (1)
  js/dom/create-lots-of-workers.html
```

In summary, I think there&apos;s a high chance this test is passing now. I have at least removed it from WebKitGTK test expectations (https://commits.webkit.org/309291@main).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>