emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The netsec thread


From: Andy Moreton
Subject: Re: The netsec thread
Date: Tue, 24 Jul 2018 10:34:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt)

On Tue 24 Jul 2018, Lars Ingebrigtsen wrote:

> Andy Moreton <address@hidden> 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. <up> <down> <left> 
>> <right>)
>>  - 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 <address@hidden>
    Newsgroups: gwene.org.haskell.planet
    Subject: Operations that are not quite associative
    Date: Mon, 23 Jul 2018 18:57:00 +0200
    Message-ID: <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]