[MacRuby] #1373: Better error reporting is needed for infinite recursion
MacRuby
ruby-noreply at macosforge.org
Wed Aug 3 22:55:12 PDT 2011
#1373: Better error reporting is needed for infinite recursion
----------------------------------+-----------------------------------------
Reporter: scott@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Infinite recursion in MRI reports that the stack is too deep. With
MacRuby, "segmentation fault: 11" is dumped to the console.
Here's a simple test:
{{{
def recurse
recurse
end
recurse
}}}
MRI output:
{{{
test.rb:2:in `recurse': stack level too deep (SystemStackError)
from test.rb:2:in `recurse'
from test.rb:5
}}}
MacRuby output:
{{{
Segmentation fault: 11
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1373>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list