[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: threads + gds + with-input-from-string == fail

From: Neil Jerram
Subject: Re: threads + gds + with-input-from-string == fail
Date: Fri, 22 Feb 2008 01:33:32 +0000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Andy Wingo <address@hidden> writes:

> Hello,

Hi Andy,

> It took me a while to isolate, but GDS has a problem when evaluating
> code that changes the current input port. For example, evaluate the
> following:
>   (with-input-from-string "(+ 2 3)" read)
> If you are running with a "utility guile", this should work. However, if
> you start up another guile running GDS in a thread:
> $ guile
> guile> (use-modules (ice-9 threads) (ice-9 gds-client))
> guile> (make-thread run-utility)
> Then reassociate that buffer with the new process, and try evaluating
> the above form. For me, GDS goes into the "running" state and never
> comes back. To fix you have to kill the guile, kill the debug server,
> and disassociate buffers.
> Any idea why this is the case? It would be great to fix it.

I'm trying to set up to reproduce this myself; but meanwhile, there
might be some clues at the end of the gds-debug buffer.  Could you
repro, then cut and paste the last 30 lines (say) of that buffer?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]