Bug 129758 - REGRESSION: js/dom/create-lots-of-workers.html frequently crashes (sometimes in js/dom/cross-frame-bad-time.html)
Summary: REGRESSION: js/dom/create-lots-of-workers.html frequently crashes (sometimes ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
: 129962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-05 14:44 PST by Alexey Proskuryakov
Modified: 2015-02-08 19:39 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-03-05 14:44:38 PST
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 >2000 threads: <http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r165119%20(13072)/js/dom/cross-frame-bad-time-crash-log.txt>.
Comment 1 Mark Hahnenberg 2014-03-05 15:30:39 PST
(In reply to comment #0)
> 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 >2000 threads: <http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r165119%20(13072)/js/dom/cross-frame-bad-time-crash-log.txt>.

I count at least 261 workers in the crash log, but you'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).
Comment 2 Alexey Proskuryakov 2014-03-09 22:12:42 PDT
Skipped the test in <http://trac.webkit.org/r165360>, as it was making bots very red.

A fix would be appreciated, we don't have a lot of workers tests to skip.
Comment 3 Alexey Proskuryakov 2014-03-10 11:11:05 PDT
*** Bug 129962 has been marked as a duplicate of this bug. ***
Comment 4 David Kilzer (:ddkilzer) 2015-02-08 18:31:45 PST
<rdar://problem/19760988>
Comment 5 David Kilzer (:ddkilzer) 2015-02-08 19:39:08 PST
Skipped on ios-simulator:  <http://trac.webkit.org/changeset/179818>