[slim-vim] ecl-slime crashing on me

Brad Beveridge brad.beveridge at gmail.com
Sun Jul 9 10:21:29 CDT 2006


On 09/07/06, Larry Clapp <larry at theclapp.org> wrote:
> Brad,
>
> I pulled a fresh ecl-slime, and a fresh Slime, and ecl-slime crashes
> on me on the first expression evaluated.
>
> In clisp:
>
> - load swank-loader
> - run (swank:create-server :dont-close t)
>
> In Vim:
>
> - disable ecl-repl
> - start Vim in the ecl-slime directory, load *.vim and *.lisp
> - source ecl-slime.vim
> - open a new buffer
> - type ,sc to connect to Swank
> - type (+ 1 1)
> - type ,x to execute
> - wait
>
> and a few seconds later clisp prints a few thousand lines of
>
> DISPATCHING:
> (:WRITE-STRING
>  "READ: \"(:EMACS-REX (SWANK:INTERACTIVE-EVAL \\\"(+ 1 1)\\\")
>  \\\"#:slime\\\" T 1)\"
>  DISPATCHING:
>  DISPATCHING:
>  DISPATCHING:
>  DISPATCHING:
>  DISPATCHING:
> ... etc
>  ")
>
> and Vim crashes to the ECL debugger.
>
> The clisp backtrace:
>
> > ;; Event history end.
> > ;; Connection to Emacs lost. [
> > ;;  condition: SYSTEM::STORE-SCHAR: index 8000 should be less than the length of the string
> > ;;  type: SWANK::SLIME-PROTOCOL-ERROR
> > ;;  encoding: :ISO-LATIN-1-UNIX style: NIL dedicated: NIL]
> >
> > *** - Ctrl-C: User break
>
> [ Note: clisp didn't crash, I pressed ^C ]
>
> > The following restarts are available:
<SNIP>
>
> The Vim/ECL backtrace:
>
> > destructure-case failed: NIL
> > Broken at SLIME::SLIME-DISPATCH-EVENT.
> > > :b
> > Backtrace: > SLIME::SLIME-DISPATCH-EVENT > slime::slime-process-available-input
>
> If I don't load *.vim and *.lisp, and just source ecl-slime.vim, then
> ,sc segfaults on me.
>
> I assume this is not what you get.  :)  What Lisp do you use, how do
> you load ecl-slime, etc?
>
> -- Larry
>
> _______________________________________________
> slim-vim mailing list
> slim-vim at lispniks.com
> http://www.lispniks.com/mailman/listinfo/slim-vim
>
Ick, no I don't get that at all :)  I run SBCL 0.9.10.37 and Slime2.0.
 Could you revert to the 2.0 version of Slime and see if the issue
still occurs?  Oh - what does
(swank-backend::preferred-communication-style) return if you run that
in CLISP?  It needs to be :FD-HANDLER, which I think you can change in
swank-clisp.lisp.

Cheers
Brad


-- 
Go and see "An Inconvenient Truth"
http://www.climatecrisis.net/


More information about the slim-vim mailing list