(xml-parse) segfault

Started by pjot, February 29, 2008, 12:29:34 PM

Previous topic - Next topic

pjot

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

Lutz

#1
This is fixed in 9.3.3



Lutz