Bug #8607

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

Added by Tsuyoshi Sawada 10 months ago. Updated 10 months ago.

[ruby-core:55829]
Status:Closed
Priority:Normal
Assignee:-
Category:-
Target version:-
ruby -v:ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

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.

History

#1 Updated by Tsuyoshi Sawada 10 months ago

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

#2 Updated by Tomoyuki Chikanaga 10 months ago

  • Status changed from Open to Closed

Thank you for your investigation.
I close this ticket.

Also available in: Atom PDF