--- Begin Message ---
Subject: |
Byte compilation of "(funcall)" causes segfault when run. |
Date: |
Sun, 29 Nov 2015 15:59:36 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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 <address@hidden> as an aside to bug
#20241.)
--
Alan Mackenzie (Nuremberg, Germany).
--- End Message ---
--- Begin Message ---
Subject: |
Re: 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 <address@hidden> 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 <address@hidden> 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).
--- End Message ---