[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32552: Core dump of Emacs 26.1 due to elisp variable definition
From: |
Barabosch, Thomas |
Subject: |
bug#32552: Core dump of Emacs 26.1 due to elisp variable definition |
Date: |
Tue, 28 Aug 2018 08:05:42 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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/
test_min.el
Description: Text document
- bug#32552: Core dump of Emacs 26.1 due to elisp variable definition,
Barabosch, Thomas <=