emacs-devel
[Top][All Lists]
Advanced

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

Re: weird segfault crash


From: Ben Mezger
Subject: Re: weird segfault crash
Date: Wed, 01 Sep 2021 11:30:41 -0300
User-agent: mu4e 1.6.4; emacs 28.0.50

Are you able to run with lldb --file /path/to/emacs/bin and see the
traceback with bt? I am unable to test this out atm.


"Perry E. Metzger" <perry@piermont.com> writes:

> 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


--
Kind regards,
Met een vriendelijke groet,
Atenciosamente,

Ben Mezger

https://seds.nl
https://github.com/benmezger



reply via email to

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