net-eval - segmentation fault

Q&A's, tips, howto's
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

net-eval - segmentation fault

Post 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.
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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

Locked