[MacRuby] #1447: Crash - Assertion failed in RoxorVM::pop_current_exception
MacRuby
ruby-noreply at macosforge.org
Sun Feb 5 08:19:57 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@…):
Here's the output with `ROXOR_VM_DEBUG` and `ROXOR_VM_DEBUG_CONST`
#defined:
{{{
$ ~/dev/git-repos/MacRuby/macruby test4.rb
...
resolving -[NilClass []]
resolving -[NilClass []]
resolving -[NilClass []:]
resolving -[NoMethodError to_str]
vm.cpp:1303:rb_vm_const_lookup_level:outer(NSObject) path(Exception)
lexical(true) defined(false) outer_stack(0x0)
rb_vm_const_lookup_level:1307:vm->get_outer_stack outer_stack()
rb_vm_const_lookup_level:1310:vm->get_current_outer outer_stack()
resolving -[TopLevel NSLog:]
resolving -[TopLevel NSLog:]
resolving -[TopLevel NSLog:]
gen Ruby -> C stub with types v@
resolving -[NoMethodError length]
resolving -[NoMethodError length]
RoxorVM::pop_current_exception (vm.cpp:3607) - Warning: Assertion about to
fail: ((size_t)pos < current_exceptions.size()); pos = 1;
current_exceptions.size() = 1
current_exceptions[1]: "#<NoMethodError: undefined method `[]' for
nil:NilClass>"
Assertion failed: ((size_t)pos < current_exceptions.size()), function
pop_current_exception, file vm.cpp, line 3616.
Abort trap
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1447#comment:5>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list