Page 1 of 1

net-eval - segmentation fault

Posted: Wed Jul 12, 2006 4:12 pm
by newdep
(1) If a net-eval is performed on a tcp port which closes by itself
then a segmentation fault occeurs.


Tested on Linux 8.8.0 and 8.9.0


Example ->

> (net-eval '( ( "localhost" 1 "(+ 1 1)" )) 5000)
((4 "ERR: Connection failed"))

> (net-eval '( ( "shell.dds.nl" 22 "(+ 1 1)" )) 5000)
(nil)

> (net-eval '( ( "10.10.10.10" 8888 "(+ 1 1)" )) 5000)
Segmentation fault


Although Im not quite sure what it going here with net-eval..

Norman.






Norman.

Posted: Wed Jul 12, 2006 8:43 pm
by Lutz
How do you run the server is it newlisp directly with newlisp -c -d <portno> or are you running as an inetd or xinetd service with newLISP? And how does the remote port closure occur?

Lutz