From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) 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 13:27:35 -0400 Message-ID: <87bmlt76uw.fsf@moondust.localdomain> References: <87k20mq0uq.fsf@moondust.localdomain> <83tvzl98fe.fsf@gnu.org> <87efqppm4p.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506706098 23676 195.159.176.226 (29 Sep 2017 17:28:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 17:28:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: 28596@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 29 19:28:14 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 1dxz54-00052W-Cb for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Sep 2017 19:28:06 +0200 Original-Received: from localhost ([::1]:36372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxz5A-0006Ze-4E for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Sep 2017 13:28:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxz54-0006ZY-GI for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 13:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxz50-0005iN-Di for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 13:28:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxz50-0005hm-B3 for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 13:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxz50-0005gb-3y for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2017 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Sep 2017 17:28: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: Original-Received: via spool by 28596-submit@debbugs.gnu.org id=B28596.150670606721833 (code B ref 28596); Fri, 29 Sep 2017 17:28:02 +0000 Original-Received: (at 28596) by debbugs.gnu.org; 29 Sep 2017 17:27:47 +0000 Original-Received: from localhost ([127.0.0.1]:39515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxz4j-0005g3-2K for submit@debbugs.gnu.org; Fri, 29 Sep 2017 13:27:47 -0400 Original-Received: from mail-it0-f44.google.com ([209.85.214.44]:48287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxz4h-0005fo-60 for 28596@debbugs.gnu.org; Fri, 29 Sep 2017 13:27:43 -0400 Original-Received: by mail-it0-f44.google.com with SMTP id m123so579439ita.3 for <28596@debbugs.gnu.org>; Fri, 29 Sep 2017 10:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=awu2v3fAavvAioeuURvnKSOEmPvFgnQmsUD2Qavc4ec=; b=lZBN7wghAqGn8pPShT42462pYv2M5IJkYCrUJvufnrxJ2R8piBLppwAKFEOo/g8sjn r33okbulJU4PUGB0Ss6Mmc9GmkNPHv0sGpXVMHpCZmc2/qgI06O1kjUXKlDLHBb/ahX8 TdCKZYKDOD5L13XsCvYhSkhvws3AAv5sgf9QLxsii4ckIlATGqrfFG0kWCP7FCUG7/5t AfgxM9+lpfdsN1wE3P77CYQl/z28wmOPzmzsFtHGnroeanCZg51nX+YkZWeJ+Xi1QXM5 eYAS0dsMs7+CttGqufZZQ0PueHFmB6CsasigaOfGGw3eqZft77uLVBqQg6iiks4qkDuc o/bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=awu2v3fAavvAioeuURvnKSOEmPvFgnQmsUD2Qavc4ec=; b=YyUWB3Li+IKPJi7rENBPzlACFIX73x8mj2Ed8B2Q/H3f4GRYBiQyYIfGhfqgtccW8z DKL1TeyQvJigPtFCtZn9gNHpyA50Dq8m+zPf+AJT/TNm4GG4hILRqaRUWMzkXIPzufKY Rs5ZRuJClsv8iv+8+Ks0NrbXm8eoDq6FYe2c/nzMYMak1CU8bpqFY79jgLhCWqVDy7vx pkGCqz3RnZUyOucBjb7Zbp86rC8w0tQHVd0CIEDTJ0RlGiaTyrjlCsHYQElHO5BFNZxg fl6VPeEKUjc6n8dudJGYI0tBozb9i15DA0I2iMp+StqUAUpwLj9UWKsELB+n73itfEpz 1O3w== X-Gm-Message-State: AHPjjUgrNDu7URRveErJpMlPO7kUvRJ227WuEt37fXgMfsihXyhMtgxS VExkC/0FMBXszNGS6GI0fDQ= X-Google-Smtp-Source: AOwi7QC5USmluXylktWvHaWIVXZ22iUV8YMyoeDXw7mXSt426ujXmrkuKmfvQuBXoB6/TUgPq+z0gw== X-Received: by 10.36.22.13 with SMTP id a13mr8349843ita.112.1506706057307; Fri, 29 Sep 2017 10:27:37 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none ([72.143.113.194]) by smtp.gmail.com with ESMTPSA id a184sm1537771ith.0.2017.09.29.10.27.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Sep 2017 10:27:36 -0700 (PDT) In-Reply-To: <87efqppm4p.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 29 Sep 2017 08:20:22 -0700") 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:137612 Archived-At: At 08:20 -0700 on Friday 2017-09-29, Eric Abrahamsen wrote: > > Eli Zaretskii writes: >> >> 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'. Eli and Eric, than you for these suggestions. I will have a look in these directions the next time Gnus "breaks". (I hadn't yet read them when I wrote the report below.) Gnus "broke" again this morning. (It seems to break in the morning when I switch it to the "plugged" state after I've have it "unplugged" over night for offline reading.) Unfortunately there are at least two different problems, although they might be related. (The following all applies to the Emacs session this morning with Gnus in it's "broken" state.) I set `debug-on-error' and got the following (redacted) backtrace when fetching mail/news: Debugger entered--Lisp error: (error "something.com/443 Name or service n= ot known") signal(error ("something.com/443 Name or service not known")) nnrss-fetch("https://something.com/boards/forums/support.246/index.rss") nnrss-check-group("Something Forums: Support" "") nnrss-retrieve-groups(("Something Forums: Support" "Something Forums: S= oftware" "Something Forums: Something Else" "Something Forums: Discussions"= "Something Forums: News") "") gnus-retrieve-groups(("Something Forums: Support" "Something Forums: So= ftware" "Something Forums: Something Else" "Something Forums: Discussions" = "Something Forums: News") (nnrss "")) gnus-read-active-file-2(("Something Forums: Support" "Something Forums:= Software" "Something Forums: Something Else" "Something Forums: Discussion= s" "Something Forums: News") (nnrss "")) gnus-read-active-for-groups((nnrss "") (("nnrss:Something Forums: Suppo= rt" 3 ((1 . 9)) ((unexist) (seen (1 . 6))) (nnrss "")) ("nnrss:Something Fo= rums: Software" 3 ((1 . 1)) ((unexist) (seen 1)) (nnrss "")) ("nnrss:Someth= ing Forums: Something Else" 3 ((1 . 117)) ((unexist) (seen (1 . 56) (67 . 1= 17))) (nnrss "")) ("nnrss:Something Forums: Discussions" 3 ((1 . 857)) ((un= exist) (seen (1 . 245) (421 . 857))) (nnrss "")) ("nnrss:Something Forums: = News" 3 ((1 . 672)) ((unexist) (seen (1 . 168) (282 . 672))) (nnrss ""))) n= il) gnus-get-unread-articles(nil nil nil) gnus-group-get-new-news(nil) funcall-interactively(gnus-group-get-new-news nil) call-interactively(gnus-group-get-new-news nil nil) command-execute(gnus-group-get-new-news) There was no problem with the reported URl; I could open it fine in a web browser. I changed the "level" of these RSS groups so that Gnus does not try to check them when it fetches mail and news. After doing that, I no longer end up in the debugger when fetching mail/news with `debug-on-error' set. That was the first problem. However, fetching mail/news was still broken -- no hang this time, just nothing seeming to happen. And the *Server* buffer was messed up as I previously described: At 10:13 -0400 on Tuesday 2017-09-26, N. Jackson wrote: > > The problem can be easily seen in the *Server* buffer. All my > nntp servers are broken. > > - The nntp servers that are managed by the Agent are in an > "offline" state even though Gnus is currently plugged (and I > have a good Internet connection), and the `O', `C' and `R' > (open, close, and reset all) commands have not effect. (Toggling > the plugged/unplugged state a few times hasn't changed this > brokenness.) > > - The nntp servers that are not managed by the Agent are in a > "denied" state and the `O', `C' and `R' (open, close, and reset > all) commands have not effect. It almost seems as if Gnus is in an "unplugged" state even though in the mode line it says that it's "plugged". (Toggling the plugged/unplugged state so that the mode line says it's "unplugged" doesn't help though.) One reason why I think Gnus is actually "unplugged" is that when I enter a news group that is managed by the Agent when Gnus is "unplugged", the *Summary* buffer is displayed almost instantly. In contrast when Gnus is not in a "broken" state and is "plugged", loading the *Summary* buffer is slow as Gnus will retrieve headers over the Internet, A second reason why I think Gnus is actually "unplugged" is that there are lines in news group *Summary* buffers like - .=E2=94=820.0k=E2=94=821969-12-31 19:00=E2=94=82 =E2=96=A3 Gnus Agent = [Undownloaded article 218857] which I would normally only see when Gnus is "unplugged". I have now restarted Emacs to get Gnus back into a working state -- I have to get real work done. I will report more when I have time to investigate a "broken" instance of Gnus more thoroughly. N.