2 Aug 2010 22:31
sbcl threaded + mac os + slime
Kevin Smith <k2msmith <at> gmail.com>
2010-08-02 20:31:35 GMT
2010-08-02 20:31:35 GMT
I seem to have a problem when running a program (using cl-opengl, cl-glut) under slime on the threaded version of sbcl for mac os. Whenever I execute a compile/load file from slime, slime disconnects from the process. The message is:
------
Lisp connection closed unexpectedly: connection broken by remote peer
Error during redisplay: (error Connection closed.)
------
However, when I run the lisp program from the repl in sbcl, it loads fine.
I seem to think it is a problem with cl-opengl. when I evaluate this region in the file from slime (with as little as cl-opengl included in the list), it disconnects:
(eval-when (:compile-toplevel :load-toplevel :execute)
(require :cl-opengl)
(require :cl-glu)
(require :cl-glut)
(require :cl-opencv))
However, when I evaluate other functions (that can be evaluated independently), it doesn't disconnect. Also, running this code from the repl doesn't cause any problems - only from slime.
I am using the latest slime version as well as the macports of sbcl (threaded) which I dowloaded via:
sudo port install sbcl +threads
btw, NON-threaded is not a problem; slime works fine with all the above code.
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm
_______________________________________________ Sbcl-help mailing list Sbcl-help <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sbcl-help
RSS Feed