Ruby Forum Ruby-dev > [Bug:1.9] method_missing $B$N:FDj5A$G(B Stack consistency error

Posted by wanabe (Guest)
on 31.08.2008 14:12
(Received via mailing list)
$B%o%J%Y$H?=$7$^$9!#(B

[Bug #513] $B$H;w$?8=>]$,(B vm_method_missing $BCf$G(B
POPN $BE~C#A0$K(B break $B$7$?>l9g$K$b5/$-$k$h$&$G$9!#(B

$ ruby -e '
def method_missing(m)
  yield
end
foo {break}
'
-e:5: [BUG] Stack consistency error (sp: 7, bp: 6)
ruby 1.9.0 (2008-08-31 revision 18997) [i386-mingw32]

-- control frame ----------
c:0003 p:0027 s:0007 b:0006 l:000005 d:000005 TOP    -e:5
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH 
:private_class_method
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP    <dummy 
toplevel>:384
---------------------------
DBG> : "-e:5:in `<main>'"

This application has requested the Runtime to terminate it in an unusual 
way.
Please contact the application's support team for more information.
Posted by Yusuke Endoh (Guest)
on 02.09.2008 17:27
(Received via mailing list)
$B%A%1%C%H(B #529 $B$,99?7$5$l$^$7$?!#(B (by Yusuke Endoh)

$B%9%F!<%?%9(B Open$B$+$i(BClosed$B$KJQ99(B
$B?JD=(B % 0$B$+$i(B100$B$KJQ99(B

Applied in changeset r19072.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/529