[MacRuby] #1447: Crash - Assertion failed in RoxorVM::pop_current_exception
MacRuby
ruby-noreply at macosforge.org
Sun Feb 5 07:43:10 PST 2012
#1447: Crash - Assertion failed in RoxorVM::pop_current_exception
--------------------------------+-------------------------------------------
Reporter: msabramo@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords: crash, GCD
--------------------------------+-------------------------------------------
Comment(by msabramo@…):
Just reduced this to a much, much smaller example (small enough to paste
here!). I'm assuming the problem is raising an exception in a rescue:
{{{
$ cat test4.spec
framework 'Foundation'
describe 'Stuff' do
it 'should not crash' do
begin
nil[]
rescue Exception => error
NSLog(error)
end
end
end
$ macrspec -f d test4.spec
Stuff
Assertion failed: ((size_t)pos < current_exceptions.size()), function
pop_current_exception, file vm.cpp, line 3596.
Abort trap
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1447#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list