[MacRuby] #1233: Abort occurs when kill a thread waiting with IO.select

MacRuby ruby-noreply at macosforge.org
Mon Apr 18 07:15:34 PDT 2011


#1233: Abort occurs when kill a thread waiting with IO.select
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  major                 |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 #!ruby
 t = Thread.new do
   IO.select(nil, nil, nil, nil)
 end
 sleep 0.5
 t.kill
 }}}

 {{{
 $ macruby t.rb
 terminate called after throwing an instance of
 'RoxorThreadRaiseException*'
 zsh: abort      macruby t.rb
 }}}

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



More information about the macruby-tickets mailing list