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

MacRuby ruby-noreply at macosforge.org
Wed Aug 10 12:07:27 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:                       
----------------------------------+-----------------------------------------

Comment(by jhemmelg@…):

 The same thing happens when you print in the thread:

 {{{
 t = Thread.new do
   print "thread\n"
 end
 t.kill
 }}}

 {{{
 $ macruby t2.rb
 terminate called after throwing an instance of
 'RoxorThreadRaiseException*'
 Abort trap
 }}}

 So it may be a general I/O problem rather than being specific to the
 select call.

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



More information about the macruby-tickets mailing list