[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: Sun, 25 Mar 2018 11:46:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/25/2018 04:33 AM, Eli Zaretskii wrote:
From: Michał Kondraciuk <address@hidden>
Date: Sat, 24 Mar 2018 21:30:56 +0100

Newest Emacs (and 25.3) crashes for me. Unfortunately I can only 
reproduce this using newest versions of Ivy and yasnippet packages.
Please post a reproduction recipe starting with "emacs -Q" and loading
the necessary packages.


1. emacs -Q
2. M-x package-initialize
3. Evaluate:  (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) 4. M-x package-refresh-contents 5. M-x package-install RET ivy RET 6. M-x package-install RET yasnippet RET 7. M-x package-install RET yasnippet-snippets RET
8. Evaluate form below.
9. Wait 1-10 minutes.

  (require 'yasnippet)
  (require 'ivy)


  (switch-to-buffer "*scratch*")

  (let ((templates (mapcar #'yas--template-key
                           (yas--all-templates (yas--get-snippet-tables)))))
    (defun update-fn ()
      (with-current-buffer "*scratch*"
          (narrow-to-region 3 3)
          (insert " " (ivy-state-current ivy-last))
          (mapc #'yas-abort-snippet (yas-active-snippets)))
    (let ((buffer-undo-list t))
      (while t
        (insert "aaaaaa")
        (sit-for 0.1)
         0.01 nil (lambda ()
                    (dotimes (_ (% (random) 15))
                      (execute-kbd-macro "\C-n")
                      (sit-for 0.05)
                      (when (zerop (% (random) 4))
                        (execute-kbd-macro "\C-p")
                        (sit-for 0.05)
                    (sit-for 0.1)
        (catch 'exit
          (condition-case err
              (ivy-read "foo: " templates
                        :update-fn #'update-fn)

reply via email to

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