On 03/19/2011 08:14 AM, Larry Gadallah wrote:

[larry@owrlakh] 236% gst-remote --daemon
gst-remote server started.

[larry@owrlakh] 237% gst-remote --eval '100 factorial'

Perhaps you wanted to eval '100 factorial printNl'?

[larry@owrlakh] 238% gst-remote --kill
Object: File error: Bad file descriptor
SystemExceptions.FileError(Exception)>>pass (ExcHandling.st:385)
optimized [] in UndefinedObject>>executeStatements
(/usr/local/share/smalltalk/scripts/Remote.st:244)
SystemExceptions.FileError(Exception)>>activateHandler: (ExcHandling.st:516)
SystemExceptions.FileError(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.FileError class(Exception class)>>signal:
(ExcHandling.st:161)
File class>>checkError: (File.st:84)
optimized [] in Sockets.AbstractSocketImpl>>ensureReadable
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:442)
BlockClosure>>ensure: (BlkClosure.st:269)
optimized [] in Sockets.AbstractSocketImpl>>ensureReadable
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:428)
Sockets.TCPSocketImpl(Sockets.AbstractSocketImpl)>>fileOp:with:ifFail:
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:151)
Sockets.TCPSocketImpl(Sockets.AbstractSocketImpl)>>ensureReadable
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:441)
Sockets.ServerSocket>>waitForConnection
(Sockets.star#VFS.ZipFile/Sockets.st:980)
optimized [] in UndefinedObject>>executeStatements
(/usr/local/share/smalltalk/scripts/Remote.st:214)
BlockClosure>>repeat (BlkClosure.st:318)
optimized [] in UndefinedObject>>executeStatements
(/usr/local/share/smalltalk/scripts/Remote.st:203)
BlockClosure>>on:do: (BlkClosure.st:193)
optimized [] in UndefinedObject>>executeStatements
(/usr/local/share/smalltalk/scripts/Remote.st:239)
[] in Process>>onBlock:at:suspend: (Process.st:389)
BlockClosure>>on:do: (BlkClosure.st:193)
[] in Process>>onBlock:at:suspend: (Process.st:390)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in Process>>onBlock:at:suspend: (Process.st:368)
[] in BlockClosure>>asContext: (BlkClosure.st:179)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)

This is http://smalltalk.gnu.org/project/issue/497

I think this is just a race due to the socket being closed on the other side.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to