From: Arun Isaac <arunisaac@systemreboot.net>
To: 40206@debbugs.gnu.org
Subject: bug#40206: guile should delete unix listen socket when quit
Date: Tue, 24 Mar 2020 13:50:37 +0530 [thread overview]
Message-ID: <cu7imiuupt6.fsf@systemreboot.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
Suppose I start guile to listen on a unix socket /tmp/guile like so:
$ guile --listen=/tmp/guile
When I quit guile, the socket file still remains. The next time I start
guile to listen on /tmp/guile, guile errors out with the following
error. It would be better if guile deleted the socket file on quitting.
--8<---------------cut here---------------start------------->8---
Backtrace:
5 (apply-smob/1 #<catch-closure 7f1da4749340>)
In ice-9/boot-9.scm:
705:2 4 (call-with-prompt ("prompt") #<procedure 7f1da2eaf4c0 …> …)
In ice-9/eval.scm:
619:8 3 (_ #(#(#<directory (guile-user) 7f1da43d9140>)))
155:9 2 (_ #(#(#<directory (guile-user) 7f1da43d9140>)))
In system/repl/server.scm:
86:4 1 (make-unix-domain-server-socket #:path _)
In unknown file:
0 (bind #<input-output: socket 9> 1 "/tmp/guile")
ERROR: In procedure bind:
In procedure bind: Address already in use
--8<---------------cut here---------------end--------------->8---
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
reply other threads:[~2020-03-24 8:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cu7imiuupt6.fsf@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=40206@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).