[MacRuby] #884: Abort occurs when calls Thread#value after throw an exception to a thread, Using 32bit arch.

MacRuby ruby-noreply at macosforge.org
Mon Aug 30 06:37:15 PDT 2010


#884: Abort occurs when calls Thread#value after throw an exception to a thread,
Using 32bit arch.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 {{{
 #!ruby
 # spec/frozen/core/thread/raise_spec.rb
 # it "can go unhandled" do
 t = Thread.new do
   loop {}
 end

 t.raise
 t.value
 }}}

 Result:
 {{{
 $ DYLD_LIBRARY_PATH=. ./macruby -v -I./lib t.rb
 MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, i386]
 terminate called after throwing an instance of
 'RoxorThreadRaiseException*'
 zsh: abort      DYLD_LIBRARY_PATH=. ./macruby -v -I./lib t.rb
 }}}

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



More information about the macruby-tickets mailing list