From: "Michał Kondraciuk" <k.michal@zoho.com>
To: 30931@debbugs.gnu.org
Subject: bug#30931: 27.0.50; Crash in "Automatic GC"
Date: Sun, 25 Mar 2018 11:46:16 +0200 [thread overview]
Message-ID: <bbff08a6-316f-7ed4-e3dd-53c7367da200@zoho.com> (raw)
In-Reply-To: <4d245b9b-16be-954e-f98c-c99796e40431@zoho.com>
[-- Attachment #1: Type: text/plain, Size: 2605 bytes --]
On 03/25/2018 04:33 AM, Eli Zaretskii wrote:
>> From: Michał Kondraciuk<k.michal@zoho.com>
>> 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.
>
> Thanks.
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.
(progn
(package-initialize)
(require 'yasnippet)
(require 'ivy)
(yas-reload-all)
(switch-to-buffer "*scratch*")
(lisp-interaction-mode)
(yas-minor-mode-on)
(let ((templates (mapcar #'yas--template-key
(yas--all-templates
(yas--get-snippet-tables)))))
(defun update-fn ()
(with-current-buffer "*scratch*"
(save-restriction
(narrow-to-region 3 3)
(insert " " (ivy-state-current ivy-last))
(yas-expand)
(mapc #'yas-abort-snippet (yas-active-snippets)))
(redisplay)))
(let ((buffer-undo-list t))
(while t
(erase-buffer)
(insert "aaaaaa")
(redisplay)
(sit-for 0.1)
(run-with-timer
0.01 nil (lambda ()
(dotimes (_ (% (random) 15))
(execute-kbd-macro "\C-n")
(sit-for 0.05)
(redisplay)
(when (zerop (% (random) 4))
(execute-kbd-macro "\C-p")
(sit-for 0.05)
(redisplay)))
(sit-for 0.1)
(redisplay)
(abort-recursive-edit)))
(catch 'exit
(condition-case err
(ivy-read "foo: " templates
:update-fn #'update-fn)
(quit)))))))
||||
[-- Attachment #2: Type: text/html, Size: 5443 bytes --]
next parent reply other threads:[~2018-03-25 9:46 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 ` Michał Kondraciuk [this message]
2018-03-26 12:45 ` bug#30931: 27.0.50; Crash in "Automatic GC" Noam Postavsky
2018-03-26 14:20 ` Noam Postavsky
2018-03-26 14:57 ` Michał Kondraciuk
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
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=bbff08a6-316f-7ed4-e3dd-53c7367da200@zoho.com \
--to=k.michal@zoho.com \
--cc=30931@debbugs.gnu.org \
/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).