[MacRuby] #1283: Segfault occurs when gets the busy loop with some threads.

MacRuby ruby-noreply at macosforge.org
Fri May 27 16:02:30 PDT 2011


#1283: Segfault occurs when gets the busy loop with some threads.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 Looks like it's crashing when finalizing the process (during exit).

 {{{

 c1 = c2 = 0
 t1 = Thread.new {
   loop { c1 += 1 }
 }

 t2 = Thread.new {
   loop { c2 += 1 }
 }.join(1)

 p :ok
 sleep 2
 }}}

 In my environment, it continues 2 more seconds.

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



More information about the macruby-tickets mailing list