From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Detlev Zundel Newsgroups: gmane.lisp.guile.bugs Subject: Re: Problem with netcat Date: Mon, 11 Apr 2011 16:32:51 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302532395 26738 80.91.229.12 (11 Apr 2011 14:33:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2011 14:33:15 +0000 (UTC) Cc: bug-guile mailing list To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Apr 11 16:33:11 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9IAv-0001Gv-Ck for guile-bugs@m.gmane.org; Mon, 11 Apr 2011 16:33:09 +0200 Original-Received: from localhost ([127.0.0.1]:44084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9IAt-0003Xw-Lj for guile-bugs@m.gmane.org; Mon, 11 Apr 2011 10:33:07 -0400 Original-Received: from [140.186.70.92] (port=35139 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9IAn-0003S0-Da for bug-guile@gnu.org; Mon, 11 Apr 2011 10:33:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9IAj-0000Rb-GJ for bug-guile@gnu.org; Mon, 11 Apr 2011 10:32:59 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:56123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9IAj-0000RD-BZ for bug-guile@gnu.org; Mon, 11 Apr 2011 10:32:57 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 6F2CB1C08CDA; Mon, 11 Apr 2011 16:32:51 +0200 (CEST) X-Auth-Info: Tr5ohzCKqsTJ/k3ddiNxEsUYhglRhXtAEaJuw5iNx9E= Original-Received: from mail.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 658C81C0009B; Mon, 11 Apr 2011 16:32:51 +0200 (CEST) Original-Received: from ohwell.denx.de (ohwell [10.0.40.4]) by mail.denx.de (Postfix) with ESMTP id 4ED574BC1533; Mon, 11 Apr 2011 16:32:51 +0200 (CEST) Original-Received: from dzu by ohwell.denx.de with local (Exim 4.72) (envelope-from ) id 1Q9IAd-0002D7-9P; Mon, 11 Apr 2011 16:32:51 +0200 In-Reply-To: (Andy Wingo's message of "Mon, 11 Apr 2011 10:14:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5445 Archived-At: Hi Andy, > On Thu 07 Apr 2011 18:04, Detlev Zundel writes: > >> So it seems like guile wants simply to output a newline but the socket >> is closed already and the process then gets the SIGPIPE signal which >> guile is not prepared for. > > Excellent debugging, Detlev! I pushed a (sigaction SIGPIPE SIG_IGN) to > (system repl repl), which should fix the issue. Thanks for the > debugging, and thanks for the report, John! Thanks for the fix - I can confirm that this works (guile survives) for the cases where I saw the sigpipe before. Cheers Detlev -- I had nothing to do with implementing Gosmacs. It was inspired by the original Emacs, but that's all. I would never have agreed to use a language like Mocklisp. -- Richard Stallman in