WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
127168
Recursive calls get segmentfault in ARM7 Use JIT
https://bugs.webkit.org/show_bug.cgi?id=127168
Summary
Recursive calls get segmentfault in ARM7 Use JIT
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
Add attachment
proposed patch, testcase, etc.
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