Bug 127168

Summary: Recursive calls get segmentfault in ARM7 Use JIT
Product: WebKit Reporter: bhunter <flyingguhong>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   

bhunter
Reported 2014-01-17 02:25:55 PST
I build jsc for armv7 use softfp, when i run the following code, i get segmentfault var start = 1; function cb() { var arr = []; seg( function(n) { console.log(n); arr.push(n); }, start); } function seg(f, n) { f(n); if(n > 1000) return; seg(f, n+1); } cb(); I guess stack overflow so i increase stack size, but i still get segmentfault. Each death functions are executed 66 times. stack in SpeculativeJIT::runSlowPathGenerators When I close JIT,use LLINT ,I success. So I guess this is Bug for JIT
Attachments
Note You need to log in before you can comment on or make changes to this bug.