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: Gnus gets into an ambiguous plugged/unplugged state that prevents retrieval of news Date: Mon, 11 Dec 2017 12:58:07 -0500 Message-ID: <87vahd6tao.fsf_-_@moondust.localdomain> References: <87k20mq0uq.fsf@moondust.localdomain> <83tvzl98fe.fsf@gnu.org> <87efqppm4p.fsf@ericabrahamsen.net> <87bmlt76uw.fsf@moondust.localdomain> <831skd110u.fsf@gnu.org> <87wp22xvn8.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513015153 32333 195.159.176.226 (11 Dec 2017 17:59:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2017 17:59:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: eric@ericabrahamsen.net To: 28596@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 18:59:08 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 1eOSM6-0008Ap-OV for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 18:59:06 +0100 Original-Received: from localhost ([::1]:54872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOSMD-00073E-S7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 12:59:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOSM8-00072Y-48 for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 12:59:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOSM2-0004ux-Ep for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 12:59:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOSM2-0004uS-9W for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 12:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOSM2-0007dx-1p for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 12:59:02 -0500 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: Mon, 11 Dec 2017 17:59: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.151301509629316 (code B ref 28596); Mon, 11 Dec 2017 17:59:02 +0000 Original-Received: (at 28596) by debbugs.gnu.org; 11 Dec 2017 17:58:16 +0000 Original-Received: from localhost ([127.0.0.1]:57182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOSLI-0007ch-2z for submit@debbugs.gnu.org; Mon, 11 Dec 2017 12:58:16 -0500 Original-Received: from mail-it0-f51.google.com ([209.85.214.51]:46587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOSLG-0007cP-P0; Mon, 11 Dec 2017 12:58:14 -0500 Original-Received: by mail-it0-f51.google.com with SMTP id t1so17895278ite.5; Mon, 11 Dec 2017 09:58:14 -0800 (PST) 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; bh=GKmEbGWLO2g7B1yP6cFaF+BJgDalGFimeuXaOChV/aY=; b=Tilb017RsqQkaywq+QZlhP0d5ZsSGaX/2Nyjc1BOHdRaFcEd6WwdYQGF+oLpsxKHS4 LoJ01JEqCRFzb5YUHgkS1OiSJbz5cDt1TwiA4MKtoDM7PyxSWY35zAoaLOQ6wz+3/Tzh pH3dNOF3CBwcpYcafIhvhVLdmjs33hvU3agiJb1vkDLM/5HudCQ9oFJOvnzAuGp7ZW/t n+YNHkCjwuj5efiTp4O01DlSsYl9gwuMYcaZQijPZ/bFKKzhEjRF05X5N5kpw/Yv6Y7x dNmgnmbTPHzjZcgKB7UgtUsgN4VN9aNVNwVt4wua5w5ABBJMmqbcve3fszbVUMDpsyqt i/Tw== 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; bh=GKmEbGWLO2g7B1yP6cFaF+BJgDalGFimeuXaOChV/aY=; b=oci51eSAMgPk2YO4HHN/B45m6ssNv/8SxJiAtoAu9IcTN/XiXTtWXk7i8d+uz/7SAD xAA6JUzNyQ59e03PZYpopEfbUCsv3hErzernWoui5Le4g1ENJY869D+6AvePobsbyrZA GOK/QkWgzJ6rB+ePwfZOJzNn4NxZ4p0m1nvmwVOQtWIHteZZWt/Yv+6l3lfYl1820c0d I3LpAlTwOKCFmVtjqFCvUKqGgAk4859LHAABwP15081IrrhAGYk7v7pjvCBkyz3nawhd oMwv6Y7C92mTFxaU8tNUJEzQJOJNf1uWttIzmNa/+rLOsiTu5v3nohfnl4+9ge4LW9jS QPeQ== X-Gm-Message-State: AKGB3mIijFBPTTflmn5KPc0KIdyhSjDWp+IRu9R3VFN6fsd2TkADIBsz QxbE7jYuqgLJiAj18i4ArYAH7A== X-Google-Smtp-Source: ACJfBovV/4Wb5S7AemzZmhIGs7tskKLAKan6mXdF5Ajt5gRpkFPzTquaWlrkdgHcoLVher0nLefQPQ== X-Received: by 10.107.201.206 with SMTP id z197mr1645908iof.98.1513015088906; Mon, 11 Dec 2017 09:58:08 -0800 (PST) Original-Received: from moondust.localdomain.nodomain.none ([205.189.187.4]) by smtp.gmail.com with ESMTPSA id d3sm3953109itf.39.2017.12.11.09.58.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2017 09:58:08 -0800 (PST) In-Reply-To: <87wp22xvn8.fsf@moondust.localdomain> (N. Jackson's message of "Mon, 04 Dec 2017 12:14:51 -0500") 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:140937 Archived-At: retitle 28596 Gnus gets into an ambiguous plugged/unplugged state that prevents retrieval of news quit I am re-titling the bug report, because as far as I can see, the bug is not about retrieving mail, only news; and also I'm increasingly convinced that the hang I was observing when I first reported the bug was simply because while I was trying to extricate Gnus from it's confused/broken state I failed to follow the protocols I usually follow to prevent being bitten by Bug 16026/16906 (which causes a hang). Also, I now have a recipe that seems to reproduce the bug reliably here, but it is by no means a minimal recipe: 1. Turn off Internet connection. 2. Start Emacs (26.0.90 pretest) 3. Start Gnus with `gnus-unplugged' 4. Retrieve mail from my local IMAP server with `g' command (`gnus-group-get-new-news') 5. Restore connectivity to Internet 6. (Try to) put Gnus into plugged state with `J j' (`gnus-agent-toggle-plugged') Result: Mode line now says "Plugged" instead of "Unplugged" but nntp servers cannot be put in an Open state. Rather agentised servers can be either Closed or Offline and unagentised servers can be either Closed or Denied. At 12:14 -0500 on Monday 2017-12-04, N. Jackson wrote: > However, I had forgotten (or never saw) your suggestions to > > "try setting url-asynchronous to nil when fetching news... [o]r > maybe even build Emacs with HAVE_GETADDRINFO_A undefined" > > and I will try that with 26.0.90 these next days. Following up on this (negatively) for completeness: 1. I restarted Emacs and then set `url-asynchronous' to nil, but no, this did not prevent Gnus from getting into the confused/broken state. 2. I also re-built the pretest (26.0.90) with HAVE_GETADDRINFO_A undefined, but no, that did not prevent the bug from manifesting either. N.