WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 94191
JSC: 2 regex assertion failures in webkit tests with LLint interpreter
https://bugs.webkit.org/show_bug.cgi?id=94191
Summary
JSC: 2 regex assertion failures in webkit tests with LLint interpreter
Mark Lam
Reported
2012-08-15 23:51:10 PDT
If you disable the JITs and run interpreted only on a debug build, 2 regex tests will crash with assertion failures: Regressions: Unexpected crashes : (2) fast/js/regexp-non-greedy-parentheses.html = CRASH fast/regex/parentheses.html = CRASH To reproduce: 1. Apply the following patch to runtime/Options.cpp. This will disable the JITs: Index: Source/JavaScriptCore/runtime/Options.cpp =================================================================== --- Source/JavaScriptCore/runtime/Options.cpp (revision 125744) +++ Source/JavaScriptCore/runtime/Options.cpp (working copy) @@ -138,6 +138,9 @@ ; // Deconfuse editors that do auto indentation #endif + useJIT() = false; + useDFGJIT() = false; + // Do range checks where needed and make corrections to the options: ASSERT(thresholdForOptimizeAfterLongWarmUp() >= thresholdForOptimizeAfterWarmUp()); ASSERT(thresholdForOptimizeAfterWarmUp() >= thresholdForOptimizeSoon()); 2. Do a debug build. 3. Run the webkit JS tests: $ ./Tools/Scripts/run-webkit-tests --debug fast/js/ fast/regex/ ietestcenter/Javascript/ sputnik/
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2012-08-15 23:57:35 PDT
rdar://problem/12108184
Mark Lam
Comment 2
2012-08-15 23:58:59 PDT
Correction:
rdar://problem/12110946
Csaba Osztrogonác
Comment 3
2013-02-26 03:39:57 PST
cc-ing Gábor and Zoltán, maybe you are interested in this LLINT bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug