From: "Perry E. Metzger" <perry@piermont.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: weird segfault crash
Date: Wed, 1 Sep 2021 10:07:58 -0400 [thread overview]
Message-ID: <156482dc-d4b7-41c4-e169-9c198b8427a4@piermont.com> (raw)
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
next reply other threads:[~2021-09-01 14:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 14:07 Perry E. Metzger [this message]
2021-09-01 14:30 ` weird segfault crash Ben Mezger
2021-09-01 14:42 ` Perry E. Metzger
2021-09-01 16:30 ` Eli Zaretskii
2021-09-01 19:34 ` Perry E. Metzger
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=156482dc-d4b7-41c4-e169-9c198b8427a4@piermont.com \
--to=perry@piermont.com \
--cc=emacs-devel@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).