From unknown Sat Sep 06 09:27:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25481: `guile --listen' broken on guile master Resent-From: Christopher Allan Webber Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 19 Jan 2017 00:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25481 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 25481@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148478685311314 (code B ref -1); Thu, 19 Jan 2017 00:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jan 2017 00:47:33 +0000 Received: from localhost ([127.0.0.1]:35088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cU0t2-0002wQ-RQ for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cU0t1-0002wD-Km for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU0sv-0000xw-Sn for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cU0sv-0000xi-PH for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU0su-0002XG-P8 for bug-guile@gnu.org; Wed, 18 Jan 2017 19:47:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU0sr-0000uA-Np for bug-guile@gnu.org; Wed, 18 Jan 2017 19:47:24 -0500 Received: from dustycloud.org ([50.116.34.160]:44586) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cU0sr-0000tF-JE for bug-guile@gnu.org; Wed, 18 Jan 2017 19:47:21 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 5EC8626605 for ; Wed, 18 Jan 2017 19:47:19 -0500 (EST) User-agent: mu4e 0.9.18; emacs 25.1.1 From: Christopher Allan Webber Date: Wed, 18 Jan 2017 18:47:19 -0600 Message-ID: <87mven510o.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) (originally accidentally sent to guile-devel instead of here, sorry for xpost!) If you use the latest Guile, you'll find that "guile --listen" has broken. If you try: ./meta/guile --listen=/tmp/guile-socket then you'll find that you have a very short window in which you can do: M-x geiser-connect-local guile /tmp/guile-socket but then the main repl, the one you launched in the shell, hangs. And if you wait too long or disconnect then reconnect, you won't be able to connect again. What you'll see in the guile process is this: scheme@(guile-user)> In thread: ERROR: In procedure select: Interrupted system call Here's the commit that introduces the bug: 206dced87f425af7eed628530313067a45bee2c2 I've verified that it works right before that commit. The commit does some things involving changing the code involving the "select" and etc in the repl code, so maybe that's related. From unknown Sat Sep 06 09:27:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Allan Webber Subject: bug#25481: closed (Re: bug#25481: `guile --listen' broken on guile master) Message-ID: References: <87r32hdkoc.fsf@pobox.com> <87mven510o.fsf@dustycloud.org> X-Gnu-PR-Message: they-closed 25481 X-Gnu-PR-Package: guile Reply-To: 25481@debbugs.gnu.org Date: Wed, 01 Mar 2017 16:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1488385862-14939-1" This is a multi-part message in MIME format... ------------=_1488385862-14939-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25481: `guile --listen' broken on guile master which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25481@debbugs.gnu.org. --=20 25481: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25481 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1488385862-14939-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25481-done) by debbugs.gnu.org; 1 Mar 2017 16:30:30 +0000 Received: from localhost ([127.0.0.1]:34611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj792-0003sD-9F for submit@debbugs.gnu.org; Wed, 01 Mar 2017 11:30:30 -0500 Received: from pb-sasl2.pobox.com ([64.147.108.67]:55012 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj790-0003s5-LK for 25481-done@debbugs.gnu.org; Wed, 01 Mar 2017 11:30:27 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id AB85D65EDD; Wed, 1 Mar 2017 11:30:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=O8fcodZ/JylnrbzVWIUxk3Rtwis=; b=aBZ23b 5un9hKmB4xMvRjTArBFaOM4k5f0UxlT23RYLBczMFNGxR8hcYYRxET1lFtx3xRlQ rXE/L1I4+q03uf+w3BxlAp99vSv44gm2mWD93slzg3WjXwjwvVwkddjWCsEXPBFC 6XriKhZcE6UfDhhHSYacTz+Ckn7SVsxDhzyzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=bBZVHC+87IfAb8h7XvLjMfeNjjhZX0Ut dYzagoky7VPygFikkO0wsNmQ2hYc1CTw1360nEQNDXWJwF+7YFEKIlbb+DW7/6vZ AK6BL06x2KOIvSeUACUmwd7z45hsRMJs29w4BT7bHcQUx9L4nLIQ5cfEokHnBXQ/ 0l6xba06sXQ= Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id A473365EDC; Wed, 1 Mar 2017 11:30:23 -0500 (EST) Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 188A665EDB; Wed, 1 Mar 2017 11:30:21 -0500 (EST) From: Andy Wingo To: Christopher Allan Webber Subject: Re: bug#25481: `guile --listen' broken on guile master References: <87mven510o.fsf@dustycloud.org> Date: Wed, 01 Mar 2017 17:30:11 +0100 In-Reply-To: <87mven510o.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 18 Jan 2017 18:47:19 -0600") Message-ID: <87r32hdkoc.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 5DF5C04A-FE9C-11E6-AF5E-85AB91A0D1B0-02397024!pb-sasl2.pobox.com X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25481-done Cc: 25481-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Thu 19 Jan 2017 01:47, Christopher Allan Webber writes: > (originally accidentally sent to guile-devel instead of here, sorry for > xpost!) > > If you use the latest Guile, you'll find that "guile --listen" has > broken. If you try: > ./meta/guile --listen=/tmp/guile-socket > > then you'll find that you have a very short window in which you can do: > M-x geiser-connect-local guile /tmp/guile-socket > > but then the main repl, the one you launched in the shell, hangs. > And if you wait too long or disconnect then reconnect, you won't be > able to connect again. > > What you'll see in the guile process is this: > > scheme@(guile-user)> In thread: > ERROR: In procedure select: Interrupted system call select really shouldn't be throwing exceptions on EINTR; it should be called in a loop anyway, so calling scheme can run interrupts then. Changed select to just return when async interrupts are pending (e.g. the post-GC hooks), which seems to fix this bug. Andy ------------=_1488385862-14939-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Jan 2017 00:47:33 +0000 Received: from localhost ([127.0.0.1]:35088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cU0t2-0002wQ-RQ for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cU0t1-0002wD-Km for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU0sv-0000xw-Sn for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cU0sv-0000xi-PH for submit@debbugs.gnu.org; Wed, 18 Jan 2017 19:47:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU0su-0002XG-P8 for bug-guile@gnu.org; Wed, 18 Jan 2017 19:47:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU0sr-0000uA-Np for bug-guile@gnu.org; Wed, 18 Jan 2017 19:47:24 -0500 Received: from dustycloud.org ([50.116.34.160]:44586) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cU0sr-0000tF-JE for bug-guile@gnu.org; Wed, 18 Jan 2017 19:47:21 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 5EC8626605 for ; Wed, 18 Jan 2017 19:47:19 -0500 (EST) User-agent: mu4e 0.9.18; emacs 25.1.1 From: Christopher Allan Webber To: bug-guile@gnu.org Subject: `guile --listen' broken on guile master Date: Wed, 18 Jan 2017 18:47:19 -0600 Message-ID: <87mven510o.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) (originally accidentally sent to guile-devel instead of here, sorry for xpost!) If you use the latest Guile, you'll find that "guile --listen" has broken. If you try: ./meta/guile --listen=/tmp/guile-socket then you'll find that you have a very short window in which you can do: M-x geiser-connect-local guile /tmp/guile-socket but then the main repl, the one you launched in the shell, hangs. And if you wait too long or disconnect then reconnect, you won't be able to connect again. What you'll see in the guile process is this: scheme@(guile-user)> In thread: ERROR: In procedure select: Interrupted system call Here's the commit that introduces the bug: 206dced87f425af7eed628530313067a45bee2c2 I've verified that it works right before that commit. The commit does some things involving changing the code involving the "select" and etc in the repl code, so maybe that's related. ------------=_1488385862-14939-1--