GNU bug report logs -
#43882
27.1; Gnus sometimes crashes emacs 27.1 during nnir search
Previous Next
Reported by: Mikael Svahnberg <Mikael.Svahnberg <at> bth.se>
Date: Fri, 9 Oct 2020 14:27:01 UTC
Severity: normal
Tags: moreinfo
Found in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 43882 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Fri, 09 Oct 2020 12:14:18 +0200, Mikael Svahnberg <Mikael.Svahnberg <at> 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
This bug report was last modified 3 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.