[MacRuby] #1174: Defining TopLevel#copy causes crashes

MacRuby ruby-noreply at macosforge.org
Mon Feb 28 11:37:40 PST 2011


#1174: Defining TopLevel#copy causes crashes
--------------------------+-------------------------------------------------
 Reporter:  sema@…        |       Owner:  lsansonetti@…        
     Type:  defect        |      Status:  new                  
 Priority:  blocker       |   Milestone:                       
Component:  MacRuby       |    Keywords:                       
--------------------------+-------------------------------------------------
 {{{
 puts "string 1".copy
 # ok

 def copy(arg)
   p arg
 end

 puts "string 2".copy
 # crash: segmentation fault
 }}}


 {{{
 puts "string 1".copy
 # ok

 def copy; end

 puts "string 2".copy
 # crash: trace trap
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1174>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list