[MacRuby] #1461: Thread exited prematurely because of an uncaught exception
MacRuby
ruby-noreply at macosforge.org
Wed Feb 15 05:04:47 PST 2012
#1461: Thread exited prematurely because of an uncaught exception
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Test Script:
{{{
GC.stress = true
100.times do
begin
Thread.start{|t| t.raise}
rescue
end
end
}}}
{{{
$ macruby test_thread.rb
*** Thread 0x111cbe000 exited prematurely because of an uncaught
exception:
/Users/watson/tmp/test_thread.rb:4:in `block': private method `raise'
called for nil:NilClass (NoMethodError)
*** Thread 0x112a9f000 exited prematurely because of an uncaught
exception:
/Users/watson/tmp/test_thread.rb:4:in `block': private method `raise'
called for nil:NilClass (NoMethodError)
*** Thread 0x1129e4000 exited prematurely because of an uncaught
exception:
/Users/watson/tmp/test_thread.rb:4:in `block': private method `raise'
called for nil:NilClass (NoMethodError)
---- snip ----
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1461>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list