From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Steve Kemp Newsgroups: gmane.emacs.bugs Subject: bug#27585: segfault when evaluating a file containing only backticks Date: Sat, 15 Jul 2017 05:03:08 +0000 Message-ID: <20170715050308.GA16419@steve.org.uk> References: <1499235670.28433.1@ssh.steve.org.uk> <070206be-9f8b-a324-0650-fd21b37a4132@cs.ucla.edu> <83mv87f8nr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1500095064 16185 195.159.176.226 (15 Jul 2017 05:04:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Jul 2017 05:04:24 +0000 (UTC) User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Paul Eggert , 27585@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 15 07:04:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWFFS-0003Px-Vr for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jul 2017 07:04:11 +0200 Original-Received: from localhost ([::1]:40777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWFFT-0002ab-Qj for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jul 2017 01:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWFFO-0002ZV-1D for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 01:04:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWFFK-0004ZV-Q1 for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 01:04:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWFFK-0004Z2-Lt for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 01:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWFFK-0006hB-6h for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 01:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Kemp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jul 2017 05:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27585 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27585-submit@debbugs.gnu.org id=B27585.150009500325677 (code B ref 27585); Sat, 15 Jul 2017 05:04:02 +0000 Original-Received: (at 27585) by debbugs.gnu.org; 15 Jul 2017 05:03:23 +0000 Original-Received: from localhost ([127.0.0.1]:39446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWFEg-0006g5-Uv for submit@debbugs.gnu.org; Sat, 15 Jul 2017 01:03:23 -0400 Original-Received: from mail.steve.org.uk ([80.68.84.102]:59959 helo=ssh.steve.org.uk) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWFEe-0006fo-Uh for 27585@debbugs.gnu.org; Sat, 15 Jul 2017 01:03:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=steve.org.uk; s=20150726; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=dRnDsIr6gyBuQpQM6yx0A5bfuhp76xJIBwLjmOZufmM=; b=EaOUO2WVxz/GHzN7RQGXmmYvfcde4MMPVZPGHVe7RZV/rd0NzWOb1m9NuCEjuDWXsEUCELLZcAJ/wHAEvS0Ey9OK2TgoeaZx9xAPJ7E2QfJxBQxjfzjZ+fj78hHX9Vaeq6ELwq23qi4OKJDxwP1oBxs4kOG1gH5GMbkNU2HdyQo=; Original-Received: from steve by ssh.steve.org.uk with local (Exim 4.84_2) (envelope-from ) id 1dWFES-0004Nn-FY; Sat, 15 Jul 2017 05:03:08 +0000 Content-Disposition: inline In-Reply-To: <83mv87f8nr.fsf@gnu.org> X-added-header: steve.org.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:134576 Archived-At: On Fri Jul 14, 2017 at 16:30:16 +0300, Eli Zaretskii wrote: > > It's good that we fixed this bug (though I hope "normal" users never > > notice the bug fix :-). > > Indeed, thanks. Thanks again. I do note one behaviour change though, which is perhaps worth noting. Previously this segfaulted: $ perl -e 'print "," x ( 1024 * 1024 * 12);' > t.el $ /tmp/emacs/bin/emacs -Q --batch --script ./t.el Now it does not, as the bug is fixed, but I'd expect the emacs process to terminate when the script is loaded. That doesn't happen though: $ /tmp/emacs/bin/emacs -Q --batch --script ./t.el Re-entering top level after C stack overflow [emacs still running] Compare that with the normal example: $ echo "(defun foo() "Test")" > t.el $ /tmp/emacs/bin/emacs -Q --batch --script ./t.el $ Perhaps not a huge problem, but it is a change I think? Steve -- https://steve.fi/