From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#16906: 24.3.50; Gnus hangs on g command (gnus-group-get-news) after changing wireless access point Date: Mon, 08 Feb 2016 15:03:20 -0400 Message-ID: <87a8nbuirr.fsf@gmail.com> References: <877g8fb6d9.fsf@moondust.localdomain> <87oabt9fti.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454958264 27924 80.91.229.3 (8 Feb 2016 19:04:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 19:04:24 +0000 (UTC) Cc: 16906@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 20:04:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSr6Z-0000mA-Ro for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 20:04:12 +0100 Original-Received: from localhost ([::1]:47952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSr6Z-0007uh-9x for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 14:04:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSr6V-0007uM-CA for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:04:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSr6R-0005ki-6t for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:04:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSr6R-0005kc-2t for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSr6Q-0003cq-FZ; Mon, 08 Feb 2016 14:04: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, bugs@gnus.org Resent-Date: Mon, 08 Feb 2016 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16906 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 16906-submit@debbugs.gnu.org id=B16906.145495822113907 (code B ref 16906); Mon, 08 Feb 2016 19:04:02 +0000 Original-Received: (at 16906) by debbugs.gnu.org; 8 Feb 2016 19:03:41 +0000 Original-Received: from localhost ([127.0.0.1]:60471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSr64-0003cF-TY for submit@debbugs.gnu.org; Mon, 08 Feb 2016 14:03:41 -0500 Original-Received: from mail-ig0-f176.google.com ([209.85.213.176]:36917) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSr63-0003c3-CX for 16906@debbugs.gnu.org; Mon, 08 Feb 2016 14:03:39 -0500 Original-Received: by mail-ig0-f176.google.com with SMTP id 5so65177969igt.0 for <16906@debbugs.gnu.org>; Mon, 08 Feb 2016 11:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=7PwKo1TXPKuP/McBOdVP0/+sb44dLlN/eoYpKhe4GTA=; b=esPWid3imYUesRAavnfYzID24Ph3TBe+S/u9zKaC7nfReaQe7i1vQpRDlGyqDTnO3+ /P+v8yNK1RzlPlahQoRfpANYoTa5ZzncM4pWCeKVQsy179hQmaBQsVkL9SCNkWbPeSsC aTJHh1wx+V4kyVL6FeRJVGmMLzDR+RaQBaCtS56ALYK4s2EGabBk5PWAd6j2fvyv5FmJ uC060gMVbkSODsHYPwl/I2lYb2A7KivPetF76kN+4/yEoYIedZQn9G6DxVFNUit91vme FnMmkeb1PdeI28Y/wCtAkSVjP57PuUMYIjWlaK4P9jI8f9zbIVKLhWsg00V/M2J0zb1g G4WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=7PwKo1TXPKuP/McBOdVP0/+sb44dLlN/eoYpKhe4GTA=; b=dw8pC2mP5qzprO96aAkxu4QIK0PuDxiHYmYcDV27CW0ZNdPbu5tlkOtmq5Lo1vIxCi XcSxpkdZGyk2qt9r0Hke2oU4RJv39hJAOkWqKtqdLXyOAgRZMB5jIpNznhIT5JijeZqw SYQCz0OMcC1/HIxXM4jZpY4l9ska4QZooJZpTgAGpVDzyfl3F9XVrba/O06qwq2fRQy4 xuTLxPXqL4gMvHxMCnQ5pBJmvZ3mzmhwVCvz+f7W/I2vpfo4XCxsoKLJu+JIlPIyn7GX JAWerYXEgVdN//S6RYm8aWdXA8Y/jxy+t5xXAdfTXTjwHf6+Y7zaCJpxxBg/Q+LHLApa WZHA== X-Gm-Message-State: AG10YORRxJtYKXHU8oQWJiXSSCSFEyKCHwzGWawxxX8M+uq73SeTCs1/A+o6nVS6aVpYGg== X-Received: by 10.50.8.42 with SMTP id o10mr392046iga.59.1454958213727; Mon, 08 Feb 2016 11:03:33 -0800 (PST) Original-Received: from moondust.nodomain.none (216-13-52-94.dedicated.allstream.net. [216.13.52.94]) by smtp.gmail.com with ESMTPSA id ee9sm5721683igb.7.2016.02.08.11.03.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 11:03:32 -0800 (PST) In-Reply-To: <87oabt9fti.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 07 Feb 2016 17:48:09 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112734 Archived-At: Hi Lars, At 17:48 +1100 on Sunday 2016-02-07, Lars Ingebrigtsen wrote: > nljlistbox2@gmail.com (N. Jackson) writes: > >> For some time Gnus has been hanging when checking for new articles with >> the g command (gnus-group-get-gnus) after changing wireless access >> points. > > Is this with IMAP or NNTP connections? That's a good question. Sorry for the delayed response. Testing is a bit slow as I have to walk across town (or at least across campus) to get a new access point after making changes. It _seems_ that [and I stress _seems_ because I'm still somewhat mystified by what's going on] it is with NNTP connections. I have set gnus-verbose and gnus-verbose-backends both to 10 to help see what is going on. Unfortunately that doesn't seem to give much detail. [BTW: Section 9.20 Various Various in the manual states that the default value for gnus-verbose is seven, but in fact, in current Emacs the default is six.] I have Gnus configured so that I have the following servers: {nnfolder:archive} (opened) {nnfolder:} (opened) {nnimap:Local Dovecot Mailstore} (opened) {nntp:news.gmane.org} (opened) {nntp:dusty} (opened) {nntp:nntp.aioe.org} (opened) "Local Dovecot Mailstore" is my personal IMAP server on localhost. It shouldn't be affected by Internet connectivity unless I have it set up wrong. It is my only mail source in Gnus. The server called "dusty" is a second instance of Gmane. My primary select method is nnnil. The local IMAP server and the three NNTP servers are my secondary select methods. When I hit `g' to fetch messages, when Gnus doesn't hang, I see the following in the Messages buffer: Checking new news... Reading active file via nnnil...done Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Reading active file via nnfolder... Opening nnfolder server...done Reading incoming mail from file... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Checking new news...done When I shift my location to another access point, the first time I hit `g' in Gnus, Gnus hangs and I have to cancel with `C-g' three times. Only on the fourth `g' does Gnus complete retrieving messages. (That is, my key strokes are `g' `C-g' `g' `C-g' `g' `C-g' `g'.) The record in the Messages buffer is: Checking new news... Reading active file via nnnil...done Quit Checking new news... Reading active file via nnnil...done Quit Checking new news... Reading active file via nnnil...done Quit Checking new news... Reading active file via nnnil...done Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Reading active file via nnfolder... Opening nnfolder server...done Reading incoming mail from file... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Checking new news...done Unfortunately, even though I see the "Quit" messages where I hit `C-g', I don't understand from these messages whether the hang is while checking the local IMAP server of if it is while checking one of the NNTP servers. Next I tried to check only the IMAP server and not the news servers. In my settings file I commented out all the forms where I add the news servers to gnus-secondary-select-methods. This was only partially successful though, because after restarting Emacs and Gnus, I had the following servers: {nnfolder:archive} (opened) {nnfolder:} (opened) {nntp:news.gmane.org} (opened) {nnimap:Local Dovecot Mailstore} (opened) I don't understand where Gmane is coming from here. I don't think it is from any of my settings files, it is commented out there. In any case, I pushed on with my test to see what would happen. After moving to a new location, checking messages with `g' resulted in only one hang, with the following in Messages: Checking new news... Opening connection to localhost via tls... Opening connection to localhost...done Reading active file via nnnil...done nnimap read 0k from localhost (initial sync of 1 group; please wait) Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Reading active file via nnfolder... Opening nnfolder server...done Reading incoming mail from file... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Quit Checking new news... Reading active file via nnnil...done Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Reading active file via nnfolder... Opening nnfolder server...done Reading incoming mail from file... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Checking new news...done It looks to me that Gnus successfully checked the IMAP server on localhost _before_ the hang, suggesting that the hang was connecting to Gmane. Maybe? On the other hand, after I re-instated the three entries for the news servers in my settings, and commented out the entry for my local IMAP server, and rested Emacs and Gnus, the servers were: {nnfolder:archive} (opened) {nnfolder:} (opened) {nntp:news.gmane.org} (opened) {nntp:dusty} (opened) {nntp:nntp.aioe.org} (opened) After shifting locations and hitting `g', Gnus hung three times again: Checking new news... Reading active file via nnnil...done Quit Checking new news... Reading active file via nnnil...done Quit Checking new news... Reading active file via nnnil...done Quit Checking new news... Reading active file via nnnil...done Reading active file from archive via nnfolder... Opening nnfolder server on archive...done Reading active file from archive via nnfolder...done Reading active file via nnfolder... Opening nnfolder server...done Reading incoming mail from file... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Checking new news...done So it looks as if it is the NNTP servers that Gnus is hanging after changing wireless access points. [Or after waking my system from sleep, I suppose.] Please let me know what further information I can provide. Thank you. Regards, N.