From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: The netsec thread Date: Tue, 24 Jul 2018 10:34:09 +0100 Message-ID: <86pnzdrn8u.fsf@gmail.com> References: <83bmb214ez.fsf@gnu.org> <837elq13me.fsf@gnu.org> <83h8kqwukq.fsf@gnu.org> <86zhyh7nli.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532424756 30196 195.159.176.226 (24 Jul 2018 09:32:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2018 09:32:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 24 11:32:32 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fhtgC-0007fY-Qk for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2018 11:32:28 +0200 Original-Received: from localhost ([::1]:39202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhtiJ-0006Df-Lb for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2018 05:34:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhtiA-0006DX-9W for emacs-devel@gnu.org; Tue, 24 Jul 2018 05:34:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhti4-0003qe-9g for emacs-devel@gnu.org; Tue, 24 Jul 2018 05:34:30 -0400 Original-Received: from [195.159.176.226] (port=53090 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhti4-0003qO-1k for emacs-devel@gnu.org; Tue, 24 Jul 2018 05:34:24 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fhtfr-0007Cg-Cx for emacs-devel@gnu.org; Tue, 24 Jul 2018 11:32:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:TkBTZUJfg23IvWboNXt6E59HPDc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227757 Archived-At: On Tue 24 Jul 2018, Lars Ingebrigtsen wrote: > Andy Moreton writes: > >> - start gnus, and enter group gwene.electronics.righto on >> news.gmane.org >> - read one or more articles which contain more than one image >> - NSM prompts for a certificate from *.googleusercontent.com (name >> varies) >> - press keys otehr than the expected a/s/n/? (e.g. ) >> - NSM gets stuck and never seems to discard the unexpected keys. >> only quitting with ^G seems to fix it. > > Oh, I see. The NSM shouldn't really be firing at all, since this is > happening from a non-interactive-user context. I.e., as originally > designed, these connections (for images fetched in the background) were > just meant to be closed and discarded. > > That's the way it worked in Emacs 25, but perhaps the async network code > rework made this stop working. I have now managed to reproduce this on master as well :-( Using the same recipe as above, start gnus and enter the gwene.org.haskell.planet group on gmane.org, and choose this post: From: Mark Dominus Newsgroups: gwene.org.haskell.planet Subject: Operations that are not quite associative Date: Mon, 23 Jul 2018 18:57:00 +0200 Message-ID: When NSM starts prompting for certificate stuff, type some keys that are not in its list of accepted options. It gets stuck in a loop, with the echo area showing alternating lines of: Invalid choice. Continue connecting ? (always, session only, no, ?): Garbage collecting... The garbage collection message is from these settings in init.el: (setq garbage-collection-messages t) (setq gc-cons-threshold 50000000) (setq gc-cons-percentage 0.3) The "Invalid choice" mesage suggests it is getting stuck in read-multiple-choice called from nsm-query-user. I'lll try to debug further when I have more time. AndyM