[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22051: Byte compilation of "(funcall)" causes segfault when run.
From: |
Alan Mackenzie |
Subject: |
bug#22051: Byte compilation of "(funcall)" causes segfault when run. |
Date: |
29 Nov 2015 16:25:20 -0000 |
User-agent: |
tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.1-RELEASE-p16 (amd64)) |
In article <mailman.941.1448813109.31583.bug-gnu-emacs@gnu.org> you wrote:
> Hello, Emacs.
> Start Emacs 25 with emacs -Q.
> Type the following Lisp function into *scratch*:
> (defun foo ()
> (funcall))
> , and byte compile it with M-x compile-defun.
> Do M-: (foo) <CR>.
> Emacs segfaults.
> (Reported by Johan Bockgård <bojohan@gnu.org> as an aside to bug
> #20241.)
Bug fixed by the compiler (i) emitting an error message; (ii) generating code
to signal a `wrong-number-of-arguments' error.
--
Alan Mackenzie (Nuremberg, Germany).