From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Proctor Newsgroups: gmane.lisp.guile.bugs Subject: Re: Problem with netcat Date: Mon, 11 Apr 2011 13:35:18 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00235451e69ed239a904a0a7ff5a X-Trace: dough.gmane.org 1302576912 15717 80.91.229.12 (12 Apr 2011 02:55:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2011 02:55:12 +0000 (UTC) Cc: bug-guile mailing list To: Detlev Zundel , Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 12 04:55:08 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from [140.186.70.17] (helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9Tkw-0003p1-Uo for guile-bugs@m.gmane.org; Tue, 12 Apr 2011 04:55:07 +0200 Original-Received: from localhost ([::1]:49977 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Tkv-0006j1-Sx for guile-bugs@m.gmane.org; Mon, 11 Apr 2011 22:55:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Shk-0003QG-Ti for bug-guile@gnu.org; Mon, 11 Apr 2011 21:47:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9L1F-0001gV-6T for bug-guile@gnu.org; Mon, 11 Apr 2011 13:35:22 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:62260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9L1E-0001gI-U9 for bug-guile@gnu.org; Mon, 11 Apr 2011 13:35:21 -0400 Original-Received: by eyd9 with SMTP id 9so1815983eyd.0 for ; Mon, 11 Apr 2011 10:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kGkw8bqP8tucziz6NWPKQV+HXBLfJgvXVvp4GQE8kTg=; b=wKg5k+xzIG8ML0VqNu85XW7Ml7kiPo68tjWx1dyMpq+s0bSsWm3O71rhl9Uir2fRiB As5eX3PWDE+wAPYU1/4nsOqzIVPnUzUlBHKF4IqTGzmfGrPZtygDJ940okfKV2HysnjO vV8W+gWv7JozdOYCqN9rA1+EbKzj+fGiclmrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BseY0K5to0h5/dcFZYyQUcs45v0NH4AHa4r8jHHYIFoYCA5ehtDq8RcLTXMuy0CI28 W+FsXebadLXGNptI25NHeUbVhWojqWNhnFC9gQ1z54RUpoS4GNtuNGPf/bxegSGcg91d aq3lzX9LOpjczF2Ob1h+h8G+/PfvukVlsyLec= Original-Received: by 10.14.29.148 with SMTP id i20mr2246063eea.177.1302543318792; Mon, 11 Apr 2011 10:35:18 -0700 (PDT) Original-Received: by 10.14.127.10 with HTTP; Mon, 11 Apr 2011 10:35:18 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org X-Broken-Reverse-DNS: no host name found for IP address 140.186.70.17 Xref: news.gmane.org gmane.lisp.guile.bugs:5455 Archived-At: --00235451e69ed239a904a0a7ff5a Content-Type: text/plain; charset=ISO-8859-1 Thanks for the great response. On Mon, Apr 11, 2011 at 10:32 AM, Detlev Zundel wrote: > 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 > --00235451e69ed239a904a0a7ff5a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Thanks for the great response.

On Mon, Apr 11, 2011 at 10:32 AM, Detlev Zundel <= dzu@denx.de> wrote:
Hi Andy,

> On Thu 07 Apr 2011 18:04, Detlev Zundel <dzu@denx.de> writes:
>
>> So it seems like guile wants simply to output a newline but the so= cket
>> is closed already and the process then gets the SIGPIPE signal whi= ch
>> guile is not prepared for.
>
> Excellent debugging, Detlev! =A0I pushed a (sigaction SIGPIPE SIG_IGN)= to
> (system repl repl), which should fix the issue. =A0Thanks for the
> debugging, and thanks for the report, John!

Thanks for the fix - I can confirm that this works (guile survi= ves) for
the cases where I saw the sigpipe before.

Cheers
=A0Detlev

--
I had nothing to do with implementing Gosmacs. =A0It was inspired
by the original Emacs, but that's all. =A0I would never have agreed
to use a language like Mocklisp.
=A0 =A0 =A0 =A0 =A0 =A0 -- Richard Stallman in <E1CUySS-00048D-RN@fencepost.gnu.org>=

--00235451e69ed239a904a0a7ff5a--