hi my c++ app statically links to libchicken 3.0.0 and i start a chicken session like this:
  HeapSize: 1000000
  StackSize: 64000

now, if i send chicken a long string to eval i get the error

Error: not enough room for result string

and my app crashes, which is really bad since editing windows with unsaved work and everthing else dies.

is there a way to tell chicken to allocate more room without such a hard constraint? the string in sending to chicken (via eval_from_string) contains an expression "(define foo '(....))" where .... is longish (35000 chars) but lisp should be able to deal with this i think.

whats strange is that if i start CSI in the terminal and simply paste the expr into csi it handles it.

any help on how to stop the crashing greatly appreciated.



_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to