diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-16 07:18:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-16 07:18:45 +0000 |
commit | 0afc8db914227fd391b927e7517530361b2b3114 (patch) | |
tree | 00e2405de5149748c73fdf788f5dd96b2bd2ea65 /vm.c | |
parent | 026979e7cfb217136bb43c177cb1d065d61f0dc2 (diff) |
vm_insnhelper.c: cfp error at stack overflow
* vm_insnhelper.c (threadptr_stack_overflow): set stack overflow
flag until handling execptions, to get rid of cfp consistency
error when exec tag was rewound. [ruby-core:80618] [Bug #13412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1808,6 +1808,7 @@ vm_exec(rb_thread_t *th) const rb_control_frame_t *escape_cfp; err = (struct vm_throw_data *)th->ec.errinfo; + rb_thread_raised_reset(th, RAISED_STACKOVERFLOW); exception_handler: cont_pc = cont_sp = 0; |