Bug #529

method_missing の再定義で Stack consistency error

Added by _ wanabe almost 7 years ago. Updated about 4 years ago.

[ruby-dev:36064]
Status:Closed
Priority:Normal
Assignee:-
ruby -v: Backport:

Description

=begin
ワナベと申します。

[Bug #513] と似た現象が vm_method_missing 中で
POPN 到達前に break した場合にも起きるようです。

$ 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 :384


DBG> : "-e:5:in `'"

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

--
ワナベ
=end

History

#1 Updated by Yusuke Endoh almost 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r19072.
=end

Also available in: Atom PDF