From unknown Sat Jun 14 14:27:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40206: guile should delete unix listen socket when quit 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-GNU-PR-Keywords: To: 40206@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158503807031135 (code B ref -1); Tue, 24 Mar 2020 08:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Mar 2020 08:21:10 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,URIBL_BLOCKED autolearn=disabled version=3.3.2 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 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=; 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 From: Arun Isaac 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" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 139.59.75.54 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= 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----- --=-=-=--