Jump to content

Find limit of recursion: Difference between revisions

Added zkl
(Added zkl)
Line 1,699:
 
I've used gdb and the command <tt>print $eax</tt> to know when the segmentation fault occurred. The result was 2094783.
 
=={{header|zkl}}==
<lang zkl>fcn{self.fcn()}()</lang>
{{out}}
<pre>
VM#1 is trying to throw from within a throw.
Trying to throw AssertionError : That is one big stack, infinite recursion?
Stack trace for VM#1 ():
Cmd.__fcn#1_2 addr:3 args(0) reg(0) R
<repeats 2096 times>
Cmd.__constructor addr:3 args(0) reg(0) R
startup.__constructor addr:2242 args(0) reg(1) ER
startup.__constructor addr:2178 args(0) reg(22)
</pre>
There is no room on the stack to create an exception so there is double exception, a bug
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.