Bug 94191

Summary: JSC: 2 regex assertion failures in webkit tests with LLint interpreter
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: mark.lam, ossy, rgabor, zherczeg
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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
Mark Lam
Comment 1 2012-08-15 23:57:35 PDT
Mark Lam
Comment 2 2012-08-15 23:58:59 PDT
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.