seninha has quit [Quit: Leaving]
bjorkintosh has quit [Ping timeout: 246 seconds]
bjorkintosh has joined #picolisp
bjorkintosh has joined #picolisp
bjorkintosh has quit [Changing host]
bjorkintosh has quit [Ping timeout: 260 seconds]
msavoritias has joined #picolisp
lagash has quit [Ping timeout: 260 seconds]
lagash has joined #picolisp
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
bjorkintosh has joined #picolisp
bjorkintosh has joined #picolisp
fbytez has quit [Quit: byte byte]
fbytez has joined #picolisp
theruran has joined #picolisp
<
tankf33der>
hi all
<
tankf33der>
abu[7]: here ?
<
tankf33der>
i have a tests - pil21-tests
<
tankf33der>
i have unlimited in ulimit -s
<
tankf33der>
if run this code i get stack overflow in the middle of script in stack heavy code
<
tankf33der>
if i move one of the load TO the beginning of tests.l it is ok
<
abu[7]>
Did the tests start coroutines?
<
abu[7]>
But it is the main routine that overflows?
<
tankf33der>
mmmm some function somewhere inside
<
abu[7]>
In any case, (stack ...) is needed
<
abu[7]>
Seems the default size is too small
<
tankf33der>
default
<
abu[7]>
You can test with larger sizes, and then look how much space is
*unused*
<
tankf33der>
doing (stack 128)
<
tankf33der>
the same
<
abu[7]>
(stack 128 4096)
<
abu[7]>
sets also the 'main' size
<
abu[7]>
You can see which coroutine overflows the stack if you call (co) in the stack error repl
<
abu[7]>
(co) returns the current coroutine
<
tankf33der>
(stack 128 4096) helped
<
abu[7]>
Then do (stack) at the end
<
abu[7]>
to see how much is unused
<
abu[7]>
and thus how much is really needed
<
abu[7]>
But that's just pedantic perhaps ;)
<
tankf33der>
thanks.
msavoritias has quit [Remote host closed the connection]
<
tankf33der>
this is how code fails if (stack 64 4096) commented
<
tankf33der>
sign.input is text file and i do not have such code
<
tankf33der>
i do not have such code in whole tests repo.
skyjuice has joined #picolisp
theruran has quit [Quit: Connection closed for inactivity]
DKordic has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
<
abu[7]>
This is all right
<
abu[7]>
The stack overflows in the '**' function
<
abu[7]>
then "T -- Stack overflow" is the error
<
abu[7]>
In general, Pil exits afteb leaving the stack error repl in a stack overflow, because the stack may be corrupted an pil cannot continue
<
abu[7]>
thus "Give up: No stack"
<
abu[7]>
Good night
inara has quit [Quit: Leaving]
inara has joined #picolisp
seninha has quit [Ping timeout: 256 seconds]
seninha has joined #picolisp
seninha has quit [Quit: Leaving]
bjorkintosh has quit [Ping timeout: 268 seconds]
bjorkintosh has joined #picolisp
bjorkintosh has joined #picolisp