all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32552: Core dump of Emacs 26.1 due to elisp variable definition
@ 2018-08-28  6:05 Barabosch, Thomas
  2018-08-28  7:22 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Barabosch, Thomas @ 2018-08-28  6:05 UTC (permalink / raw)
  To: 32552; +Cc: Barabosch, Thomas

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

Hello,

the following piece of elisp crashes Emacs 26.1 (core dump):

> ;;; -*- lexical-binding: t -*-
> (defvar ;dead-beef* (symbol-function #'dead-beef)
>     "Some random description")

Note a couple of things:

- lexical binding seems to be important (otherwise no crash)

- ; seems to be the major cause

- the variable definition must be split across two lines

Please find attached a minimal proof of concept. You should be able to
reproduce the crash with 'emacs -Q --script test_min.el'.

Best regards,

Thomas

-- 
Thomas Barabosch

Fraunhofer FKIE                        Tel.:   +49 228 50212-601
Cyber Analysis & Defense               Fax:    +49 228 73-4571
Zanderstraße 5                         D-53113 Bonn, Germany
http://www.fkie.fraunhofer.de/



[-- Attachment #2: test_min.el --]
[-- Type: text/plain, Size: 112 bytes --]

;;; -*- lexical-binding: t -*-
(defvar ;dead-beef* (symbol-function #'dead-beef)
    "Some random description")

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

end of thread, other threads:[~2018-09-01 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28  6:05 bug#32552: Core dump of Emacs 26.1 due to elisp variable definition Barabosch, Thomas
2018-08-28  7:22 ` Eli Zaretskii
2018-09-01 14:01   ` Eli Zaretskii

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.