all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* weird segfault crash
@ 2021-09-01 14:07 Perry E. Metzger
  2021-09-01 14:30 ` Ben Mezger
  2021-09-01 16:30 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Perry E. Metzger @ 2021-09-01 14:07 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-01 19:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-01 14:07 weird segfault crash Perry E. Metzger
2021-09-01 14:30 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.