emacs-devel
[Top][All Lists]
Advanced

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

weird segfault crash


From: Perry E. Metzger
Subject: weird segfault crash
Date: Wed, 1 Sep 2021 10:07:58 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Thunderbird/92.0

Howdy! While playing with my current project I discovered the following crash.

Enter this into *scratch* and eval it, then hit F19. At least on master under MacOS, emacs will crash with a segmentation fault.

(setq foo '(hi))

(define-key key-translation-map (kbd "<f19>")
  (lambda (n)
    (interactive "p")
    (setq foo (append foo '(there)))))

Note that if you replace the last form with (setq foo nil), the crash does not happen.

I'm kind of mystified by this, and not sure how to debug it.


Perry




reply via email to

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