From: "Barabosch, Thomas" <thomas.barabosch@fkie.fraunhofer.de>
To: 32552@debbugs.gnu.org
Cc: "Barabosch, Thomas" <thomas.barabosch@fkie.fraunhofer.de>
Subject: bug#32552: Core dump of Emacs 26.1 due to elisp variable definition
Date: Tue, 28 Aug 2018 08:05:42 +0200 [thread overview]
Message-ID: <c5d836d1-ef88-465a-8cac-b324aa88ef4a@fkie.fraunhofer.de> (raw)
[-- 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")
next reply other threads:[~2018-08-28 6:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 6:05 Barabosch, Thomas [this message]
2018-08-28 7:22 ` bug#32552: Core dump of Emacs 26.1 due to elisp variable definition Eli Zaretskii
2018-09-01 14:01 ` Eli Zaretskii
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=c5d836d1-ef88-465a-8cac-b324aa88ef4a@fkie.fraunhofer.de \
--to=thomas.barabosch@fkie.fraunhofer.de \
--cc=32552@debbugs.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).