From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#40676: 28.0.50; gnus locks when reading email Date: Sat, 18 Apr 2020 12:26:07 +0200 Message-ID: References: <87sgh3ow91.fsf@gmail.com> <87k12ez5xd.fsf@tcd.ie> <87k12eowft.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28472"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , 40676@debbugs.gnu.org To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 18 12:27:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPkgu-0007HL-Qt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 12:27:16 +0200 Original-Received: from localhost ([::1]:56556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPkgt-0002OS-S4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 06:27:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43474) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPkgh-0002O3-Kn for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 06:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPkgg-0000nE-Bj for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 06:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPkgg-0000mb-7h for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPkgg-0006ho-2C; Sat, 18 Apr 2020 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 18 Apr 2020 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40676 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 40676-submit@debbugs.gnu.org id=B40676.158720557825722 (code B ref 40676); Sat, 18 Apr 2020 10:27:02 +0000 Original-Received: (at 40676) by debbugs.gnu.org; 18 Apr 2020 10:26:18 +0000 Original-Received: from localhost ([127.0.0.1]:42009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPkfy-0006gn-5F for submit@debbugs.gnu.org; Sat, 18 Apr 2020 06:26:18 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:32783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPkfv-0006gX-Ds for 40676@debbugs.gnu.org; Sat, 18 Apr 2020 06:26:16 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id v8so6731267wma.0 for <40676@debbugs.gnu.org>; Sat, 18 Apr 2020 03:26:15 -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 :mime-version:content-transfer-encoding; bh=53u8JIlCWGMxWdE3/Yrv/PwCtwoZ7sVVEpLkdhFr/AM=; b=nQ9pVHf1Y5fxe2edM/bTYj+7ML8+l/1fE+18yL94WO03z9Ihbufhpde3cTXR/+oeb/ DTPMrprKiL/eEJ4w0vcGfThu+le1b+I2YGuWCTwpzDGtqSrBp8+mSduDKB1WAUUJx0mT WqT/OEeT1FpKIMR8PqdZiG7f4Xlv+akyQP2WLYdX8MJG3PXZgk3+vPJC6nRMt6+aCyRa OYttDHWbaNdXLPKeRE3PNNY6F19q7Wjf7ZxdufDMvxa9JQkljYbTDaO3Z1kdXkzBSpTu gBQ7zCABefV6LfHsXD7sfIQVjv4kVsZE6XTrkUeuBwcOK14nf08lr00zTxCRdw/5K7Uj D9vQ== 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:mime-version:content-transfer-encoding; bh=53u8JIlCWGMxWdE3/Yrv/PwCtwoZ7sVVEpLkdhFr/AM=; b=JK7Z7UiqiPNZ6BWE+eNOr5iHTcqk6JEQ7g9qL9WWWCvQWBVU6BHLS8kxYUYnh3zLQf neSm8Q6blzwVgp3MMhw5yehiELpQEB0KvUfNsQ2RDpBx5NBRyGHGlhte+yC+91JfzED7 H5qb9h7lmBgVbLGqgdHjYHDvM7l4kE0oQrmQchkPZfqswf4rMTlphmpUUXw6TSejbOig dNu6Qdr7wMUn6VnfG6KedKfeFwlVcJ9i1mO+1yUY+MJ7sBSZex0Z6BPr7M6pl9YgQ3Y2 ZCktGdIuZr7o84g6YICraoY3JUPGKdnY9v5iO0oY801U+CwoZJKVnUDwUxcYLZW4T6++ Rt1Q== X-Gm-Message-State: AGi0PuazDPkbAcyWZvj/6ouhQQhGYjYqoKUemCCmATeYVzkPkWC6AOsv 8jkl31qwZPPzFk8S7FZwDKZm4nv1VaE= X-Google-Smtp-Source: APiQypL1VbLo/8mFBvYgp2Z0n+XzjeHO+lFzgXp/UcHpjbg0IfPpuCcvFYpUTDx+xY/KZitYyTpGDQ== X-Received: by 2002:a05:600c:2284:: with SMTP id 4mr3306441wmf.97.1587205569172; Sat, 18 Apr 2020 03:26:09 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:384e:c682:f3e3:6663]) by smtp.gmail.com with ESMTPSA id o16sm35788605wrs.44.2020.04.18.03.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 03:26:08 -0700 (PDT) In-Reply-To: <87k12eowft.fsf@gmail.com> (Alex Branham's message of "Fri, 17 Apr 2020 13:26:30 -0400") 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178556 Archived-At: >>>>> On Fri, 17 Apr 2020 13:26:30 -0400, Alex Branham said: Alex> Thanks. I can't reproduce it that way. I don't think I have anyth= ing too Alex> terribly crazy in my gnus config but I'll try to make time to go = through Alex> it. My crystal ball says you have one or more of the gnus-gravatar variables enabled, and you have a slow DNS, in which case customizing 'gravatar-service' to something other than 'libravatar will help. (given the troubles the gravatar changes are causing, maybe we should flip the default away from libravatar for the moment) >> What does list-processes display in that situation? Alex> Eli, the output of list-processes (removing some non-gnus related= stuff) is: Alex> *nnimap* -- open *nnimap localhost nil *nntpd** = -- Main (network connection to localhost:imap) Alex> dns -- open *temp* -- = Main (datagram connection to 192.168.1.1:domain) Alex> dns<1> -- open *temp*-198741 -- = Main (datagram connection to 192.168.1.1:domain) Alex> dns<2> -- open *temp*-84789 -- = Main (datagram connection to 192.168.1.1:domain) Alex> dns<3> -- open *temp*-23796 -- = Main (datagram connection to 192.168.1.1:domain) Alex> nntpd -- open *server news.gmane.io nntp *nnt= pd** -- Main (network connection to news.gmane.io:nntp) Alex> server -- listen -- -- = Main (network server on /run/user/1000/emacs/server) Alex> At this point, gnus was complaining about the *temp*-23796 buffer Alex> process having a running process. Although looking at the relevant code in dns.el, that should kill the process unconditionally before killing the buffer, so I don=CA=BCt understand why the process is still hanging around. It does: (condition-case nil (delete-process process) (error nil)) Sledgehammer patch to stop the querying below. Alex> I'm not sure if it's related, but recently-ish (after Emacs 26 but Alex> before Emacs 27) gnus asks me on every open a question concerning Alex> localhost certificates. I select "session". Here's the output fr= om the Alex> message buffer: Alex> Opening connection to localhost... Alex> Continue connecting? (always, session only, no, details, ?):=20 Alex> Accepting certificate for localhost:imap this session only. Given that this is your local imap server, I think you can get away with saying 'always', and the network security manager will stop prompting. Robert diff --git a/lisp/net/dns.el b/lisp/net/dns.el index 53ea0b19b5..4e0e1d1b0b 100644 --- a/lisp/net/dns.el +++ b/lisp/net/dns.el @@ -367,12 +365,13 @@ dns-make-network-process :coding 'binary :buffer (current-buffer) :host server + :noquery t :service "domain" :type 'datagram)