[ruby] #53: Module#dup results in Segmentation Fault.
#53: Module#dup results in Segmentation Fault. --------------------------------+------------------------------------------- Reporter: demisone@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.2 Component: MacRuby | Keywords: bug, segmentation fault --------------------------------+------------------------------------------- Fully reproducable under MacRuby from test branch, r88. {{{ mod = Module.new{ def test_method true end } mod.dup # Bang! #This also happens with normal modules: require 'yaml' YAML.dup # Bang! }}} -- Ticket URL: <http://trac.macosforge.org/projects/ruby/ticket/53> ruby <http://ruby.macosforge.org/>
#53: Module#dup results in Segmentation Fault. -------------------------------------+-------------------------------------- Reporter: demisone@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.2 Component: MacRuby | Resolution: fixed Keywords: bug, segmentation fault | -------------------------------------+-------------------------------------- Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => fixed Comment: Seems to be fixed in trunk. {{{ $ ./miniruby -ve "m=Module.new{def foo;42;end};p m.dup" MacRuby version 0.2 (ruby 1.9.0 2008-03-01) [universal-darwin9.0] #<Module:0x2081bd0> $ ./miniruby -ve "module Foo;end;p Foo.dup" MacRuby version 0.2 (ruby 1.9.0 2008-03-01) [universal-darwin9.0] #<Module:0x20813e0> }}} -- Ticket URL: <http://trac.macosforge.org/projects/ruby/ticket/53#comment:1> ruby <http://ruby.macosforge.org/>
#53: Module#dup results in Segmentation Fault. -------------------------------------+-------------------------------------- Reporter: demisone@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.2 Component: MacRuby | Resolution: fixed Keywords: bug, segmentation fault | -------------------------------------+-------------------------------------- Comment (by demisone@gmail.com): Oh, that's nice. Is a 0.2 nearly there (at least in the test branch) or should I go and build it from the trunk? -- Ticket URL: <http://trac.macosforge.org/projects/ruby/ticket/53#comment:2> ruby <http://ruby.macosforge.org/>
#53: Module#dup results in Segmentation Fault. -------------------------------------+-------------------------------------- Reporter: demisone@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.2 Component: MacRuby | Resolution: fixed Keywords: bug, segmentation fault | -------------------------------------+-------------------------------------- Comment (by lsansonetti@apple.com): 0.2 is nearly there, however, currently trunk doesn't build entirely, due to recent important changes in the String class. You can still do "make miniruby" though. I will merge trunk into the testing branch once it builds again. -- Ticket URL: <http://trac.macosforge.org/projects/ruby/ticket/53#comment:3> ruby <http://ruby.macosforge.org/>
participants (1)
-
ruby