GNU bug report logs - #65005
server hangs forever if not properly initialized

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Brent B. Powers" <brent.b.powers@HIDDEN>; Keywords: moreinfo; dated Wed, 2 Aug 2023 02:28:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 65005 <at> debbugs.gnu.org:


Received: (at 65005) by debbugs.gnu.org; 2 Aug 2023 11:25:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 02 07:25:38 2023
Received: from localhost ([127.0.0.1]:48944 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qR9z0-00081p-Bq
	for submit <at> debbugs.gnu.org; Wed, 02 Aug 2023 07:25:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57740)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qR9yy-00081Y-1r
 for 65005 <at> debbugs.gnu.org; Wed, 02 Aug 2023 07:25:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qR9ys-0005l2-Gx; Wed, 02 Aug 2023 07:25:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=MERIfWPcGUxMesiYRt5VEqJlq5Nk1TUlgpfaRB4VwkA=; b=ZJIPMgsMJGKZ
 W9yDcGCoA9GqkpNsuC4XBRuQicSqNCZ+B2wdFPm+0o/LnAhx38C+8RZzikUCSm1DR8dGdiWWDcXMC
 isYBimvDBUknjt7keVsGcUgvtyffvrg7iXsuyLxs1JSJTDSSVdfUxpYGFyqt8bZH2svH8uVsE+1ri
 inWam/CUex/ab/x/HFjv4axY6XgQt04fnivCG8vdmyRrD6yrm8GlpCkb8/TRi4z2+Lf26iRmWd1BX
 epmvCk2M/3swvg4lSUor0v/dgkRp1efnczwEKC2gYt21HZfj5NhhvN8icCC3iGeYzjv98OoLtq8Bs
 iRxMd+9X2DigLyvO588XTQ==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qR9yq-0006ei-HG; Wed, 02 Aug 2023 07:25:30 -0400
Date: Wed, 02 Aug 2023 14:25:34 +0300
Message-Id: <8335111ya9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: "Brent B. Powers" <brent.b.powers@HIDDEN>
In-Reply-To: <CAH8GNGhkGZbQnjOLYVi1KwyJmSTo_sYR0vL9deXyMrezJA3sMw@HIDDEN>
 (brent.b.powers@HIDDEN)
Subject: Re: bug#65005: server hangs forever if not properly initialized
References: <CAH8GNGhkGZbQnjOLYVi1KwyJmSTo_sYR0vL9deXyMrezJA3sMw@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 65005
Cc: 65005 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: "Brent B. Powers" <brent.b.powers@HIDDEN>
> Date: Tue, 1 Aug 2023 18:24:35 -0500
> 
> server-start fails to start, with the message:
> 
> apply: Cannot bind server socket: No such file or directory
> 
> To reproduce:
> 
> 1. Kill any existing emacs-server
> 2. Rename or delete $XDG_RUNTIME_DIR/emacs
> 3. Execute server-start
> 
> The problem is that the directory specified in XDG_RUNTIME_DIR existed, but with no emacs
> subdirectory. I do believe that emacs ought simply create the directory

It already does, so I cannot reproduce the problem you see.

In which version of Emacs did you see this?  Your report doesn't
include the details of your build.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#65005; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Aug 2023 02:27:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 01 22:27:51 2023
Received: from localhost ([127.0.0.1]:48528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qR1aY-0001uU-U2
	for submit <at> debbugs.gnu.org; Tue, 01 Aug 2023 22:27:51 -0400
Received: from lists.gnu.org ([2001:470:142::17]:49698)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brent.b.powers@HIDDEN>) id 1qQyjX-0005kA-IP
 for submit <at> debbugs.gnu.org; Tue, 01 Aug 2023 19:24:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <brent.b.powers@HIDDEN>)
 id 1qQyjS-0000mh-7e
 for bug-gnu-emacs@HIDDEN; Tue, 01 Aug 2023 19:24:50 -0400
Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <brent.b.powers@HIDDEN>)
 id 1qQyjQ-0006TO-QA
 for bug-gnu-emacs@HIDDEN; Tue, 01 Aug 2023 19:24:49 -0400
