Project

General

Profile

Actions

Bug #529

closed

method_missing の再定義で Stack consistency error

Added by wanabe (_ wanabe) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:36064]

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

Actions #1

Updated by mame (Yusuke Endoh) over 15 years ago

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

=begin
Applied in changeset r19072.
=end

Actions

Also available in: Atom PDF

Like0
Like0