[MacRuby] #1443: MacRuby crashes when invoke Thread#value after invoked Thread#kill and #raise.

MacRuby ruby-noreply at macosforge.org
Wed Feb 1 16:25:00 PST 2012


#1443: MacRuby crashes when invoke Thread#value after invoked Thread#kill and
#raise.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 t = Thread.new {
   raise
 }

 t.kill
 p t.value #=> nil
 }}}

 Result:
 {{{
 $ DYLD_LIBRARY_PATH=. ./macruby -I./lib ~/tmp/t.rb
 terminate called throwing an exceptionzsh: illegal hardware instruction
 DYLD_LIBRARY_PATH=. ./macruby -I./lib ~/tmp/t.rb
 }}}

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



More information about the macruby-tickets mailing list