X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Thu, 20 Nov 2025 03:07:01 +0000
Resent-Message-ID: <handler.79866.B.176360799518746 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: 79866 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.176360799518746
(code B ref -1); Thu, 20 Nov 2025 03:07:01 +0000
Received: (at submit) by debbugs.gnu.org; 20 Nov 2025 03:06:35 +0000
Received: from localhost ([127.0.0.1]:43146 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vLv0E-0004sF-8k
for submit <at> debbugs.gnu.org; Wed, 19 Nov 2025 22:06:35 -0500
Received: from lists.gnu.org ([2001:470:142::17]:57092)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <rahuljuliato@HIDDEN>)
id 1vLv0B-0004ru-I9
for submit <at> debbugs.gnu.org; Wed, 19 Nov 2025 22:06:32 -0500
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 <rahuljuliato@HIDDEN>)
id 1vLv06-0006sL-80
for bug-gnu-emacs@HIDDEN; Wed, 19 Nov 2025 22:06:26 -0500
Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <rahuljuliato@HIDDEN>)
id 1vLv04-00084M-3u
for bug-gnu-emacs@HIDDEN; Wed, 19 Nov 2025 22:06:26 -0500
Received: by mail-ed1-x52c.google.com with SMTP id
4fb4d7f45d1cf-64165cd689eso2361115a12.0
for <bug-gnu-emacs@HIDDEN>; Wed, 19 Nov 2025 19:06:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763607979; x=1764212779; darn=gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=l6z+0ehyLmsz+V4ePnoTpAnv+r481Yg4aJnR4Cf9f8c=;
b=asGY7KwNlnX80w+pFkE8pdf9FjWdSjJx8UR5wcXjfxX9DwONkHsZ/H7+TTgjSWU06h
QcYUSH9387ZSEMPnz/5/otv6GTRmcsu6Chcknh5qt/CjNl/4g3dlyBf+rnRJF6a25hBy
RBeu2tJmkPSmUJuIfGUT46YFHY/0aH+AbrOyUsOqbksguFP2OhlbhNSyNcZPHc8cUJh0
gKdKsI08SrtmY6FNc0CwL9uRDxs+s1Lcigh4h5FMqtuaChJ4Ysy544fwLe2AKsTrrHl2
dTgas/rulR8cDl0uocDRK5oxg/osG5PM5PXxC3k0JXeXfGurgeILt67Y1o0iDkXOUA2o
q2cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763607979; x=1764212779;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=l6z+0ehyLmsz+V4ePnoTpAnv+r481Yg4aJnR4Cf9f8c=;
b=wFTlojqRTjbOkkrRLCEMG9XQE1d8qTL8+QTv6+kYmlShPa2t5M5xm7X6u+4ICoBh75
bbeVaN3Z6K6+G9QP+uQqZoWRGgS2aqJ5+OyKD865YPQrZR3DaAphSnMq2S4xnQBN2vAM
dhhzjI2d4MZuxzUYTSZEz3l9J+ITpR+OFI0Cf7Dp38jgA3TQwZSJXE3+O7NdGDSLwJyo
HHvLw1YfdYpq2n9IAaJz1gBLT2XDa9JO/IwmmhQCfqzD0s17EvfWB8wqmuRgjR6kev6W
WT6oqfoLP8Ts6Fz0mAjPkwt5+gQpQJXaIy3k0F6fdD7o8qc6jKXz+WKGRZE5mUN1gOKz
xVwA==
X-Gm-Message-State: AOJu0YxwWli3snfYXv0XosgZ+sB9q7kQTeRD0iC9PSn4RlHaABSqngTT
B1BSd93hF5RO5qIh8xUpIO85W8KZTXl1NcdWiieCN2SFBVqJMb110sDty8x3FEVSEZ4=
X-Gm-Gg: ASbGncvMiFblUVn797uPd+jby4+TTWtZ0eWNaKO3OWf5lrk9BWVIzVM2kfpeYAhVgxw
ROqvhZi+MYWfc6bnPO92OaV8M3r2/2Aj3Tulcjwn93qdqchuvGHzY6qwee2susTTJULURYBgwAb
79rI/NO23pEO41sNwSYiQZh8hu/aGB1ZEKBAYkoK9DDmKtQ2+5mfMxgMhkQGH+Ql8HkptsBR/dX
hwZHC+WP4VW2LHm5h2pH6jKZoTduhdw303c2LTKnAXpXDauhpes+r248LcGWPalgFk9ZKcb4e+p
IXILn9XH3Ak5GJJSRNhDNuXGqQ3D6xuF971I0g7zV5aWTmh6NnIYfDmbG2EQD/ze6tEn1yYaqKY
7N4LV9BK5apTd7awCcAozLRvmGgr1KLwC7pS1/wft0/dc0uUURjSHcSoOSFlC+gqqt6Ee6fh58u
893WhJ/mhHiAOjRnp8FiDHkHhbcPPCGQq98cnBIJy0oAJgjgT30NAYI1uAEHMZsS/cJt/KuCkvM
P7fWLK+dg==
X-Google-Smtp-Source: AGHT+IFEQvZRLWFZYudVbSZ5oGlPf4RlPhvsI+ru33tyai8QMTuVnvgYA8MzSLxjX1tu3T5urSeNkg==
X-Received: by 2002:a17:907:3ea8:b0:b72:5629:1789 with SMTP id
a640c23a62f3a-b7657198193mr92944466b.13.1763607978781;
Wed, 19 Nov 2025 19:06:18 -0800 (PST)
Received: from MacBook-Pro.local ([86.104.249.169])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-b765502840csm92523066b.59.2025.11.19.19.06.16
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 19 Nov 2025 19:06:18 -0800 (PST)
From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
X-Google-Original-From: Rahul Martim Juliato <rahul.juliato@HIDDEN>
Date: Thu, 20 Nov 2025 00:06:13 -0300
Message-ID: <m2jyzl9zdm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::52c;
envelope-from=rahuljuliato@HIDDEN; helo=mail-ed1-x52c.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,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
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 (/)
Environment:
* GNU Emacs: 31.0.50
Development version 20fd47e74134 on master branch; build date 2025-11-20.
* OS: macOS
* Launch methods tested: Terminal (GUI and non-GUI)
* Gnus: default setup (no configuration)
---
Steps to Reproduce =E2=80=93 Working Case (Terminal, no GUI):
1. Start Emacs in terminal without loading your init file:
```
emacs -Q -nw --eval=3D"(gnus)"
```
2. Gnus will complain about missing configuration. Choose **continue (y)**.
3. If prompted about an auto-save file, answer **no (n)**.
4. You are now in the `*Group*` buffer.
5. Press `B` to switch backend, complete with `nntp` =E2=86=92 **RET**.
6. Fill in the server address: `news.gwene.org` =E2=86=92 **RET**.
7. Gnus echoes that it is opening and reading incrementally. You
should now see a new buffer: `Gnus: *Gnus Browse Server*`.
Expected Result:
Gnus connects and displays the `*Gnus Browse Server*` buffer correctly.
---
Steps to Reproduce =E2=80=93 Failing Case (GUI mode):
1. Start Emacs in GUI mode without loading your init file:
```
emacs -Q --eval=3D"(gnus)"
```
2. Repeat steps 2=E2=80=935 from the working case.
3. At step 5, after hitting **RET**, Gnus hangs on:
```
Reading active file
```
Observed Result:
* Gnus does not proceed past `Reading active file`.
Notes:
* Removing `-nw` (i.e., launching GUI) triggers the hang.
* No Gnus configuration is loaded; this happens on a clean environment.
In GNU Emacs 31.0.50 (build 5, aarch64-apple-darwin25.1.0, NS
appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-11-19 built on
MacBook-Pro.local
Repository revision: 20fd47e741342e160d774ae6afee7182bba0de65
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2685
System Description: macOS 26.1
Configured using:
'configure --with-mailutils --with-imagemagick --with-ns'
Configured features:
ACL GNUTLS IMAGEMAGICK LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP ZLIB
Important settings:
value of $LANG: pt_BR.UTF-8
locale-coding-system: utf-8-unix
Major mode: Markdown
Minor modes in effect:
display-line-numbers-mode: t
completion-preview-mode: t
icomplete-vertical-mode: t
icomplete-mode: t
electric-pair-mode: t
which-key-mode: t
minibuffer-electric-default-mode: t
minibuffer-depth-indicate-mode: t
xterm-mouse-mode: t
winner-mode: t
save-place-mode: t
savehist-mode: t
repeat-mode: t
recentf-mode: t
global-auto-revert-mode: t
tty-tip-mode: t
pixel-scroll-precision-mode: t
global-goto-address-mode: t
goto-address-mode: t
delete-selection-mode: t
override-global-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
vc-auto-revert-mode: t
mouse-wheel-mode: t
tab-bar-history-mode: t
tab-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
column-number-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug gnus-msg two-column help-fns radix-tree
whitespace face-remap ispell toml-ts-mode yaml-ts-mode html-ts-mode
sgml-mode facemenu markdown-ts-mode oc-basic org-element org-persist
org-id org-refile org-element-ast inline avl-tree generator ol-eww eww
vtable url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822
mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win ol-docview
doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex
ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie executable ob-comint
org-pcomplete org-list org-footnote org-faces org-entities noutline
outline org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar
cal-loaddefs org-compat org-macs cursor-sensor help-at-pt
display-line-numbers completion-preview eglot external-completion
jsonrpc xref diff diff-mode track-changes ert ewoc debug backtrace
find-func imenu checkdoc lisp-mnt flymake warnings private tramp-sh
epa-file epa epg rfc6068 epg-config .gnus icomplete elec-pair which-key
init tramp-cache time-stamp tramp trampver tramp-integration
tramp-message tramp-compat shell pcomplete tramp-loaddefs project
transient format-spec ibuf-macs finder-inf rx modus-themes derived pcase
speedbar ezimage dframe minibuf-eldef mb-depth gnus nnheader gnus-util
mail-utils range mm-util mail-prsvr log-edit pcvs-util add-log vc
vc-dispatcher rcirc parse-time iso8601 time-date disp-table files-x time
xt-mouse winner saveplace savehist repeat recentf tree-widget autorevert
filenotify tty-tip grep compile text-property-search comint ansi-osc
ansi-color treesit pixel-scroll cua-base ring goto-addr thingatpt delsel
edmacro kmacro cl-extra help-mode use-package-bind-key bind-key
easy-mmode use-package-ensure use-package-core
exec-path-from-shell-autoloads package browse-url xdg url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars early-init cus-edit pp
cus-start cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads kqueue cocoa ns lcms2 multi-tty make-network-process
tty-child-frames emacs)
Memory information:
((conses 16 458950 1357033) (symbols 48 52382 16)
(strings 32 132319 45311) (string-bytes 1 3330616) (vectors 16 64491)
(vector-slots 8 1033729 950522) (floats 8 453 10229)
(intervals 56 6020 6692) (buffers 1064 15))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Rahul Martim Juliato <rahuljuliato@HIDDEN> Subject: bug#79866: Acknowledgement (31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode) Message-ID: <handler.79866.B.176360799518746.ack <at> debbugs.gnu.org> References: <m2jyzl9zdm.fsf@HIDDEN> X-Gnu-PR-Message: ack 79866 X-Gnu-PR-Package: emacs,gnus Reply-To: 79866 <at> debbugs.gnu.org Date: Thu, 20 Nov 2025 03:07:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN bugs@HIDDEN If you wish to submit further information on this problem, please send it to 79866 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 79866: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79866 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Thu, 20 Nov 2025 06:37:02 +0000
Resent-Message-ID: <handler.79866.B79866.17636206036526 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Cc: 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.17636206036526
(code B ref 79866); Thu, 20 Nov 2025 06:37:02 +0000
Received: (at 79866) by debbugs.gnu.org; 20 Nov 2025 06:36:43 +0000
Received: from localhost ([127.0.0.1]:44622 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vLyHa-0001hB-Ol
for submit <at> debbugs.gnu.org; Thu, 20 Nov 2025 01:36:43 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:56298)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vLyHY-0001gx-F9
for 79866 <at> debbugs.gnu.org; Thu, 20 Nov 2025 01:36:41 -0500
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 1vLyHO-0003PU-Gi; Thu, 20 Nov 2025 01:36:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=fR7W/Z9tddZnycU0a2zw80YET60gcU/8NiyCRnBEuKU=; b=dH5WMLhnZIhEEg13RJ45
pktFGEM4HW+w7H3FeRL+xX71hkFpKL6j/nO8LnBfXzR4E+Q3l6Ncif1YR8XaatK3uSJ8B0bPP4dGM
esxRoHZwtMWjl6VDYF3dbdf59dYQ86t+KKWPKIcjEa9XfyczZ7u0gowlbCTuBFmEZcn44kLB1P9Lc
KNibQnABzmG63a6Los3gVxuJ1QLLQp0K0rUcBP6cAoTTzIa3oYK4z9a/PB8tY4GE1RD+/fP/mVrwl
ejBN50/qOWAJ0b0wtwhHkw/AZfkuYGYMzBBa8otHajpHO0TxF9hSqmz+Dp6JHqia91ioImlewEQk+
D+QhIjlpLEFXFA==;
Date: Thu, 20 Nov 2025 08:36:23 +0200
Message-Id: <86ikf5i520.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <m2jyzl9zdm.fsf@HIDDEN> (message from Rahul Martim Juliato on
Thu, 20 Nov 2025 00:06:13 -0300)
References: <m2jyzl9zdm.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
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: Rahul Martim Juliato <rahuljuliato@HIDDEN>
> Date: Thu, 20 Nov 2025 00:06:13 -0300
>
>
> Environment:
>
> * GNU Emacs: 31.0.50
> Development version 20fd47e74134 on master branch; build date 2025-11-20.
>
> * OS: macOS
>
> * Launch methods tested: Terminal (GUI and non-GUI)
>
> * Gnus: default setup (no configuration)
>
> ---
>
> Steps to Reproduce – Working Case (Terminal, no GUI):
>
> 1. Start Emacs in terminal without loading your init file:
>
> ```
> emacs -Q -nw --eval="(gnus)"
> ```
>
> 2. Gnus will complain about missing configuration. Choose **continue (y)**.
>
> 3. If prompted about an auto-save file, answer **no (n)**.
>
> 4. You are now in the `*Group*` buffer.
>
> 5. Press `B` to switch backend, complete with `nntp` → **RET**.
>
> 6. Fill in the server address: `news.gwene.org` → **RET**.
>
> 7. Gnus echoes that it is opening and reading incrementally. You
> should now see a new buffer: `Gnus: *Gnus Browse Server*`.
>
>
> Expected Result:
>
> Gnus connects and displays the `*Gnus Browse Server*` buffer correctly.
>
> ---
>
> Steps to Reproduce – Failing Case (GUI mode):
>
> 1. Start Emacs in GUI mode without loading your init file:
>
> ```
> emacs -Q --eval="(gnus)"
> ```
> 2. Repeat steps 2–5 from the working case.
>
> 3. At step 5, after hitting **RET**, Gnus hangs on:
>
> ```
> Reading active file
> ```
>
> Observed Result:
>
> * Gnus does not proceed past `Reading active file`.
I cannot reproduce this, but I'm not on macOS. Here, the GUI session
that follows the above steps does not hang, but successfully finishes
the reading step.
Could someone who builds Emacs on macOS try reproducing this? When
Emacs hangs, it is a good idea to attach a debugger to it and show the
backtrace, so that we at least could know what is Emacs doing.
Thanks.
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Thu, 20 Nov 2025 15:24:01 +0000
Resent-Message-ID: <handler.79866.B79866.176365223122434 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Rahul Martim Juliato <rahuljuliato@HIDDEN>, 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.176365223122434
(code B ref 79866); Thu, 20 Nov 2025 15:24:01 +0000
Received: (at 79866) by debbugs.gnu.org; 20 Nov 2025 15:23:51 +0000
Received: from localhost ([127.0.0.1]:48794 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vM6Vi-0005pm-KW
for submit <at> debbugs.gnu.org; Thu, 20 Nov 2025 10:23:50 -0500
Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:58862)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1vM6Vg-0005pE-Ff
for 79866 <at> debbugs.gnu.org; Thu, 20 Nov 2025 10:23:49 -0500
Received: by mail-wm1-x331.google.com with SMTP id
5b1f17b1804b1-477b1cc8fb4so6831865e9.1
for <79866 <at> debbugs.gnu.org>; Thu, 20 Nov 2025 07:23:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763652222; x=1764257022; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:references
:in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
:reply-to; bh=nijqqMO3gZbuBVpwIfoWmIeW7m4xVohxdqpHWlmh27E=;
b=IEXJ7YnSHl7V0yjjE+HV7wMZatZOms6Gw2Yqkn+3G+aehWxY2B2yKH2EvxuRIZwpBn
D9SZoZXgCqpRzsBXDrRXVLgTa5XHGSUjpa7LxhoM+mYC2SSySpuYZGTAWmgbr6ljU6Xq
4TWGauV15VB+painfDMkZ6QCq+tfUiFX327sY0zIL2C7+uFSjZ0gEUIDtitLHkSrHj6y
iXU1sXl/hWadOjmnHU8Vg3ooLpR/O88cVRMvMCb9gUyxV2A5HbqvloRbJgRLVdxZhn8G
OTybHc0sdDaXXHLGjpFhEWbZKZIUCjl6ohygVMzzcdRk96oaWCUSKW/qii4C5UmhpRwQ
Dvlw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763652222; x=1764257022;
h=content-transfer-encoding:mime-version:message-id:date:references
:in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=nijqqMO3gZbuBVpwIfoWmIeW7m4xVohxdqpHWlmh27E=;
b=iMC9ruYLoxrxlcVzK681fXnexObnuYUvVAULmRg8V8vVldsOT3AInIV9x45XrsuJVn
a7O2kZ+HhqtnbeZwmfqi6nHs/yHvTQmljTYI1cjlbQO6N4A4GysPyObf0a7HlCZVFxsO
uvB923VwU6nyH6pH24Iu6qQG0Iv5q3gvWsSlMhU6kpIE+7PUDpKIdOazdbiaCkf75b+s
xUTi0BAcyBXNNz0dutv3TXW+brXuA7idw6SkeVpR2TX9b+cl3bMEW2fGn64yzBVlSWQn
bQgVjMSfY7wsWSvyzffitm1xf4jKOiARCQfy8isVb+MZHfUER+wE/x5b2a8QbhFy4VPL
ZRyQ==
X-Forwarded-Encrypted: i=1;
AJvYcCVh/Odi3+CDtA/JFzBvvEFKIHo/Q+INdCbe6OKs08mZCqORvvMca9mc3aU4JuWlhXSfynaCyg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyrrtuU+NAfbOtoziPY9eM+/pbeQqI4D0tiNLsQiu56etUu9YFI
lh50RWj2HVybxkSLI66Pc6G5OGVPo4isjtS2jKP3egLyaxskuk4UffysXJ+dhIcc
X-Gm-Gg: ASbGncukEQmsm4102GkBtd1c7DBYakSw2ppSwSWd60qllPfwGtgcxfA/Tz7aMti4iZ+
Joc7FXil5vqZtR6GgivlvM/cf+pC4RVPLoiuZt/pZvbh6o7Iid++6tvsxHAZoQBQMk0mIkFFH+f
WO/SHZon7lpkJfPp/3VVdDf+ES07k9/U0AuewaCihtJKwBaLaOoINXbre5gYnRBDFw6lIPbaetf
+wO/xDEjS7PLC1Ep8LH9KXAf6gEQ87PvWIkYhDWL7GAId9yhSEoVrsBFdET2x1NO+8Wv5SryBoc
1hCWSDE+mnBp/DYQVL/f3Rn6vIzRwT+ExGjfSBbA5KnacP1uD4khrjHhA4nGj9tTR8YqSumBn5y
Rtbl5Pt39g0Q04uzd98edQklFv6cZJGw8OeThKZHheERLR0KUGpFzlKfYf5X0gGb7kxJqbzBS
X-Google-Smtp-Source: AGHT+IGw1ndCDWKVy0NBJRHPDRGkSQJJtdvwA2affRyZxSiHTDvEWLkm3Fh6qp0IrKbfcd9h9nkseg==
X-Received: by 2002:a05:600c:4e8e:b0:477:7ab8:aba with SMTP id
5b1f17b1804b1-477b8579d24mr31299615e9.1.1763652221784;
Thu, 20 Nov 2025 07:23:41 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:bb43:df9:9151:8d71])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-477afb54774sm50284865e9.3.2025.11.20.07.23.41
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 20 Nov 2025 07:23:41 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <86ikf5i520.fsf@HIDDEN>
References: <m2jyzl9zdm.fsf@HIDDEN> <86ikf5i520.fsf@HIDDEN>
Date: Thu, 20 Nov 2025 16:23:40 +0100
Message-ID: <87qztsvibn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
>>>>> On Thu, 20 Nov 2025 08:36:23 +0200, Eli Zaretskii <eliz@HIDDEN> said:
Eli> I cannot reproduce this, but I'm not on macOS. Here, the GUI sess=
ion
Eli> that follows the above steps does not hang, but successfully finis=
hes
Eli> the reading step.
Eli> Could someone who builds Emacs on macOS try reproducing this? When
Eli> Emacs hangs, it is a good idea to attach a debugger to it and show=
the
Eli> backtrace, so that we at least could know what is Emacs doing.
I can=CA=BCt reproduce this on macOS. There was a change in macOS a few
versions ago so that executables had to be 'blessed' to be allowed to
access the local network, but as far as I know that didn=CA=BCt affect
off-subnet connections.
It=CA=BCs possible Apple have done something similar in macOS 26 for
non-local access (I=CA=BCm still on 15.7)
Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
Robert
--=20
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Thu, 20 Nov 2025 16:37:02 +0000
Resent-Message-ID: <handler.79866.B79866.17636565668345 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Robert Pluim <rpluim@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Rahul Martim Juliato <rahuljuliato@HIDDEN>, 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.17636565668345
(code B ref 79866); Thu, 20 Nov 2025 16:37:02 +0000
Received: (at 79866) by debbugs.gnu.org; 20 Nov 2025 16:36:06 +0000
Received: from localhost ([127.0.0.1]:49287 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vM7dd-0002AU-RN
for submit <at> debbugs.gnu.org; Thu, 20 Nov 2025 11:36:06 -0500
Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:48585)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rahuljuliato@HIDDEN>)
id 1vM7db-00029X-4y
for 79866 <at> debbugs.gnu.org; Thu, 20 Nov 2025 11:36:03 -0500
Received: by mail-pf1-x42b.google.com with SMTP id
d2e1a72fcca58-7aab061e7cbso1323022b3a.1
for <79866 <at> debbugs.gnu.org>; Thu, 20 Nov 2025 08:36:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763656557; x=1764261357; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=9k+ItDFqDuV4uexiWTCG9/gt4FGBbPupVRrNpQ2QaKw=;
b=CfZl+1EeVXv6KRxzCBgysbnWexV3TPDxc5C6hHERGXQsJfRjp/1MQ8twUp8/Dlx1dy
vy8BYGVbU+YpV1DVSMcdz6Zrm6kLVpfsoD6vg0jZG7gL0KTKvmdP9oFo/79oxGzBiPnH
Yoc2hO+6SAX9Sr97Chv8uVzw4qZaELUA/aiJjR0km/wWD2M3XDLbyVJDpK/1F3TTVqe+
oWis8R/+a6UbcPc6hlUPUkVZdrmatRxLR9Cn5/iFjcT6sEiRbVrTf/nT+Kche0kvSGdH
sbaVsj3xZtez0aM4PXcIba3WYet4lHukzh5azOY4eEVu50V8AsGt5KZQJNxC35jRITeR
ohGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763656557; x=1764261357;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=9k+ItDFqDuV4uexiWTCG9/gt4FGBbPupVRrNpQ2QaKw=;
b=GKrVlbq2pJOY2WiTJ1iB6PNiEATfKR4scBeZ3J43skRZKoOT4WjzjSE/eFJTMDFTvB
7w1uTsP6F+7mO8tIJ+ngp+Dp05yQTzeM1+bC3+s4rqjc5+VXvAtzn8obLmZO1y4D4LhN
xWaWySR5yp64utvE7o5Z03vIltvB0/oUBMzsp8hP7FLtA0cxvHQ+PtIMZB8kfYxwAGVm
9ZJ0dXFt02dqvZGmGAnme1sN1r1bX61nz/vmxmdtqigCGPuktNE92MxFmb+hcPywHr2H
lkdHJQH975zXrp4YybkJTz6OQsu2iDvM5aZiIdOjygQYzd3/Im2cQ2bwuicNKXc2SYLN
zCug==
X-Forwarded-Encrypted: i=1;
AJvYcCW0fBxXapWItru97wfCCqC+SvioYX9sFs7dNml0VmbsCvmzBQpkzpGTpI3d+ifn9V6JNkCAuQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwyiXXsWLmf6GMWfewyPPbWF9QquXuS6+qhdvOXJjaMkC3EPLfC
3WhDrHHqq8Hr+jy+FQ3BEvdccurNjjtlMddr6DE4+bnZ7FkQJxlDTm99g3kJSWeA3TM/Aw==
X-Gm-Gg: ASbGncsc5GWAt+C59PZmScPSQQ2Pf5H2STRO9bKQd6QuzcqDSESX6Y2nTY58eB7PYrc
StUnmioJutTngGU16ObdeHhVYHngy7g7Uudy1VN7XOzU7/kQd2wJY4FTHOdupxz6Cz9kle4dwvy
hykbjXnDu5CZnW8CO+ra0pbrh6g7RTsfJkcZOAASQyPbdAtGNCmmVIgQwnVNLRj0fO3LyozvHCS
sFbQ9kqunJ9+rt+Yih3CMN8Sr5AlR4ut3u1Jv4Dp+4WlzhvnSVOQhslZtjSVtej4E9gkNYlnow2
NtBc5wNEP0oGPbxxDZPoPdpU2PsfjbzCLd7DCu5JnwOG0bG97/P29VAP0Sgi9B11r8r7oK0ktwZ
Yo/dNAkcyvmP8KHn7SvgbiZ83igzeFi1zpDysXUJPoZ3mWqXwlhcpB7tqKY+6IIQ19Yvlhcrxuq
8fiGXJOCMjt4sYJwtwoz0KpPdN7b8q+rm5XBJltuaLuH+Fj8Vx+JwyH2tM/5mFHPtiugr04xNJn
7vaOWC7
X-Google-Smtp-Source: AGHT+IEoCzWlI4kG3SFSuqQOACW7Hwu/J5EnjCy7VozflIZNGRvdPXhRNLuT+HR3cGmWioOHF7KMKQ==
X-Received: by 2002:a05:7022:249f:b0:119:e56c:18a5 with SMTP id
a92af1059eb24-11c9477fcecmr1078707c88.13.1763656556333;
Thu, 20 Nov 2025 08:35:56 -0800 (PST)
Received: from MacBook-Pro.local ([2804:7f0:9089:1ca6:e9fd:881f:20ec:bc79])
by smtp.gmail.com with ESMTPSA id
a92af1059eb24-11c93e3e945sm12169801c88.6.2025.11.20.08.35.54
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 20 Nov 2025 08:35:55 -0800 (PST)
From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
X-Google-Original-From: Rahul Martim Juliato <rahul.juliato@HIDDEN>
In-Reply-To: <87qztsvibn.fsf@HIDDEN>
References: <m2jyzl9zdm.fsf@HIDDEN> <86ikf5i520.fsf@HIDDEN>
<87qztsvibn.fsf@HIDDEN>
X-PGP-Key: https://www.rahuljuliato.com/rahul_pub_key.asc
Date: Thu, 20 Nov 2025 13:35:52 -0300
Message-ID: <m27bvkvezb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
Robert Pluim <rpluim@HIDDEN> writes:
>>>>>> On Thu, 20 Nov 2025 08:36:23 +0200, Eli Zaretskii <eliz@HIDDEN> sai=
d:
>
> Eli> I cannot reproduce this, but I'm not on macOS. Here, the GUI se=
ssion
> Eli> that follows the above steps does not hang, but successfully fin=
ishes
> Eli> the reading step.
>
> Eli> Could someone who builds Emacs on macOS try reproducing this? W=
hen
> Eli> Emacs hangs, it is a good idea to attach a debugger to it and sh=
ow the
> Eli> backtrace, so that we at least could know what is Emacs doing.
>
> I can=CA=BCt reproduce this on macOS. There was a change in macOS a few
> versions ago so that executables had to be 'blessed' to be allowed to
> access the local network, but as far as I know that didn=CA=BCt affect
> off-subnet connections.
>
> It=CA=BCs possible Apple have done something similar in macOS 26 for
> non-local access (I=CA=BCm still on 15.7)
>
> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
>
> Robert
Thanks for having the time to help me troubleshoot this.
Looks like this is something specific for MacOS. I tested it on my
Debian machine it is working. I'm on macos Tahoe 26.1 (25B78).
Indeed there's trouble first time doing anything within Emacs. You get
asked from macos to give permissions first time like you open a folder
with dired. That said, I gave everything permission, like for files,
folders, network, added it to "Development tools", maybe I missed
something.
In addition (within this troubleshooting) I also issued:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add ~/site-compi=
led/emacs/src/emacs
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp ~/sit=
e-compiled/emacs/src/emacs
xattr -d com.apple.quarantine ~/site-compiled/emacs/src/emacs
Maybe I'm missing some other magic blessing command?
>
> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
>
Yes it does, I do ocasionally get asked to accept certificates
information though.
From this machine and Emacs config I manage my mails with both nnmaildir
and nnimap. Check news with newsticker, use ERC and do a fair amount of
browsing with eww.
For now I'm still investigating what the OS might be
sandboxing/blocking/changing when the app is Graphical.
--=20
Rahul Martim Juliato
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Thu, 20 Nov 2025 16:53:02 +0000
Resent-Message-ID: <handler.79866.B79866.176365753512234 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.176365753512234
(code B ref 79866); Thu, 20 Nov 2025 16:53:02 +0000
Received: (at 79866) by debbugs.gnu.org; 20 Nov 2025 16:52:15 +0000
Received: from localhost ([127.0.0.1]:49360 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vM7tG-0003BG-SQ
for submit <at> debbugs.gnu.org; Thu, 20 Nov 2025 11:52:15 -0500
Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:47551)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1vM7tE-0003Ao-FH
for 79866 <at> debbugs.gnu.org; Thu, 20 Nov 2025 11:52:13 -0500
Received: by mail-wr1-x42f.google.com with SMTP id
ffacd0b85a97d-42b2dc17965so1075412f8f.3
for <79866 <at> debbugs.gnu.org>; Thu, 20 Nov 2025 08:52:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763657526; x=1764262326; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:references
:in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
:reply-to; bh=Io/7mFXeRXMa9uFzAAKgob/qWY6qmMRA/dwTgNDp3QQ=;
b=Ah7zu4/iBgMkYiezXYIMJ9BfyDuwH0T9n6CEd0DIw3i7LvS27e1mWO/34Aq0LNNEvi
3VsXiAG2UzhwoWTuzckYp7dc4O3darsS8ZJW9gs/FInoaDkAeOdN1rwxrCLLbmz60Zg8
8tI9oseW9KRlwfZmHfcsMK34boI6zhF62VHujSyXJpUVsNMB/L78iIez2a9eRO1CQqQu
8UZTndPzqlHkEt67flnJyeIfA2BNfXS3IRA6QWFngahlZRMKWWRADf5C7l0GdX9fBA5Q
TZMp4ATibLfqeqsPdFCdu05dHcEia492OGmFwz7N+BXefD5F4ijLO9x/80a3/aUQzDhe
88gQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763657526; x=1764262326;
h=content-transfer-encoding:mime-version:message-id:date:references
:in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=Io/7mFXeRXMa9uFzAAKgob/qWY6qmMRA/dwTgNDp3QQ=;
b=W2VL/9T/cftTL9PldJG4eNBOntxwOJLsR1YFTU6DF2XT96LdCZZZGJEB3fGQlhxslt
YkvNmySGDev9mSMXzMm59PQGq4MYgOLtj0S8K4wHRO1ILjk1DYz6DrKX/LhAVZxdoY6C
1d+CfFuWt8qA5RHx2WfG9ulhpLPByJUCa2MF7y/ku/qB19uK3blI7JGWKFFNfctKhpNO
kHgTlNlNeup2//llAhCObKidTIc8LmLvN4dlaKeQBtinyKQ7mp+XDQ5N1veiFiv7oLxk
k9f6dmUhM+7slHenuXI7QX5cggFwIvdpYtc65Aaz6oof9x7uPXq1G4ITG6+AA082M6V9
61Hg==
X-Forwarded-Encrypted: i=1;
AJvYcCX4CN9lIs3X+M+f05At3O1dPsJwm/2cXRIKeCazA6i4ps2uLgA+tX09yMuqO8oZRKTnT0X3dg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yx49dkzxAG/3jUM+zJcwXK+pYWECAHGG3BcIKrezjZyr9jRD9jn
IsyAgp802gWOGI/Cg+AlDQkk+LDKws9LSv4psrMYzN4Kra8jVNmfK8oMPjrS4LLq
X-Gm-Gg: ASbGncu5bFylfFwvcCE354Do1FgWs6SIH16UmjAEOnAPxn9Mlq3bRAWQmzQSCrsv/EI
1Dgq+TqTlT/aShrwFsRqyio5RO1IwCZb4riN7iFQwx5aJwbUXvqw04IN/QujVDaY5sEU5pZ7BiA
j6NtOmT74lwFBQM3NxGrfbS2CDO5zABg9XVjWmIrDwgLH3qk4JlF7IUfcWEEx1OJfl3egF30Y9G
G3WQpS1Q7mma+72Mag+TJw9YfR6obDDVpkc8FM0PK0fMa1Y1IrXTTuGDGogRRSuMT4C1v6Owe3x
3GHOnsndd2a05C2JiLHKAPtRyULMU1i+jjpkkQhAUTpwElBFbdNz6XYOxFpWcqxS0hWTM/vDqKr
8QF7Ug1weNddePUrSkcl4vgglE65Qx3GUaNVpK9YpYC0H0c+5v2QxLPQ0ePSYnTnWNRqx1VvGni
5p2NXhrbM=
X-Google-Smtp-Source: AGHT+IFezZNMnmBsl8ZY9XitNJn2DYI0YLzW6I3xlRgAkzckJiYAqwLBghIQ1mXCfRM0iajE5bwUTw==
X-Received: by 2002:a05:6000:26d3:b0:42b:3ccc:91d6 with SMTP id
ffacd0b85a97d-42cbfab7482mr122201f8f.7.1763657525462;
Thu, 20 Nov 2025 08:52:05 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:bb43:df9:9151:8d71])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-42cb7f34ff3sm6957238f8f.16.2025.11.20.08.52.04
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 20 Nov 2025 08:52:05 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <m27bvkvezb.fsf@HIDDEN>
References: <m2jyzl9zdm.fsf@HIDDEN> <86ikf5i520.fsf@HIDDEN>
<87qztsvibn.fsf@HIDDEN> <m27bvkvezb.fsf@HIDDEN>
Date: Thu, 20 Nov 2025 17:52:04 +0100
Message-ID: <87zf8gtznv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
>>>>> On Thu, 20 Nov 2025 13:35:52 -0300, Rahul Martim Juliato <rahuljuliat=
o@HIDDEN> said:
Rahul> Robert Pluim <rpluim@HIDDEN> writes:
>>>>>>> On Thu, 20 Nov 2025 08:36:23 +0200, Eli Zaretskii <eliz@HIDDEN=
> said:
>>=20
Eli> I cannot reproduce this, but I'm not on macOS. Here, the GUI sess=
ion
Eli> that follows the above steps does not hang, but successfully finis=
hes
Eli> the reading step.
>>=20
Eli> Could someone who builds Emacs on macOS try reproducing this? When
Eli> Emacs hangs, it is a good idea to attach a debugger to it and show=
the
Eli> backtrace, so that we at least could know what is Emacs doing.
>>=20
>> I can=CA=BCt reproduce this on macOS. There was a change in macOS a =
few
>> versions ago so that executables had to be 'blessed' to be allowed to
>> access the local network, but as far as I know that didn=CA=BCt affe=
ct
>> off-subnet connections.
>>=20
>> It=CA=BCs possible Apple have done something similar in macOS 26 for
>> non-local access (I=CA=BCm still on 15.7)
>>=20
>> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
>>=20
>> Robert
Rahul> Thanks for having the time to help me troubleshoot this.
Rahul> Looks like this is something specific for MacOS. I tested it on =
my
Rahul> Debian machine it is working. I'm on macos Tahoe 26.1 (25B78).
Rahul> Indeed there's trouble first time doing anything within Emacs. Y=
ou get
Rahul> asked from macos to give permissions first time like you open a =
folder
Rahul> with dired. That said, I gave everything permission, like for fi=
les,
Rahul> folders, network, added it to "Development tools", maybe I missed
Rahul> something.
Rahul> In addition (within this troubleshooting) I also issued:
Rahul> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add ~=
/site-compiled/emacs/src/emacs
Rahul> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblo=
ckapp ~/site-compiled/emacs/src/emacs
Rahul> xattr -d com.apple.quarantine ~/site-compiled/emacs/src/emacs
Rahul> Maybe I'm missing some other magic blessing command?
It looks like you=CA=BCre running in place? Or did you install emacs
somewhere? The reason I ask is that when installed Emacs is installed
as an Emacs.app bundle, which is a different path. Basically the
contents of nextstep/Emacs.app are copied somehere, maybe the "Emacs"
executable there needs blessing as well.
>>=20
>> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
>>=20
When launched as GUI Emacs?
Robert
--=20
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Fri, 21 Nov 2025 03:05:02 +0000
Resent-Message-ID: <handler.79866.B79866.17636942762082 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Robert Pluim <rpluim@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, Rahul Martim Juliato <rahuljuliato@HIDDEN>, 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.17636942762082
(code B ref 79866); Fri, 21 Nov 2025 03:05:02 +0000
Received: (at 79866) by debbugs.gnu.org; 21 Nov 2025 03:04:36 +0000
Received: from localhost ([127.0.0.1]:51823 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vMHRs-0000XW-1D
for submit <at> debbugs.gnu.org; Thu, 20 Nov 2025 22:04:36 -0500
Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:55398)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rahuljuliato@HIDDEN>)
id 1vMHRp-0000X7-7U
for 79866 <at> debbugs.gnu.org; Thu, 20 Nov 2025 22:04:33 -0500
Received: by mail-ej1-x62d.google.com with SMTP id
a640c23a62f3a-b72bf7e703fso254430466b.2
for <79866 <at> debbugs.gnu.org>; Thu, 20 Nov 2025 19:04:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763694265; x=1764299065; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=kymVA4ztGWHkSQxfAUg89yEzS4jewiJhVOMViuJk/0U=;
b=BlfRPPeerb7ZELI2EJxm0SwxQPozc/Wiw81vPJe68Lspy1s6v1fpkVjFTp5JSwW6F+
vAjPyIRnYj28n/G9JeZ9mhITMtt314MMYTRq2S572SpOf/zAcz27fpGK7je+SKjV9TOt
RIRnSFDlN13t5Jj279AULYjluZ989QfuGKxA4dx8sKMDrBaUG3i8zJ24bapxXc/OsRtt
jo6S1M0AOYWQ3SpGfo/VGUDxcrYyYdnthGEsqTOwZ+HDCFrOgqgyk2seVcpvw22qqAuD
tskmT3j4Pdzi6uWe8ON43gQxoDWm7VwgLOHy+kzim+FGaogTCxn2jN+hnBhXcSrnNTw2
+zFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763694265; x=1764299065;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=kymVA4ztGWHkSQxfAUg89yEzS4jewiJhVOMViuJk/0U=;
b=wXhr35TZRUAXqLzDpveC9z8A5sFjJN8SH2fb2fxEdXGnVZ5PlzGXdwTJOP0OTiMIcj
3QZjZTiP0xA13cjqo4lPUXuTItOcX8xRfEIplk0a875/QWHLGypi6SWroOuPXRPIM8v1
SQEEBG9jhoQXqBrV3z5ABS4oTaGjte58BPE1dm/haTLX2slr/YMvcIVdJCBE3XuN1MZi
HDi4iDjflEsC8IyGpAUs5yRzyNxL23RiTa96MHPM3CayxH9CkXxsfuDVZCO0Z4gePS0c
xafTtXziYG1z53C4sq/tEb7E2EhAxVWulV3y6iB31T/n/wLiHeLWwYSVWHTo1bjk0NQt
3Biw==
X-Forwarded-Encrypted: i=1;
AJvYcCXoNEC7HivaHl8pRgdL/5E1WPfoPJlwFIAQhVNUYffQBjqAY9vkcSpnG+Zsin8nMCYXfydOMA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyLbuSu9ge9zZvihlOAgrGQ0Gr4AujodCwqtDnI5YjD4HgaP38X
NVMxzJQrDH3DA92CzQa0La9dSeL1SDtylPTduAbnOz0hBC8sWrNXgi61YUGoNxF3X220Vg==
X-Gm-Gg: ASbGncvNRp7dXxw9yGaEunZO9+QHANXzDPiyCOc5X46RVP5OhiFMD1ZitMnXgM04sS4
15s7C5bJdiThtciagcYNNbVCycfJGqFolvhbTOEARW0TCLewhjFqhHOcN6cbaZI7L8lftN1MQ69
TitMYdiiXkjbtxofQn/SOHJ2dsk069CcwzX2B/auvvYjKiQ4BOpGIwXNBPVMn72KfjhL3lPHcDP
Qjvm+ua+bTOrkPI2HJYDlejm9v5phNC/R66csjuTvFh+QIBLRANVTA8NyjPv17Z7KhjQvdxK25b
TVWXpHqjs3EaorMat7rprJ5UThANCQq2LSV1YpnM82xLo3slSltNfb/dnElDDFU1H6I+/9Qolyg
5oG5n/mb3lsBnCOEK4AJ769Khdm6A20Mao89D87wadvbgRLOX+ulvCku96LZc3KhZpmW8GrJ/Cw
l+n89mPIrJaYZ2FGxZEJSQPu+I32SjQbrliIE6FM2Zu++owxX2l85k5ia2mVWN1Lw7cwYfs+8=
X-Google-Smtp-Source: AGHT+IFXSmAjmYboEZtyHWGhUrNt9FXu9nfrq0g90l8eL34NLKrwo1xK0yDrEoK2XjYRjptNFNrjhg==
X-Received: by 2002:a17:906:1b1a:b0:b73:5e82:520e with SMTP id
a640c23a62f3a-b76717008dbmr41139366b.19.1763694264341;
Thu, 20 Nov 2025 19:04:24 -0800 (PST)
Received: from MacBook-Pro.local ([176.223.172.27])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-b7655050927sm340760666b.71.2025.11.20.19.04.20
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 20 Nov 2025 19:04:23 -0800 (PST)
From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
X-Google-Original-From: Rahul Martim Juliato <rahul.juliato@HIDDEN>
In-Reply-To: <87zf8gtznv.fsf@HIDDEN>
References: <m2jyzl9zdm.fsf@HIDDEN> <86ikf5i520.fsf@HIDDEN>
<87qztsvibn.fsf@HIDDEN> <m27bvkvezb.fsf@HIDDEN>
<87zf8gtznv.fsf@HIDDEN>
X-PGP-Key: https://www.rahuljuliato.com/rahul_pub_key.asc
Date: Fri, 21 Nov 2025 00:04:15 -0300
Message-ID: <m25xb42ij4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
Robert Pluim <rpluim@HIDDEN> writes:
>>>>>> On Thu, 20 Nov 2025 13:35:52 -0300, Rahul Martim Juliato <rahuljulia=
to@HIDDEN> said:
>
> Rahul> Robert Pluim <rpluim@HIDDEN> writes:
> >>>>>>> On Thu, 20 Nov 2025 08:36:23 +0200, Eli Zaretskii <eliz@HIDDEN=
rg> said:
> >>=20
> Eli> I cannot reproduce this, but I'm not on macOS. Here, the GUI se=
ssion
> Eli> that follows the above steps does not hang, but successfully fin=
ishes
> Eli> the reading step.
> >>=20
> Eli> Could someone who builds Emacs on macOS try reproducing this? W=
hen
> Eli> Emacs hangs, it is a good idea to attach a debugger to it and sh=
ow the
> Eli> backtrace, so that we at least could know what is Emacs doing.
> >>=20
> >> I can=CA=BCt reproduce this on macOS. There was a change in macOS =
a few
> >> versions ago so that executables had to be 'blessed' to be allowed=
to
> >> access the local network, but as far as I know that didn=CA=BCt af=
fect
> >> off-subnet connections.
> >>=20
> >> It=CA=BCs possible Apple have done something similar in macOS 26 f=
or
> >> non-local access (I=CA=BCm still on 15.7)
> >>=20
> >> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
> >>=20
> >> Robert
>
> Rahul> Thanks for having the time to help me troubleshoot this.
>
> Rahul> Looks like this is something specific for MacOS. I tested it o=
n my
> Rahul> Debian machine it is working. I'm on macos Tahoe 26.1 (25B78).
>
> Rahul> Indeed there's trouble first time doing anything within Emacs.=
You get
> Rahul> asked from macos to give permissions first time like you open =
a folder
> Rahul> with dired. That said, I gave everything permission, like for =
files,
> Rahul> folders, network, added it to "Development tools", maybe I mis=
sed
> Rahul> something.
>
> Rahul> In addition (within this troubleshooting) I also issued:
>
> Rahul> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add=
~/site-compiled/emacs/src/emacs
> Rahul> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unb=
lockapp ~/site-compiled/emacs/src/emacs
>
> Rahul> xattr -d com.apple.quarantine ~/site-compiled/emacs/src/em=
acs
>
> Rahul> Maybe I'm missing some other magic blessing command?
>
> It looks like you=CA=BCre running in place? Or did you install emacs
> somewhere? The reason I ask is that when installed Emacs is installed
> as an Emacs.app bundle, which is a different path. Basically the
> contents of nextstep/Emacs.app are copied somehere, maybe the "Emacs"
> executable there needs blessing as well.
I usually compile Emacs (meaning a successfull make -j) and alias
~/site-compiled/emacs/src/emacs to emacs on bash. I also use macos
automator to create an entry which will lode my main config or another
one I might be trying by running the same emacs binary with addition of
--init-dir=3D"..config path". This way I may have spotlight (the launcher)
entries for "EmacsSolo" or "EmacsKicks" or other config.
The original problem I was having was first noted on one of those
automation scripts (Emacs Solo), then I regressed to terminal, and
finally isolated to the simple case it happens (the actual bug report).
I can confirm that moving the built+signed ns/Emacs.app to /Applications
gives me the same behavior as the command line call.
What I tried so far with the /Applications/Emacs.app:
1.) Get its id
osascript -e 'id of app "/Applications/Emacs.app"'
=20=20=20
Returns: org.gnu.Emacs
2.) Reset all permissions
tccutil reset All org.gnu.Emacs
3.) Open Emacs with open -n /Applications/Emacs.app
(It should've asked for permissions again it did not).
4.) M-x eww RET www.fsf.org RET
Everything works. Accept certificate.
5.) Made sure firewall is not blocking
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Em=
acs.app
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp
/Applications/Emacs.app
6.) Just in case "removed" the quarentine flag (it wasnt even set)
xattr -d com.apple.quarantine /Applications/Emacs.app
7.) Finally I tried signing my Emacs.app with
codesign --force --deep --sign - /Applications/Emacs.app
8.) After reading this article, I tried to add a new entry to the
Info.plist
Reference:
https://forum.xojo.com/t/sequoia-new-security-entitlement-s/81329
open -a TextEdit /Applications/Emacs.app/Contents/Info.plist
Added to the end:
<key>NSLocalNetworkUsageDescription</key>
<string>This app needs local network access for NNTP, Gnus, and other conne=
ctions.</string>
And signed it again with:
codesign --force --deep --sign - /Applications/Emacs.app
Between each step I tried it again and none of the above steps solved
the problem. Though I did find something interesting.
Emacs is not actually hanging, the connection is working, it is just
VERY SLOW.
With `sudo nettop -m tcp` I tried to reproduce the problem via Emacs TUI
and GUI.
Via TUI I could see "bytes_in" reaching ~2800KiB very fast (~2 or 3
secs).
Via GUI I could see "bytes_in" reaching ~2800KiB very slowly (7
minutes).
So the good news? Gnus is actually working and fetches what it is
supposed to fetch. Bad news? It takes an insane amount of time on GUI.
Maybe MacOS sandbox is throttling the connection on GUI Emacs somehow?
>
> >>=20
> >> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
> >>=20
>
> When launched as GUI Emacs?
>
Yep! I mostly use GUI Emacs and all the network functionality I
described works like a charm. Until I tried the nntp backend, which
seems to trigger some throttling on macos.
>
> Robert
--=20
Rahul Martim Juliato
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Tue, 25 Nov 2025 20:27:14 +0000
Resent-Message-ID: <handler.79866.B79866.17641023756361 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.17641023756361
(code B ref 79866); Tue, 25 Nov 2025 20:27:14 +0000
Received: (at 79866) by debbugs.gnu.org; 25 Nov 2025 20:26:15 +0000
Received: from localhost ([127.0.0.1]:42022 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vNzc5-0001eC-9I
for submit <at> debbugs.gnu.org; Tue, 25 Nov 2025 15:26:15 -0500
Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:61555)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1vNSms-0008Ku-9v
for 79866 <at> debbugs.gnu.org; Mon, 24 Nov 2025 04:23:13 -0500
Received: by mail-wm1-x334.google.com with SMTP id
5b1f17b1804b1-477ba2c1ca2so41754915e9.2
for <79866 <at> debbugs.gnu.org>; Mon, 24 Nov 2025 01:23:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763976184; x=1764580984; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:references
:in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
:reply-to; bh=g7HrmQRgd/QQPsoHb5N5Zj0AwhY/m0eBL3+XZTC1x/o=;
b=FAq9jySivEylhNaMCJBwzr9O9tA7ljLxT9D90U7wEXJaggddmnlr+rQJU1YuctpN6V
7fXPu/O8fbvjODW8csNLwBzuxOB79Bvxqc2uWhVCsvkc9UWDUARIIP5gJNMxi0pGgChx
RvhcTl2JvB4xOU1XUCvuW1JvvIszfLc2BZNwHJzIkCDXqwc1PK8qRwsiUDPI9P+Czo22
ScNGuA5iEC681zfjPKWQK7RZhza04EKFE8xfHqom6H44ioW0GTwBcAl5VN0XMqVfT6Zw
8HZNMQyN/HiiEEQrvnWbSZpfL/bOjLbPji9mILhn+l244wK2/OVgYsZUEPHWXv4SWgOF
KnJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763976184; x=1764580984;
h=content-transfer-encoding:mime-version:message-id:date:references
:in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=g7HrmQRgd/QQPsoHb5N5Zj0AwhY/m0eBL3+XZTC1x/o=;
b=CH+DFIvJZlLd8b81+/F/sp/mpoWGoEqQGhStSaD1gyMLfhHoFskT+ICFIpzmf2ZRhq
ofaX/eM8KR9aD6+2Xa8/3ZLO4C0kt1ZnbD0VPPL0bjesSN5KmY+drZcRCtKWAblSHxec
0POFJ+HpQ2xxg2ZP1nhs2jyJDte6v1MZ6KyZSLYZogiNHG54I5icXBNAnz+sKftRIwmT
PuvSPTUmskKlGI6gjOECYAeCNE2fkMvqzKRKyYiIDX2ZquvYOC11x0zcXfIQTiU2vkBY
ZWCC/gcB+VDwhM6fTF7aBuQYMyB4AGYVxDZ2wYgvOjLvXCBnD476fmbdj/JJWrneSg2f
GaRA==
X-Forwarded-Encrypted: i=1;
AJvYcCVNVi6klYWPq0Crb/x31TvU3XTOqMVb3IFcJrMLapq6TJmxFuCyIY2OmfsjRvliNMuasovbuA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxAkS+7C7VMdr/UY4vADggujWKW+vuc7+0KgmaR9r2xCOz0NKJx
xP0wUml8kpjvvfUtDDMDKA1QzYdWNsR2etf3rmcds6gW3BpqlK6wFkIdP/Wa9wKm
X-Gm-Gg: ASbGncuVX7SbCKd1XUu6PfEOWZjqY0pMBLBpzcrlfHGoMQPQfDvFCsaEODU/12J4FGz
eQfsrH58MCFAy6Zvi5MXlT4EUXOsyQGxdDOtEA37/taU7H4SadcIa23NnJVJWEeqKwoXOcppKIH
zcQuc1XYjrp750Sghc/KKK7YQh0PSh65rZgnwGYt20G6DtlD0bGY5ITpzPQP1HPla98AxJUnIfH
zgEzPapn55Ot+vXzXiqDaJaSmKK0Sy0GIZ0AknaVctOeLe0ZGQydssxVPTyckRXWQvhKgrt7img
HXqW5Whf9MQcTl8OaEvNBXyfaxJatiKJrOvNcsVL9OtKEbxqdaGstkaiwWdG6Ls86TFcjZH3yb/
YGs8PntQUIExbiKBZO2HVWTwRFpBakQAGnxQL0U4vwmxEgWINCevudWoUQycu8CNHschmgZet
X-Google-Smtp-Source: AGHT+IGkc+6w6k8Gn5h9GYQtHI8RuSo2sAyTaTC05Pb/29qMhlo+0F7po47JaCmsAKVYwobAKFKchQ==
X-Received: by 2002:a05:600c:4fcb:b0:46e:3d41:6001 with SMTP id
5b1f17b1804b1-477c01f7b9amr106388175e9.34.1763976183717;
Mon, 24 Nov 2025 01:23:03 -0800 (PST)
Received: from rltb ([2a01:e0a:3f3:fb50:970a:ea77:c29e:5f7])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-477c0d85360sm179404985e9.15.2025.11.24.01.23.03
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 24 Nov 2025 01:23:03 -0800 (PST)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <m2ecpo9k4x.fsf@HIDDEN>
References: <m2jyzl9zdm.fsf@HIDDEN> <86ikf5i520.fsf@HIDDEN>
<87qztsvibn.fsf@HIDDEN> <m27bvkvezb.fsf@HIDDEN>
<87zf8gtznv.fsf@HIDDEN> <m25xb42ij4.fsf@HIDDEN>
<m2ecpo9k4x.fsf@HIDDEN>
Date: Mon, 24 Nov 2025 10:23:02 +0100
Message-ID: <87see3n5s9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
>>>>> On Mon, 24 Nov 2025 00:36:46 -0300, Rahul Martim Juliato <rahuljuliat=
o@HIDDEN> said:
Rahul> Changing direction, I decided to investigate the nntp.el source =
code for
Rahul> clues. I found that setting nntp-open-connection-function to use=
a
Rahul> plain, unencrypted stream resolves the issue entirely:
Rahul> (setq nntp-open-connection-function 'nntp-open-plain-stream)
Rahul> With this setting, Gnus in the GUI is fast again. Reverting to t=
he
Rahul> default value ('nntp-open-network-stream), which attempts a STAR=
TTLS
Rahul> upgrade, causes the extreme slowness to return.
Rahul> I also briefly tried 'nntp-open-tls-stream' but it produced a co=
nnection
Rahul> error. This was likely due to a server misconfiguration or lack =
of
Rahul> support for direct TLS, and I have not debugged it further.
Rahul> It seems the root of the problem is related to the TLS negotiati=
on
Rahul> process. For some reason, in the GUI environment on macOS, this =
leads to
Rahul> a severe network throttle rather than a typical connection failu=
re.
Rahul> For now, I have a viable workaround, but the underlying cause is=
still a
Rahul> mystery.
That sounds more like something doing TLS inspection (badly) than
anything else, but then I don=CA=BCt understand why it would affect only
nntp and not https connections.
Do you have any other tools that can attempt TLS connections to the
nntp(s) port, like gnutls-cli? That might give a clue.
Robert
--=20
X-Loop: help-debbugs@HIDDEN
Subject: bug#79866: 31.0.50; Gnus hangs on 'Reading active file' when launched in GUI mode
Resent-From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Tue, 25 Nov 2025 20:32:17 +0000
Resent-Message-ID: <handler.79866.B79866.176410271618943 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79866
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords:
To: Rahul Martim Juliato <rahuljuliato@HIDDEN>
Cc: Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 79866 <at> debbugs.gnu.org
Received: via spool by 79866-submit <at> debbugs.gnu.org id=B79866.176410271618943
(code B ref 79866); Tue, 25 Nov 2025 20:32:17 +0000
Received: (at 79866) by debbugs.gnu.org; 25 Nov 2025 20:31:56 +0000
Received: from localhost ([127.0.0.1]:42331 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vNzha-0004u1-WD
for submit <at> debbugs.gnu.org; Tue, 25 Nov 2025 15:31:55 -0500
Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:59731)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rahuljuliato@HIDDEN>)
id 1vNNNv-00010g-3M
for 79866 <at> debbugs.gnu.org; Sun, 23 Nov 2025 22:37:05 -0500
Received: by mail-pg1-x529.google.com with SMTP id
41be03b00d2f7-b996c8db896so4205885a12.3
for <79866 <at> debbugs.gnu.org>; Sun, 23 Nov 2025 19:37:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1763955415; x=1764560215; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=MeJ/9Jpr/HXGSfcpssuKNfwYpfxKOH2oFkICoDiNLl8=;
b=dHDg7EdrC5X4vmFN//0h8JcmI3e3SSmUKX7asprMCKGz2NhV2ReeqYKo8F6//LlRWU
9zX3oi0I7gF9W9hTfF2x+6nWwDfBCgSCBb2/2ZZMJzoDq3y+w/O1DSCydJE0QqQtIDpz
84OfQc4+w3zbIKQNswjQAwJEofHgFCsbC6MSmsUKf0+KXtwyoGBjvtFJK+b4o5wuYIx2
xnky9/AZh9EiDBFRtszYj626utLM7GGo22l32FN95R+wpW+lyLyzuIm/QiPMf5yVDUNi
tHcI7y9wsq3QEEqEDzCu88ggUkzcdxBq8MKu6RY1WVsUyV1Kee+qF8SKHhaBv+x8mCtw
WyWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763955415; x=1764560215;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=MeJ/9Jpr/HXGSfcpssuKNfwYpfxKOH2oFkICoDiNLl8=;
b=m6NFli4dByQpizJSNLhNa6Je5sWfZF6E2vMpYaMPPfQ7cMjex9ImapUTbbCds6bNyX
YHwm/KCKbj1P40hYOC0yGHVQHesgerW+pZ29S5fcFanzG9uXtu79cDWMYDLUMH1fa9jh
AMVrLK9N7xM6jUyW2+FP0I7q6CJPgiU0kCfHEuLvT6VI73MCz82gh52LagerwFzWbLfx
5gU56NSMJm/31CNB2ZXy9ig04W7emhpkRlfMXDD4ilkewIDyS81An8xRgFbxXPHHfAmE
ffyz96Xhrq9IIlUsR9vcbEE58OHS0OAjUNhqgzc75VG/bqOde8JnW5qCyQJtCJ7HNs6P
pTNA==
X-Forwarded-Encrypted: i=1;
AJvYcCVzTG1aoGtaH+28hbY2S1R5y0S8e/0qT04J4ZYDENk5VcSCwEi3EPJkVCmaVapaABpArhE1lA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yz/df4HaJTKaMVyNXsXUodS3/i1Msu+U4I+VqpRQ07rNrit51No
EQHm6r7sIJGiV2vKPF6CQPSf5iusO99/j9GoHb5vq++24cdxYmf0LLt6AnzFDaX5Qpw=
X-Gm-Gg: ASbGncuSz4O/gPKDEw205B75lZ17PbOh0y48TlEshNSW2UcQfeDs+HQK+n+gopfN8vB
8JRjkqr0tk/wFK9W+Y8Tf86AE0UhlsKOWS0rnTZfzyQS51od4NO1LYOfqJ7llxhqsXPyylq/TIq
ZNUb52a4lHbBBDsN/L2T2Cd4F0TB4Ph/xlL0IXHukmJQtH8k/cg+S7i+l2iohy3EuXQ9NNsWE5I
jwSNwQcegRUCAfDq8eUHHEBtLVnvqGMikOf8N/q6A2xHrPXu7E7gfdKPDIs0smKK96vtJOT3W2g
VwjBS7vfoqfJKFaYeLlme6uktMMLcTOFJlMqsLQ0P4OKsWS8EMdM5fhR2x5qmq+M9vMFyKSsJsS
HB1+w/VRsZ/DuPs+V5KL5W3gUeqcahZ6/PIWhQ2YRyGYFrVxecNPchSdGnnnjWX76lkmNsgDFo3
UAG6WwpuqFkWiXjEhgm0vB8uABft7UUkCfrtPELE6CDeLNxBrNwI50QulILEXn8XM3DadlTbFQW
x4LZ7ph
X-Google-Smtp-Source: AGHT+IH2QRk1N62LGcc8xquddmeCqVMhpZG47lGdt8ZRova41Khn6cb4R76q5c3Y9G/TUsERtiDEww==
X-Received: by 2002:a05:7301:550b:b0:2a4:3592:cf6e with SMTP id
5a478bee46e88-2a71927d8f8mr4618975eec.18.1763955414517;
Sun, 23 Nov 2025 19:36:54 -0800 (PST)
Received: from MacBook-Pro.local ([2804:7f0:9089:1ca6:810f:7d1b:e0a8:d796])
by smtp.gmail.com with ESMTPSA id
5a478bee46e88-2a6fc5b122dsm47811520eec.5.2025.11.23.19.36.49
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 23 Nov 2025 19:36:52 -0800 (PST)
From: Rahul Martim Juliato <rahuljuliato@HIDDEN>
X-Google-Original-From: Rahul Martim Juliato <rahul.juliato@HIDDEN>
In-Reply-To: <m25xb42ij4.fsf@HIDDEN>
References: <m2jyzl9zdm.fsf@HIDDEN> <86ikf5i520.fsf@HIDDEN>
<87qztsvibn.fsf@HIDDEN> <m27bvkvezb.fsf@HIDDEN>
<87zf8gtznv.fsf@HIDDEN> <m25xb42ij4.fsf@HIDDEN>
X-PGP-Key: https://www.rahuljuliato.com/rahul_pub_key.asc
Date: Mon, 24 Nov 2025 00:36:46 -0300
Message-ID: <m2ecpo9k4x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
Rahul Martim Juliato <rahuljuliato@HIDDEN> writes:
> Robert Pluim <rpluim@HIDDEN> writes:
>
>>>>>>> On Thu, 20 Nov 2025 13:35:52 -0300, Rahul Martim Juliato <rahuljuli=
ato@HIDDEN> said:
>>
>> Rahul> Robert Pluim <rpluim@HIDDEN> writes:
>> >>>>>>> On Thu, 20 Nov 2025 08:36:23 +0200, Eli Zaretskii <eliz@gnu.=
org> said:
>> >>=20
>> Eli> I cannot reproduce this, but I'm not on macOS. Here, the GUI s=
ession
>> Eli> that follows the above steps does not hang, but successfully fi=
nishes
>> Eli> the reading step.
>> >>=20
>> Eli> Could someone who builds Emacs on macOS try reproducing this? =
When
>> Eli> Emacs hangs, it is a good idea to attach a debugger to it and s=
how the
>> Eli> backtrace, so that we at least could know what is Emacs doing.
>> >>=20
>> >> I can=CA=BCt reproduce this on macOS. There was a change in macOS=
a few
>> >> versions ago so that executables had to be 'blessed' to be allowe=
d to
>> >> access the local network, but as far as I know that didn=CA=BCt a=
ffect
>> >> off-subnet connections.
>> >>=20
>> >> It=CA=BCs possible Apple have done something similar in macOS 26 =
for
>> >> non-local access (I=CA=BCm still on 15.7)
>> >>=20
>> >> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
>> >>=20
>> >> Robert
>>
>> Rahul> Thanks for having the time to help me troubleshoot this.
>>
>> Rahul> Looks like this is something specific for MacOS. I tested it =
on my
>> Rahul> Debian machine it is working. I'm on macos Tahoe 26.1 (25B78).
>>
>> Rahul> Indeed there's trouble first time doing anything within Emacs=
. You get
>> Rahul> asked from macos to give permissions first time like you open=
a folder
>> Rahul> with dired. That said, I gave everything permission, like for=
files,
>> Rahul> folders, network, added it to "Development tools", maybe I mi=
ssed
>> Rahul> something.
>>
>> Rahul> In addition (within this troubleshooting) I also issued:
>>
>> Rahul> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --ad=
d ~/site-compiled/emacs/src/emacs
>> Rahul> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --un=
blockapp ~/site-compiled/emacs/src/emacs
>>
>> Rahul> xattr -d com.apple.quarantine ~/site-compiled/emacs/src/e=
macs
>>
>> Rahul> Maybe I'm missing some other magic blessing command?
>>
>> It looks like you=CA=BCre running in place? Or did you install emacs
>> somewhere? The reason I ask is that when installed Emacs is installed
>> as an Emacs.app bundle, which is a different path. Basically the
>> contents of nextstep/Emacs.app are copied somehere, maybe the "Emacs"
>> executable there needs blessing as well.
>
> I usually compile Emacs (meaning a successfull make -j) and alias
> ~/site-compiled/emacs/src/emacs to emacs on bash. I also use macos
> automator to create an entry which will lode my main config or another
> one I might be trying by running the same emacs binary with addition of
> --init-dir=3D"..config path". This way I may have spotlight (the launcher)
> entries for "EmacsSolo" or "EmacsKicks" or other config.
>
> The original problem I was having was first noted on one of those
> automation scripts (Emacs Solo), then I regressed to terminal, and
> finally isolated to the simple case it happens (the actual bug report).
>
> I can confirm that moving the built+signed ns/Emacs.app to /Applications
> gives me the same behavior as the command line call.
>
> What I tried so far with the /Applications/Emacs.app:
>
> 1.) Get its id
> osascript -e 'id of app "/Applications/Emacs.app"'
>=20=20=20=20
> Returns: org.gnu.Emacs
>
> 2.) Reset all permissions
>
> tccutil reset All org.gnu.Emacs
>
> 3.) Open Emacs with open -n /Applications/Emacs.app
>
> (It should've asked for permissions again it did not).
>
> 4.) M-x eww RET www.fsf.org RET
>
> Everything works. Accept certificate.
>
> 5.) Made sure firewall is not blocking
>
> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/=
Emacs.app
> sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp
> /Applications/Emacs.app
>
> 6.) Just in case "removed" the quarentine flag (it wasnt even set)
>
> xattr -d com.apple.quarantine /Applications/Emacs.app
>
> 7.) Finally I tried signing my Emacs.app with
>
> codesign --force --deep --sign - /Applications/Emacs.app
>
> 8.) After reading this article, I tried to add a new entry to the
> Info.plist
>
> Reference:
> https://forum.xojo.com/t/sequoia-new-security-entitlement-s/81329
>
>
> open -a TextEdit /Applications/Emacs.app/Contents/Info.plist
>
> Added to the end:
>
> <key>NSLocalNetworkUsageDescription</key>
> <string>This app needs local network access for NNTP, Gnus, and other con=
nections.</string>
>
> And signed it again with:
>
> codesign --force --deep --sign - /Applications/Emacs.app
>
>
> Between each step I tried it again and none of the above steps solved
> the problem. Though I did find something interesting.
>
>
> Emacs is not actually hanging, the connection is working, it is just
> VERY SLOW.
>
> With `sudo nettop -m tcp` I tried to reproduce the problem via Emacs TUI
> and GUI.
>
> Via TUI I could see "bytes_in" reaching ~2800KiB very fast (~2 or 3
> secs).
>
> Via GUI I could see "bytes_in" reaching ~2800KiB very slowly (7
> minutes).
>
> So the good news? Gnus is actually working and fetches what it is
> supposed to fetch. Bad news? It takes an insane amount of time on GUI.
>
> Maybe MacOS sandbox is throttling the connection on GUI Emacs somehow?
>
>>
>> >>=20
>> >> Does stuff like 'M-x eww RET www.fsf.org RET' work ok?
>> >>=20
>>
>> When launched as GUI Emacs?
>>
>
> Yep! I mostly use GUI Emacs and all the network functionality I
> described works like a charm. Until I tried the nntp backend, which
> seems to trigger some throttling on macos.
>
>>
>> Robert
Changing direction, I decided to investigate the nntp.el source code for
clues. I found that setting nntp-open-connection-function to use a
plain, unencrypted stream resolves the issue entirely:
(setq nntp-open-connection-function 'nntp-open-plain-stream)
With this setting, Gnus in the GUI is fast again. Reverting to the
default value ('nntp-open-network-stream), which attempts a STARTTLS
upgrade, causes the extreme slowness to return.
I also briefly tried 'nntp-open-tls-stream' but it produced a connection
error. This was likely due to a server misconfiguration or lack of
support for direct TLS, and I have not debugged it further.
It seems the root of the problem is related to the TLS negotiation
process. For some reason, in the GUI environment on macOS, this leads to
a severe network throttle rather than a typical connection failure.
=
=E2=96=84
For now, I have a viable workaround, but the underlying cause is still a
mystery.
--=20
Rahul Martim Juliato
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.