[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30931: 27.0.50; Crash in "Automatic GC"

From: Michał Kondraciuk
Subject: bug#30931: 27.0.50; Crash in "Automatic GC"
Date: Mon, 26 Mar 2018 16:57:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

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):

  (require 'yasnippet)

  (defun crash (key)
      (narrow-to-region 1 1)
      (insert " " key)

  (with-current-buffer "*scratch*"
    (let ((buffer-undo-list t))
      (while t
        (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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]