[Openmcl-devel] Swank in CCL image not working

Michael Wolber mwolber at gmx.de
Sun Dec 2 13:43:38 UTC 2012


Hi folks,

I am trying to use ccl on a Raspberry Pi. As that nice thing is not really fast I would prefer to put most things into an image, instead of loading them in the init file. I want to connect to the PiLisp with Slime through an SSH tunnel. So I loaded Quicklisp and swank in advance. Basically that means that I do a 

	(load "/usr/local/lib/quicklisp/setup.lisp")
	(require :swank)
	(ccl:save-application "armcl.image")

right after starting my ccl ("./armcl -no-init -I armcl.image.orig").

When I start ccl now using this image again and try to start a new listening server in my init file

	(swank:create-server :port 4005 :style :spawn :dont-close t)

then I get the following error:

	> Error: #<BASIC-CHARACTER-OUTPUT-STREAM :CLOSED #x5462E5DE> is closed
	> While executing: CCL::STREAM-IS-CLOSED, in process listener(1).


I guess there is either a bug in the swank-backend for ccl, or within ccl itself. Seems as if a network stream is not replaced when restarting the image. 
Any idea? Did anyone try to put Swank directly into an image?


Same happens in OSX, no Pi required to reproduce the error. The same way done Swank-in-an-image-trick with SBCL works.

Thanks in advance,
Michael 




CCL Version: 1.9-dev-r15500M  (LinuxARM32)!
Swank: 2012-11-25
Quicklisp: (ql::local-version) 2012112500





More information about the Openmcl-devel mailing list