From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: threads + gds + with-input-from-string == fail Date: Fri, 22 Feb 2008 01:33:32 +0000 Message-ID: <87hcg1zser.fsf@ossau.uklinux.net> References: <87hcg2fqw3.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203644038 459 80.91.229.12 (22 Feb 2008 01:33:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 01:33:58 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 22 02:34:23 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JSMno-00073K-P7 for guile-devel@m.gmane.org; Fri, 22 Feb 2008 02:34:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSMnJ-0001jJ-EE for guile-devel@m.gmane.org; Thu, 21 Feb 2008 20:33:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSMnD-0001jB-1x for guile-devel@gnu.org; Thu, 21 Feb 2008 20:33:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSMnB-0001il-HE for guile-devel@gnu.org; Thu, 21 Feb 2008 20:33:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSMnB-0001ii-BT for guile-devel@gnu.org; Thu, 21 Feb 2008 20:33:37 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSMnA-0007ih-VL for guile-devel@gnu.org; Thu, 21 Feb 2008 20:33:37 -0500 Original-Received: from arudy (host86-145-183-175.range86-145.btcentralplus.com [86.145.183.175]) by mail3.uklinux.net (Postfix) with ESMTP id 883951F7A6D; Fri, 22 Feb 2008 01:33:33 +0000 (GMT) Original-Received: from laruns (laruns [192.168.0.10]) by arudy (Postfix) with ESMTP id 718DB3800A; Fri, 22 Feb 2008 01:33:32 +0000 (GMT) In-Reply-To: <87hcg2fqw3.fsf@pobox.com> (Andy Wingo's message of "Thu, 21 Feb 2008 13:14:19 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:7038 Archived-At: Andy Wingo 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? Thanks, Neil