[MacRuby] #322: Instance variable memory layout error
#322: Instance variable memory layout error ------------------------+--------------------------------------------------- Reporter: dev@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------+--------------------------------------------------- {{{ macruby -e "class C; def m; @v1 = @v2 = @v3 = @v4 = @v5 = @v6 = @v7 = @v8 = @v9 = @v10 = 0; end; def test; p @oops; end; end; c = C.new.test" }}} gives a false instead of nil! If I use less than 10 variables everything is fine, so I suppose that this is a (serious) memory layout problem! I am on OS 10.5.7 with MacRuby r2454. -- Ticket URL: <http://www.macruby.org/trac/ticket/322> MacRuby <http://macruby.org/>
#322: Instance variable memory layout error ------------------------+--------------------------------------------------- Reporter: dev@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------+--------------------------------------------------- Comment(by dev@…): attached a patch in test_vm/ivar.rb I hope that this is the correct git format, I am using Git since 3 days... ;-) -- Ticket URL: <http://www.macruby.org/trac/ticket/322#comment:1> MacRuby <http://macruby.org/>
#322: Instance variable memory layout error ------------------------+--------------------------------------------------- Reporter: dev@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------+--------------------------------------------------- Comment(by lsansonetti@…): I merged your test in r2461, thanks! -- Ticket URL: <http://www.macruby.org/trac/ticket/322#comment:2> MacRuby <http://macruby.org/>
#322: Instance variable memory layout error ------------------------+--------------------------------------------------- Reporter: dev@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: critical | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | ------------------------+--------------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: The problem should be fixed in r2462. -- Ticket URL: <http://www.macruby.org/trac/ticket/322#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby