beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
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 ?
<abu[7]> Yes
<tankf33der> i have a tests - pil21-tests
<tankf33der> i have unlimited in ulimit -s
<tankf33der> so
<abu[7]> ok
<tankf33der> if run this code i get stack overflow in the middle of script in stack heavy code
<tankf33der> so
<tankf33der> if i move one of the load TO the beginning of tests.l it is ok
<abu[7]> Did the tests start coroutines?
<tankf33der> yeap
<tankf33der> a lot
<abu[7]> But it is the main routine that overflows?
<tankf33der> mmmm some function somewhere inside
<abu[7]> In any case, (stack ...) is needed
<tankf33der> ok
<abu[7]> Seems the default size is too small
<tankf33der> default
<tankf33der> hm
<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]> cool
<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 ;)
<abu[7]> afp
<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.
<tankf33der> afp.
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