From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#22051: Byte compilation of "(funcall)" causes segfault when run. Date: 29 Nov 2015 16:25:20 -0000 Organization: muc.de e.V. Message-ID: <20151129162520.77979.qmail@mail.muc.de> References: <20151129155936.GA1883@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448814384 20579 80.91.229.3 (29 Nov 2015 16:26:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 16:26:24 +0000 (UTC) Cc: Alan Mackenzie To: 22051-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 29 17:26:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a34ne-0001Pj-1J for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 17:26:06 +0100 Original-Received: from localhost ([::1]:36854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34ni-0006QP-0T for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 11:26:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34ne-0006Nc-Ep for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a34na-0002z7-Fx for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:26:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34na-0002yx-D6 for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a34na-0007dV-8a for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:26:02 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Nov 2015 16:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 22051@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 22051-done@debbugs.gnu.org id=D22051.144881432429305 (code D ref 22051); Sun, 29 Nov 2015 16:26:01 +0000 Original-Received: (at 22051-done) by debbugs.gnu.org; 29 Nov 2015 16:25:24 +0000 Original-Received: from localhost ([127.0.0.1]:59605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a34my-0007ca-7F for submit@debbugs.gnu.org; Sun, 29 Nov 2015 11:25:24 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:59587) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a34mv-0007cQ-Oi for 22051-done@debbugs.gnu.org; Sun, 29 Nov 2015 11:25:22 -0500 Original-Received: (qmail 77980 invoked by uid 3782); 29 Nov 2015 16:25:20 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.1-RELEASE-p16 (amd64)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109406 Archived-At: In article 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) . > Emacs segfaults. > (Reported by Johan Bockg=C3=A5rd 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. --=20 Alan Mackenzie (Nuremberg, Germany).