Tony Arcieri
2/9/2009 11:34:00 PM
[Note: parts of this message were removed to make it a legal post.]
On Mon, Feb 9, 2009 at 4:12 PM, Bezan Kapadia <bezan99@gmail.com> wrote:
> Can someone explain what does this error really mean "Got
> SystemStackError exception: stack level too deep" ?
> and if there are anything to look for or keep in mind to contain or
> prevent this error or some kind of work around etc...?
>
It means that you have too many calls to functions which are in turn calling
other functions before returning. A quick and easy way to cause a similar
error is:
def foo; foo; end
foo
The stack trace you get with the SystemStackError will be enormously helpful
in diagnosing this problem. Perhaps you can paste it to the list?
--
Tony Arcieri