Received: by mail-lj1-x232.google.com with SMTP id
 38308e7fff4ca-2b9cdba1228so79598681fa.2
 for <bug-gnu-emacs@HIDDEN>; Tue, 01 Aug 2023 16:24:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1690932286; x=1691537086;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Co1+J4vAngzeEy6EmXvOJT9sWVhx2lqRq0nUE3x5NS8=;
 b=Fv2UsSBuzQAeu8UItSp+8os0AiFepV9uuvUeKGBc2PWwt5ZBRzdWkUwFHqymDuxWgQ
 yk8RHcrqBk6tecDx+Qr5RSrDr97KL6vKcCRqZ4jvCiHs/rmVjWma9IBE9bmvhQ6HXsEL
 wwR26NJTgUc2OOJxsuWdB6xyNxxoqIBJHbHoia/Pn7wcwN7jhMmMHPAFwQPF4VgGdLVx
 nxOhYfdy0ZuV5sd7UI9e6d2jcwWROatnTilNZqK0tvG2FShIwhw0LfZs6bqG14LSjqda
 +ivZwzHyRpIIiDCb+Sx6GG2HdYYRYaZ/ngYpZlKx989bKruPp8VrB2Dq9dPYJgrO+wim
 lVEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1690932286; x=1691537086;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Co1+J4vAngzeEy6EmXvOJT9sWVhx2lqRq0nUE3x5NS8=;
 b=SuCl8bddirGeEiVIC0paAgHmgALEfqqy5FUBbP5rd/ByzNYpmWrvhlvliPJTWlVD+U
 8s3AzcOY7x0ahQ1lFUQjVHIzVz9CRVNCm8ujJetjOSi9UhRtGuQuT4juJ2ITA2wpCo6c
 5uiexHsUrtXJPIHZAgjWEdYx3O0YCE9fmdF8rqzZBKkvOwWstzzfzUa7/Y0UkjEA6WXJ
 XN5ww1TmAYJer1/NK4F8wfW/zqrnvzFkt9SZoFQDcR1pEpxHabjQLbfiKhSa67ounfQp
 Ok2LaHw8/jd3k3tq9UU8fzskJJ9NTgStxylWcNaPiPocplEmtiGCmQmt68LFAPVICd7O
 UQfw==
X-Gm-Message-State: ABy/qLazYZqp1pJOZJnYVDbN7pNDILv//O5GYHnvVDhTG7RTPeTf5/N4
 a2g+1GDJ+giepooxzg0BQu8BirX0kFXIul+B16r9HKHbQRg=
X-Google-Smtp-Source: APBJJlESrWsuHyZOe9VTsH5nHOzUDflZOCaz8mkYsrU1v0LRGU/PnntpsdxyY3/clGwDsx+9NRlspxCUcfb8fQtdrF4=
X-Received: by 2002:a2e:805a:0:b0:2b6:e2aa:8fbc with SMTP id
 p26-20020a2e805a000000b002b6e2aa8fbcmr3099954ljg.8.1690932286165; Tue, 01 Aug
 2023 16:24:46 -0700 (PDT)
MIME-Version: 1.0
From: "Brent B. Powers" <brent.b.powers@HIDDEN>
Date: Tue, 1 Aug 2023 18:24:35 -0500
Message-ID: <CAH8GNGhkGZbQnjOLYVi1KwyJmSTo_sYR0vL9deXyMrezJA3sMw@HIDDEN>
Subject: server hangs forever if not properly initialized
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000004199510601e4daf1"
Received-SPF: pass client-ip=2a00:1450:4864:20::232;
 envelope-from=brent.b.powers@HIDDEN; helo=mail-lj1-x232.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 01 Aug 2023 22:27:49 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--0000000000004199510601e4daf1
Content-Type: text/plain; charset="UTF-8"

server-start fails to start, with the message:

apply: Cannot bind server socket: No such file or directory

To reproduce:

1. Kill any existing emacs-server
2. Rename or delete $XDG_RUNTIME_DIR/emacs
3. Execute server-start


The problem is that the directory specified in XDG_RUNTIME_DIR existed, but
with no emacs subdirectory. I do believe that emacs ought simply create the
directory

--0000000000004199510601e4daf1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">server-start fails to start, with the message:<div><br></d=
iv><div><div>apply: Cannot bind server socket: No such file or directory<br=
></div></div><div><br></div><div>To reproduce:</div><div><br></div><div>1. =
Kill any existing emacs-server</div><div>2. Rename or delete $XDG_RUNTIME_D=
IR/emacs</div><div>3. Execute server-start</div><div><br></div><div><br></d=
iv><div>The problem is that the directory specified in XDG_RUNTIME_DIR exis=
ted, but with no emacs subdirectory. I do believe that emacs ought simply c=
reate the directory</div><div><br></div><div><br></div></div>

--0000000000004199510601e4daf1--




Acknowledgement sent to "Brent B. Powers" <brent.b.powers@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#65005; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 2 Sep 2023 21:30:02 UTC

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