Page 1 of 1

segfault, if trying to switch to illegal context *twice*

Posted: Sat Jan 09, 2016 12:57 am
by hartrock

Code: Select all

sr@freen:~$ newlisp
newLISP v.10.6.5 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h

> (set 's (sym "Foo bar" MAIN))
Foo bar
> (context s)

ERR: invalid parameter in function context : "Foo bar"
> (context s)
Segmentation fault

Re: segfault, if trying to switch to illegal context *twice*

Posted: Sun Jan 10, 2016 6:12 pm
by Lutz
Thanks Hartrock, the contents of the symbol was left un-initialized on error, now fixed:

http://www.newlisp.org/downloads/develo ... nprogress/