[Ecls-list] Problems with slime

Tobias C. Rittweiler tcr at freebits.de
Sun Feb 7 22:03:55 UTC 2010


"Tobias C. Rittweiler" <tcr at freebits.de>
writes:

> "Tobias C. Rittweiler" <tcr at freebits.de>
> writes:
>
>> 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.
>>
>
> Bah in fact any error results in that stack overflow.
>
> This morning, this used to work.
>
> Currently, I'm on
>
>   e368e4279b451c13f9d1f6f458c8aaebe8adfa25
>
>   In compiler-debugger, do not muffle errors because they might be
>   caused by user handlers.
>
>   -T.

After updating to current HEAD, and purging fasls, it now works
again. Phew! :-)

  -T.





More information about the ecl-devel mailing list