GNU bug report logs - #23000
send doesn't check for closed socket

Previous Next

Package: guile;

Reported by: Amirouche Boubekki <amirouche <at> hypermove.net>

Date: Sat, 12 Mar 2016 19:01:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Amirouche Boubekki <amirouche <at> hypermove.net>
Subject: bug#23000: closed (Re: bug#23000: update from wingo)
Date: Mon, 20 Jun 2016 16:19:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#23000: send doesn't check for closed socket

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 23000 <at> debbugs.gnu.org.

-- 
23000: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23000
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andy Wingo <wingo <at> pobox.com>
To: Amirouche Boubekki <amirouche <at> hypermove.net>
Cc: 23000-done <at> debbugs.gnu.org
Subject: Re: bug#23000: update from wingo
Date: Mon, 20 Jun 2016 18:18:05 +0200
tags 2300 +notabug
close
thanks

On Tue 03 May 2016 11:07, Amirouche Boubekki <amirouche <at> hypermove.net> writes:

> wingo said:
>
>> wingo | i don't think that's a guile bug -- i think in that case you
>> need to handle SIGPIPE
>> wingo | b/c posix is weird
>> wingo | (sigaction SIGPIPE SIG_IGN)
>> wingo | the web server does it.

Yep!

[Message part 3 (message/rfc822, inline)]
From: Amirouche Boubekki <amirouche <at> hypermove.net>
To: bug-guile <at> gnu.org
Subject: send doesn't check for closed socket
Date: Sat, 12 Mar 2016 19:57:35 +0100
[Message part 4 (text/plain, inline)]
The attached client.scm will crash with a SIGPIPE (based on strace) when 
run. It should raise an error instead.

The error happens when we try to send over socket that is closed on the 
other side.

Happens on 2.0 and master.

-- 
Amirouche ~ amz3 ~ http://www.hyperdev.fr
[client.scm (text/plain, attachment)]
[shared.scm (text/plain, attachment)]
[server.scm (text/plain, attachment)]

This bug report was last modified 8 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.