GNU bug report logs - #40206
guile should delete unix listen socket when quit

Previous Next

Package: guile;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Tue, 24 Mar 2020 08:22:02 UTC

Severity: normal

To reply to this bug, email your comments to 40206 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#40206; Package guile. (Tue, 24 Mar 2020 08:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun Isaac <arunisaac <at> systemreboot.net>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Tue, 24 Mar 2020 08:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: bug-guile <at> gnu.org
Subject: guile should delete unix listen socket when quit
Date: Tue, 24 Mar 2020 13:50:37 +0530
[Message part 1 (text/plain, inline)]
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---
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 34 days ago.

Previous Next


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