From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#43882: 27.1; Gnus sometimes crashes emacs 27.1 during nnir search Date: Wed, 21 Oct 2020 11:23:32 -0700 Message-ID: <87tuuna15n.fsf@ericabrahamsen.net> References: <87blgwg7b7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34383"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43882@debbugs.gnu.org To: Mikael Svahnberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 21 20:25:40 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 1kVInr-0008om-2A for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 20:25:39 +0200 Original-Received: from localhost ([::1]:49558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVInq-0007gH-4T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 14:25:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVImI-0006XB-AT for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVImI-0004Pz-12 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVImH-0005E4-Sn for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 14:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Oct 2020 18:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43882 X-GNU-PR-Package: emacs Original-Received: via spool by 43882-submit@debbugs.gnu.org id=B43882.160330462220060 (code B ref 43882); Wed, 21 Oct 2020 18:24:01 +0000 Original-Received: (at 43882) by debbugs.gnu.org; 21 Oct 2020 18:23:42 +0000 Original-Received: from localhost ([127.0.0.1]:50548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVIly-0005DU-En for submit@debbugs.gnu.org; Wed, 21 Oct 2020 14:23:42 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:58338 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVIlw-0005DF-4I for 43882@debbugs.gnu.org; Wed, 21 Oct 2020 14:23:41 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 56315FA0E5; Wed, 21 Oct 2020 18:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1603304614; bh=y3Ka1q4K8Bb/flO8IM8sYM5V9iL++tajUg9U1/Mc620=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=qgO3DaSkgEl5MAnLSDa6Qv3DrQ0mXsn9svwX9z+fNca6R0uu1tYj98RhrzHQrFnB4 w7i/MF41piFvl2U2k6MoWpBvDOkEy2+AXf33CPeoKWiIlGrr8XkFsoDB7gbxYJrolE EVIlCRwEvKowR16cxCIJOF9tpL4XlQJDt73RAIfA= In-Reply-To: (Mikael Svahnberg's message of "Wed, 21 Oct 2020 08:41:27 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:191205 Archived-At: Mikael Svahnberg writes: > Eric Abrahamsen <2020-10-20 10:01> wrote: >> Mikael Svahnberg writes: >> >>> Hi, >>> >>> Sadly, a further update. >>> >>> I am now on "GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin17.7.0, NS >>> appkit-1561.61 Version 10.13.6 (Build 17G14033)) of 2020-10-15". This >>> crashes for other reasons once every other day (I haven't been able to pin >>> it down well enough to send a bugreport yet), but until just now it has >>> behaved itself wrt. the NNIR search. >>> >>> ... Until now, that is. I again did a search, and emacs gobbled up 100% of >>> a cpu for 10-odd seconds and then it crashed. >>> >>> I have gone back to the default 8MB cache size just to force the issue. >>> >>> What version, settings, or flags should I set up to provide as rich a >>> picture as possible? >> >> I think it would be useful to know what kind of search this is: imap? >> Local notmuch installation? Also, how "big" of a search is it -- how >> many messages are you expecting to be returned? >> >> Other people might have other suggestions... > > Hi, > > It is indeed an imap/gmail search. I apparently have ~90kMail in there > (wow, I thought it would be more), but for any given search I expect > anywhere between 50--500 hits. > > I search for one or a couple of words, no ifs, buts, ANDs, or ORs. For > example: > > "george harris montmorency" > "three men boat" > "jerome" > > Normally during a search, the minibuffer first says > > Searching [Gmail]/All Mail... > > to which it eventually attaches a "done". After this, I get asked > how many mails to retrieve if there are more than 200 hits. The crash > occurs before the "done". Okay, thanks, that narrows it down. The crash must be happening in `nnimap-command', in other words in either `nnimap-send-command' or `nnimap-get-response'. I expect whatever's going wrong is going wrong in the C-level process code, and I don't know how to help with that. But I hope this might help someone else narrow it down. There have been a fair number of changes in TLS handling, in particular, so who knows. Eric