From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#28596: 26.0.60; [Gnus] Checking mail is no longer reliable and C-g no longer quits Date: Fri, 29 Sep 2017 08:20:22 -0700 Message-ID: <87efqppm4p.fsf@ericabrahamsen.net> References: <87k20mq0uq.fsf@moondust.localdomain> <83tvzl98fe.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506698600 3160 195.159.176.226 (29 Sep 2017 15:23:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 15:23:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) To: 28596@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 29 17:23:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxx88-0008Vl-8l for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Sep 2017 17:23:08 +0200 Original-Received: from localhost ([::1]:35738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxx8F-0007IA-IZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Sep 2017 11:23:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxx88-0007Hz-5f for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxx82-0006mW-K9 for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:23:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxx82-0006mN-Gm for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxx82-00083q-BH for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:23:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87k20mq0uq.fsf@moondust.localdomain> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Sep 2017 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28596 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150669854230599 (code B ref -1); Fri, 29 Sep 2017 15:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2017 15:22:22 +0000 Original-Received: from localhost ([127.0.0.1]:39401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxx7O-0007xR-2d for submit@debbugs.gnu.org; Fri, 29 Sep 2017 11:22:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxx7M-0007wP-H5 for submit@debbugs.gnu.org; Fri, 29 Sep 2017 11:22:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxx7G-0006XJ-Fc for submit@debbugs.gnu.org; Fri, 29 Sep 2017 11:22:15 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxx7G-0006XF-Cf for submit@debbugs.gnu.org; Fri, 29 Sep 2017 11:22:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxx7F-0007Fz-7V for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:22:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxx7C-0006Vu-3F for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:22:13 -0400 Original-Received: from [195.159.176.226] (port=40488 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxx7B-0006VM-SO for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 11:22:10 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dxx6r-0003BY-6e for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 17:21:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:W33cjsLaj2Vuwsw7E3TFBSgkxf4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137600 Archived-At: Eli Zaretskii writes: >> From: nljlistbox2@gmail.com (N. Jackson) >> Date: Mon, 25 Sep 2017 11:01:01 -0400 >> >> Yesterday I switched from Emacs 25 to the emacs-26 branch. With >> this Gnus hangs (sometimes) when checking mail/news >> (`gnus-group-get-new-news') and then C-g no longer quits -- at >> least not immediately. >> >> The hangs are for long enough for Gnome dialogs to appear saying >> that Emacs is no longer responding. Eventually control comes back >> to Emacs but that might be due to repeated presses of C-g. > > This could be due to the fact that Emacs 26 uses async communications > more than previous versions. > > Does gnus-group-get-new-news use any of the url-* functions? If so, > perhaps try setting url-asynchronous to nil when fetching news, to see > if that solves the problem. Or maybe even build Emacs with > HAVE_GETADDRINFO_A undefined, and see if that helps. FWIW, I would put money on `nntp-open-connection' being the culprit, specifically the call to `open-network-stream'. I used to have similar problems with Gnus connections hanging (including the need to restart Emacs entirely to "clear" it out), and all my attempts at figuring it out led me there. Unfortunately Gnus has been behaving pretty well for me for the past six months to a year, so I might not be much more help than that. But I remember being suspicious that these problems were happening right around the time people seemed to be messing with the behavior of gnutls. Could be a total red herring, though.