Attempt to unread too many characters ...

Andrew Myers asm198 at gmail.com
Thu Oct 17 19:06:51 UTC 2013


Thanks for narrowing down the behavior.  I've queried Franz about it and
will let you know what their response is.

Andrew


On 10/17/2013 06:25 AM, Luís Oliveira wrote:
> Andrew Myers <asm198 at gmail.com> writes:
>
>>> attempt to unread too many characters on
>>> #<TWO-WAY-STREAM "" @ #x100010c8c22>
> [...]
>> Is this a problem with Franz Lisp?  Slime, Swank?  I'm not really sure
>> where I should start looking at this point.  Any help is appreciated.
> I believe this is an ACL bug. You can reproduce it independently of
> slime-repl as follows:
>
>   (handler-bind
>       ((error (lambda (e)
>                 (let ((*query-io* (make-two-way-stream
>                                    (swank-backend:make-input-stream
>                                     (lambda () (format nil "10~%")))
>                                    *query-io*)))
>                   (invoke-restart-interactively 'store-value)))))
>     (eval 'a))
>
> It seems that INVOKE-RESTART-INTERACTIVELY or something else more
> specific to the STORE-VALUE restart is doing too many UNREAD-CHARs which
> is not supported by the gray stream that SWANK has setup for
> *QUERY-IO*. (I don't remember enough details about gray streams to know
> whether this a general gray stream thing or something else.)
>
> Also, this happens in ACL 9.0 but not ACL 8.1.
>
> Can you report it to Franz?
>
> Cheers,
> Luís
>
>




More information about the slime-devel mailing list