[MacRuby] #871: Segfault occurs when access to variable within Blocks of Thread and Loop.

MacRuby ruby-noreply at macosforge.org
Tue Mar 29 21:00:24 PDT 2011


#871: Segfault occurs when access to variable within Blocks of Thread and Loop.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:  MacRuby 1.0          
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 Reduction:

 {{{
 $ ./miniruby -e "x=0; Thread.new { loop { x+=1 } }; sleep 1"
 Segmentation fault: 11
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/871#comment:7>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list