[Ecls-list] Problems with slime

Tobias C. Rittweiler tcr at freebits.de
Sun Feb 7 21:46:38 UTC 2010


Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> writes:

> Slime gets my computer at 100% activity because it has some strange way of
> waiting for input: this is a loop over streams, inifite, using
> read-char-no-hang without ever waiting. I am sure there are better ways of
> doing this. This is in swank-backend.lisp -- do all implementations have
> this problem?
>
> (defun wait-for-streams (streams timeout)
>   (loop
>    (when (check-slime-interrupts) (return :interrupt))
>    (let ((ready (remove-if-not #'stream-readable-p streams)))
>      (when ready (return ready)))
>    (when timeout (return nil))
>    (sleep 0.1)))

If I type swank::*does-not-exist* at the REPL, ECL dies with the
following:

  Internal or unrecoverable error in:
  Bind stack overflow, cannot grow larger.
    [29: Illegal seek]

  Process inferior-lisp exited abnormally with code 134

  -T.





More information about the ecl-devel mailing list