mruby / mruby

Lightweight Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VM crashes with bread after #6101

matz opened this issue · comments

After #6101, VM crashes with a simple script like Class.new{break}. Usually, I solve this kind of problem by myself, but honestly speaking, I don't understand this reorganization well enough to address the issue. @dearblue Could you check this problem, please?

It seems that VM calls MRB_THROW multiple times in the same MRB_TRY block to traverse the implicit mrb->jmp link (via prev_jmp) when unnecessary.

Thanks for the report.
🙀 I have confirmed the issue. Sorry about that.
I will look for the cause and fix it.