| Summary: | DFG JIT needs to check for stack overflow at the start of Program and Eval execution | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Saboff <msaboff> | ||||||||||
| Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | bfulgham, buildbot, fpizlo, ossy, rniwa, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Bug Depends on: | 141848 | ||||||||||||
| Bug Blocks: | 141098 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Michael Saboff
2015-02-16 16:22:03 PST
Created attachment 246938 [details]
Patch
Comment on attachment 246938 [details] Patch Attachment 246938 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4900742427049984 New failing tests: js/regress-141098.html Created attachment 246940 [details]
Archive of layout-test-results from ews105 for mac-mavericks-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Comment on attachment 246938 [details] Patch Attachment 246938 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6270187816878080 New failing tests: js/regress-141098.html Created attachment 246941 [details]
Archive of layout-test-results from ews101 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Created attachment 246970 [details]
Updated test to work as both a layout test and a JSC test
Comment on attachment 246970 [details] Updated test to work as both a layout test and a JSC test View in context: https://bugs.webkit.org/attachment.cgi?id=246970&action=review > LayoutTests/js/script-tests/regress-141098.js:4 > description("Regression test for https://webkit.org/b/141098. Make sure eval() properly handles running out of stack space. This test should run without crashing."); > > -function probeAndRecurse(depth) > +var lastEvalString = ""; > + Somewhere at the top here you should have a comment saying that this only tests the DFG if run in run-jsc-stress-tests with the eager settings. (In reply to comment #8) > Comment on attachment 246970 [details] > Updated test to work as both a layout test and a JSC test > > View in context: > https://bugs.webkit.org/attachment.cgi?id=246970&action=review > > > LayoutTests/js/script-tests/regress-141098.js:4 > > description("Regression test for https://webkit.org/b/141098. Make sure eval() properly handles running out of stack space. This test should run without crashing."); > > > > -function probeAndRecurse(depth) > > +var lastEvalString = ""; > > + > > Somewhere at the top here you should have a comment saying that this only > tests the DFG if run in run-jsc-stress-tests with the eager settings. I'll add one. Committed r180423: <http://trac.webkit.org/changeset/180423> (In reply to comment #10) > Committed r180423: <http://trac.webkit.org/changeset/180423> The new test fails on the 32 bit bots. (In reply to comment #11) > (In reply to comment #10) > > Committed r180423: <http://trac.webkit.org/changeset/180423> > > The new test fails on the 32 bit bots. Windows seems to be failing as well. In both cases, it looks like we don't see the second out of stack exception. Investigating. It fails on the 32-bit Windows. I filed Bug 141848 to track this new problem. This also introduced these JSC test failures on Windows: ** The following JSC stress test failures have been introduced: jsc-layout-tests.yaml/js/script-tests/regress-141098.js.layout jsc-layout-tests.yaml/js/script-tests/regress-141098.js.layout-dfg-eager-no-cjit jsc-layout-tests.yaml/js/script-tests/regress-141098.js.layout-no-cjit jsc-layout-tests.yaml/js/script-tests/regress-141098.js.layout-no-llint The Windows / 32bit test failures were fixed as part of https://bugs.webkit.org/show_bug.cgi?id=141848 and landed in change set r180453: <http://trac.webkit.org/changeset/180453> |