newLISP Fan Club

Forum => newLISP in the real world => Topic started by: pjot on February 29, 2008, 12:29:34 PM

Title: (xml-parse) segfault
Post by: pjot on February 29, 2008, 12:29:34 PM
Quote
peter[~]$ newlisp

newLISP v.9.3.2 on Linux IPv4, execute 'newlisp -h' for more info.



> (set 'xml "<xml><DATABASE><This><FRUIT><NAME>apple</NAME><COLOR>red</COLOR><PRICE>0.80</PRICE></FRUIT></DATABASE>")

"<xml><DATABASE><This><FRUIT><NAME>apple</NAME><COLOR>red</COLOR><PRICE>0.80</PRICE></FRUIT></DATABASE>"

> (xml-parse xml (+ 1 2 4 8 16) A)

Segmentation error


So when using a 'A' (or some other letter or number) instead of a symname for a context there is a segfault.



This is the plain 32-bit newlisp, by the way :-)



Peter
Title:
Post by: Lutz on February 29, 2008, 01:07:26 PM
This is fixed in 9.3.3



Lutz