From: "Michał Kondraciuk" <k.michal@zoho.com>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 30931@debbugs.gnu.org
Subject: bug#30931: 27.0.50; Crash in "Automatic GC"
Date: Mon, 26 Mar 2018 16:57:53 +0200 [thread overview]
Message-ID: <a572c9cb-a763-91e0-ba76-a72116e0283c@zoho.com> (raw)
In-Reply-To: <87a7uurk8w.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]
On 03/26/2018 04:20 PM, Noam Postavsky wrote:
> Michał, is the binding of buffer-undo-list significant for
> your reproduction (i.e., did the original crash happen in an
> undo-disabled buffer)?
Yes, originally it crashed with buffer-undo-list bound to t.
Today I was able to reproduce this crash without using Ivy. It crashes
much faster (typically about 15 seconds):
(progn
(package-initialize)
(require 'yasnippet)
(defun crash (key)
(save-restriction
(narrow-to-region 1 1)
(insert " " key)
(yas-expand)))
(with-current-buffer "*scratch*"
(yas-minor-mode-on)
(let ((buffer-undo-list t))
(while t
(erase-buffer)
(dolist (key '("def" "ah"))
(run-with-idle-timer 0.0 nil #'crash key)
(crash key))))))
Also, If I remove calls to save-restriction and narrow-to-region, Emacs
doesn't crash. Or at least, it was running fine for 30 minutes until I
killed Emacs.
[-- Attachment #2: Type: text/html, Size: 1677 bytes --]
next prev parent reply other threads:[~2018-03-26 14:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4d245b9b-16be-954e-f98c-c99796e40431@zoho.com>
2018-03-25 9:46 ` bug#30931: 27.0.50; Crash in "Automatic GC" Michał Kondraciuk
2018-03-26 12:45 ` Noam Postavsky
2018-03-26 14:20 ` Noam Postavsky
2018-03-26 14:57 ` Michał Kondraciuk [this message]
2018-03-24 20:30 Michał Kondraciuk
2018-03-25 2:33 ` Eli Zaretskii
2018-03-28 21:02 ` Michał Kondraciuk
2018-03-29 23:47 ` Noam Postavsky
2018-03-30 5:39 ` Noam Postavsky
2018-03-30 8:16 ` Eli Zaretskii
2018-03-29 15:52 ` Michał Kondraciuk
2018-04-19 23:42 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a572c9cb-a763-91e0-ba76-a72116e0283c@zoho.com \
--to=k.michal@zoho.com \
--cc=30931@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.