[MacRuby-devel] [ruby] #53: Module#dup results in Segmentation Fault.

ruby ruby-noreply at macosforge.org
Wed Apr 23 15:32:29 PDT 2008


#53: Module#dup results in Segmentation Fault.
--------------------------------+-------------------------------------------
 Reporter:  demisone at gmail.com  |       Owner:  lsansonetti at 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/>


More information about the MacRuby-devel mailing list