[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird segfault crash
From: |
Eli Zaretskii |
Subject: |
Re: weird segfault crash |
Date: |
Wed, 01 Sep 2021 19:30:59 +0300 |
> Date: Wed, 1 Sep 2021 10:07:58 -0400
> From: "Perry E. Metzger" <perry@piermont.com>
>
> 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.
We were trying to print a cons cell as if it were a symbol.
Should be fixed now.