Project

General

Profile

Actions

Bug #8607

closed

Stack consistency error (sp: 16, bp: 17)

Added by sawa (Tsuyoshi Sawada) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
[ruby-core:55829]

Description

The following code:

class A
  attr_accessor :foo
end
class B
  def initialize(parent)
    @parent = parent
  end
  def method_missing(method, *args, &block)
    @parent.send(method)
  end
end

B.new(A.new).foo = :bar

returns:

[BUG] Stack consistency error (sp: 16, bp: 17)

It has been reported on Stackoverflow (http://stackoverflow.com/questions/17513074/ruby-2-0-throws-bug-stack-consistency-error) by NicoSantangelo.

Updated by sawa (Tsuyoshi Sawada) almost 11 years ago

Sorry, this bug is fixed in Ruby 2.0.0p247. Please dismiss this.

Updated by nagachika (Tomoyuki Chikanaga) almost 11 years ago

  • Status changed from Open to Closed

Thank you for your investigation.
I close this ticket.

Actions

Also available in: Atom PDF

Like0
Like0Like0