From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#43882: 27.1; Gnus sometimes crashes emacs 27.1 during nnir search Date: Fri, 09 Oct 2020 16:43:42 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14803"; mail-complaints-to="usenet@ciao.gmane.io" 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 Fri Oct 09 16:44:10 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 1kQtcw-0003iw-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 16:44:10 +0200 Original-Received: from localhost ([::1]:44710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQtcv-00066A-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 10:44:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQtco-00064a-LP for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQtco-0008S9-C3 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQtco-0006Rf-9F for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Oct 2020 14:44:02 +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.160225463624752 (code B ref 43882); Fri, 09 Oct 2020 14:44:02 +0000 Original-Received: (at 43882) by debbugs.gnu.org; 9 Oct 2020 14:43:56 +0000 Original-Received: from localhost ([127.0.0.1]:35996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQtce-0006R7-Tg for submit@debbugs.gnu.org; Fri, 09 Oct 2020 10:43:56 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:36826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQtcc-0006Qs-03 for 43882@debbugs.gnu.org; Fri, 09 Oct 2020 10:43:52 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id x7so1975327wrl.3 for <43882@debbugs.gnu.org>; Fri, 09 Oct 2020 07:43:49 -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; bh=YUVeDQFS0j/Y7soIhOUOcJS3E4lIMwJmIET8RHhVP18=; b=Szs61K7wQdV9a2JqvJf/df5icjpZSaZV9GDRXNy/fpEEmK2gLBB0FYUUJIQR/htUhq lraP1uwOIvkNH3cUX+kFnMW9D/WZZX76iXJQCyW3OgDDDZHRQHrmnCr2YzVMH1OrJbgD lMULtatY/DcaGQlR/iNWQ3NrgE1ZE4pW0x5bPES1uPyLaUP6idEq7S+mp1BAVlZSzsBt k4ii+2Ntc2IJrFtslaIwEXHM7qQQt7XRzHPX0m3c+WIyCYqzrZ7MqgDT1WLGFU4pXCDT xmOB6GodK/yzP+KUlYE3HQ+vBqg6HV0xH4qjLVeWpIwJ4k7JgIz/wTG6PhmJknv/dCiB VUrw== 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; bh=YUVeDQFS0j/Y7soIhOUOcJS3E4lIMwJmIET8RHhVP18=; b=LYOi51c1FZXDT+VnkH8FO+vrKctAyfk6uER499oBpwFycfUV00VuuU5I6a18ptmE5y OLBUq1Bv6PXvfjvpV1Oft1NDV2Cn0XBjhbe3xmFQKM5ysklntePqkiB1JtsgUvTglroQ 912bxGaLc9J1VhfT1DsIKrh1qKTi6DJobQU77yXWdR93BUAIUwbia2abkfBZcGNQZnO4 F4L5+PW+BvAOVgzjwwLfhFjFXC6k0QK4boQyUCSoERNUzxfmCNc7iC+Ru0P25f7oyNcE TSQxLCrJKjwFyT5ksFGOX8eUlrtGf3bZkFpLInLpz6EYC9LOibQ3SIBvtDinuUNYiCUC CPtA== X-Gm-Message-State: AOAM530ln0SlBrGBZnHIKt+MBUmQn1KlQPCDhqFaxYYONtBmbJzrl7dc QFbuanI3Fr/TtGe8WBRANBMKxE+tKOoV1A== X-Google-Smtp-Source: ABdhPJzMrLfIMohTnAllBtRo5cB970lMUCGEuAogLMfkUmNYUV/FbsUAfHHGetSiaM/gpWt0FSbcRQ== X-Received: by 2002:a5d:630a:: with SMTP id i10mr14936359wru.137.1602254623528; Fri, 09 Oct 2020 07:43:43 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:1477:c2e8:1d2f:3b0e]) by smtp.gmail.com with ESMTPSA id h4sm12259981wrv.11.2020.10.09.07.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Oct 2020 07:43:42 -0700 (PDT) In-Reply-To: (Mikael Svahnberg's message of "Fri, 09 Oct 2020 12:14:18 +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:190158 Archived-At: >>>>> On Fri, 09 Oct 2020 12:14:18 +0200, Mikael Svahnberg said: Mikael> I upgraded to emacs 27.1 yesterday and so far it has crashed twice on me Mikael> when I search for emails in Gnus. I use the following function to Mikael> perform the search (there are probably better ways, but this has worked Mikael> for me the past eight years): Mikael> -------------------- Mikael> ;; Search mail from everywhere Mikael> (defun msv-search-mail () Mikael> (interactive) Mikael> (with-current-buffer "*Group*" Mikael> (save-excursion Mikael> (beginning-of-buffer) Mikael> (search-forward "All Mail") Mikael> (call-interactively (gnus-group-make-nnir-group nil))))) Mikael> ;; <2017-08-15 Tue> Mikael> ;; Try a better search input Mikael> (use-package gnus-x-gm-raw :ensure t) Mikael> -------------------- Mikael> What happens is that emacs freezes and (I happened to have =top= Mikael> running in a terminal nearby) consumes 100% CPU for 5-10 seconds, before Mikael> crashing. Mikael> I have done more mail searches, and it does not crash every time I Mikael> search. The first thing I do after restarting is to perform the exact Mikael> same search, which has worked. Intermittent bugs, yay! Do things improve if you increase your stack size using 'ulimit -s'? MacOS has what is by modern standards a fairly small default stack. There are a couple of regexp-related fixes in master as well. Could you try that branch? Robert