From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arun Isaac Newsgroups: gmane.lisp.guile.bugs Subject: bug#40206: guile should delete unix listen socket when quit Date: Tue, 24 Mar 2020 13:50:37 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94981"; mail-complaints-to="usenet@ciao.gmane.io" To: 40206@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Mar 24 09:22:10 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGep7-000OaB-LW for guile-bugs@m.gmane-mx.org; Tue, 24 Mar 2020 09:22:09 +0100 Original-Received: from localhost ([::1]:44260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGep6-0004jx-LD for guile-bugs@m.gmane-mx.org; Tue, 24 Mar 2020 04:22:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35828) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGep1-0004jc-Eh for bug-guile@gnu.org; Tue, 24 Mar 2020 04:22:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGep0-00046I-Dj for bug-guile@gnu.org; Tue, 24 Mar 2020 04:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGep0-00046B-BF for bug-guile@gnu.org; Tue, 24 Mar 2020 04:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGep0-00087V-5o for bug-guile@gnu.org; Tue, 24 Mar 2020 04:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 24 Mar 2020 08:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40206 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158503807031135 (code B ref -1); Tue, 24 Mar 2020 08:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Mar 2020 08:21:10 +0000 Original-Received: from localhost ([127.0.0.1]:53835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGeo9-000866-SE for submit@debbugs.gnu.org; Tue, 24 Mar 2020 04:21:10 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGeo5-00085x-Q6 for submit@debbugs.gnu.org; Tue, 24 Mar 2020 04:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35774) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGeo4-00043X-0C for bug-guile@gnu.org; Tue, 24 Mar 2020 04:21:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGeo2-0003oW-5Z for bug-guile@gnu.org; Tue, 24 Mar 2020 04:21:03 -0400 Original-Received: from mugam.systemreboot.net ([139.59.75.54]:57472) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jGeo0-0003n7-WA for bug-guile@gnu.org; Tue, 24 Mar 2020 04:21:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Lz4cWSJXApoYFt7xRaAtArMDVWBcM2hf6VP2ZcMwhQc=; b=Vw4S/DAHctdKkHF2dZu9X7H39q 2k6Eo72NhL/rqeVJEfOvHEe0RQj97cWGkTv6Q2RuTLuR1lkDh19kJKZXTkjmAbrE0PSJGeE/VyRPl 5hKJ2Psw2OoAhIswg0KZEAZf11MmUi8mlUZNxSy5SCRoXcm3bI3l16sdULp8kUhqnaiI=; Original-Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jGenv-003rlc-9s for bug-guile@gnu.org; Tue, 24 Mar 2020 13:50:55 +0530 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org 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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9690 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Suppose I start guile to listen on a unix socket /tmp/guile like so: $ guile --listen=3D/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. =2D-8<---------------cut here---------------start------------->8--- Backtrace: 5 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 4 (call-with-prompt ("prompt") # =E2=80=A6) In ice-9/eval.scm: 619:8 3 (_ #(#(#))) 155:9 2 (_ #(#(#))) In system/repl/server.scm: 86:4 1 (make-unix-domain-server-socket #:path _) In unknown file: 0 (bind # 1 "/tmp/guile") ERROR: In procedure bind: In procedure bind: Address already in use =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl55wtUACgkQLiXui2GA K7NUcgf9GOAFj3SUtNBB3YD4gN0ZboqhQcJQhC0zZ8KvkNBO55VSinXMrGCDbyrN Z+SVaE7fFSzW+DBdL4S5bmvsAiyXezWBfCLzYsNKFZmB07AaaSzAY76Bk/HWdBUB 1UHCqZCXLBJZCLoFlJkPzDJEgsCYtiIY0nPNSdf3/q14WtH7ChQJBygxbIH6N85n ivKPlbtcutur70yYmM3/utXoZNroDs4M5gw/pHDFx8FpO9HfPt2YGotFsxoUdVxX /WnvXqGihAB4b3XqpNvqyFDOUol57yHPTrZM/Rk7QF+YfweHrFnKFvSqjawG7fnm 75xQLwCZJ8BmC0JpbYvS9ZfhYardYw== =LRq3 -----END PGP SIGNATURE----- --=-=-=--