Hello,
I was trying to compile a function interactively (i.e. with ^C^C). It's a relatively long function. When I did it under slime, I got the following:
* ;; Connection to Emacs lost. ;; [ Error in function LISP::ASSERT-ERROR: Short read: length=4191 pos=4093]
The function uses XLIB and I shortened it by "using" XLIB and changing the xlib:<foo> calls to just <foo> calls. It then compiled without error.
So I looked around and found another piece of code with a long function. It is over 10000 characters. The same thing happened:
* ;; Connection to Emacs lost. ;; [ Error in function LISP::ASSERT-ERROR: Short read: length=13988 pos=4093]
The error occurs in read-next-form in swank.lisp.
Looks like the code isn't handling the transfer of more than one pipe-buffer-full of data.
I'm using a very recent slime.
Fred Gilham gilham@csl.sri.com writes:
Hello,
I was trying to compile a function interactively (i.e. with ^C^C). It's a relatively long function. When I did it under slime, I got the following:
This is a bug in CMUCL's read-sequence. See http://article.gmane.org/gmane.lisp.cmucl.devel/4363.
--helmut