Le 14/05/2014 23:22, Tobias Boege a écrit :
> Hi Benoit,
>
> simple issue this time (I think). When my program produces a stack overflow
> and I try to get the value of an argument to the overflowing stack frame,
> using the IDE debugging facilities, "it" (the interpreter?) segfaults.
>
> Run the attached project and when the stack is overflowed, select the iInt
> parameter in the function body as if you would want to know its value. (I
> actually did this because I wanted to know how deep the Gambas stack can be
> exhausted with a minimal function. Guess I'll just print the value now...)
>
> Regards,
> Tobi
>

The stack limit is 64 Mb unless less is specified by the 'ulimit' 
command. This number is arbitrary. Technically, the stack is limited by 
the available memory only (it works exactly like the binary program stack).

-- 
Benoît Minisini

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to