newLISP Fan Club

Forum => newLISP in the real world => Topic started by: hartrock on January 08, 2016, 04:57:31 PM

Title: segfault, if trying to switch to illegal context *twice*
Post by: hartrock on January 08, 2016, 04:57:31 PM

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
Title: Re: segfault, if trying to switch to illegal context *twice*
Post by: Lutz on January 10, 2016, 10:12:19 AM
Thanks Hartrock, the contents of the symbol was left un-initialized on error, now fixed:



http://www.newlisp.org/downloads/development/inprogress/