From: Robert Pluim <rpluim@gmail.com>
To: Mikael Svahnberg <Mikael.Svahnberg@bth.se>
Cc: 43882@debbugs.gnu.org
Subject: bug#43882: 27.1; Gnus sometimes crashes emacs 27.1 during nnir search
Date: Fri, 09 Oct 2020 16:43:42 +0200 [thread overview]
Message-ID: <m2y2kf4fz5.fsf@gmail.com> (raw)
In-Reply-To: <m2pn5rzoxx.fsf@bth.se> (Mikael Svahnberg's message of "Fri, 09 Oct 2020 12:14:18 +0200")
>>>>> On Fri, 09 Oct 2020 12:14:18 +0200, Mikael Svahnberg <Mikael.Svahnberg@bth.se> 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
next prev parent reply other threads:[~2020-10-09 14:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-09 10:14 bug#43882: 27.1; Gnus sometimes crashes emacs 27.1 during nnir search Mikael Svahnberg
2020-10-09 14:35 ` Eli Zaretskii
2020-10-09 14:43 ` Robert Pluim [this message]
2020-10-12 7:12 ` Mikael Svahnberg
2020-10-12 9:45 ` Robert Pluim
2020-10-15 7:26 ` Mikael Svahnberg
2020-10-20 13:11 ` Mikael Svahnberg
2020-10-20 17:01 ` Eric Abrahamsen
2020-10-21 6:41 ` Mikael Svahnberg
2020-10-21 18:23 ` Eric Abrahamsen
2022-04-30 17:27 ` Lars Ingebrigtsen
[not found] ` <m2zgk0h3rh.fsf@bth.se>
2022-05-02 8:31 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2y2kf4fz5.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=43882@debbugs.gnu.org \
--cc=Mikael.Svahnberg@bth.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).