From: Bezan Kapadia Date: 2009-02-16T15:21:58+09:00 Subject: Re: Got SystemStackError exception: stack level too deep Since it takes 40 hrs for the Real code to cause the System Stack Error I tried all the above suggestions in the mean while on the code below and none seem to worked..(i.e I used newer versions of Ruby, rescue statements in the manner indicated above etc etc )...but the stack level too deep error keeps coming back. The issue that triggers the exception: def foo;foo;end foo __________________________ So i have tried an alternative solution of a while loop which seems to be working fine so far but lets see.. while (1) foo end def foo end ___________________________ But if anyone knows of a neat way to get around the issue that Tony indicated please let me know .... -- Posted via http://www.ruby-forum.com/.