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: Thu, 06 Jul 2017 03:46:35 +0000 Message-ID: <1499312795.32152.3@ssh.steve.org.uk> References: <1499235670.28433.1@ssh.steve.org.uk> <83van6n2ty.fsf@gnu.org> <1499280931.14677.1@ssh.steve.org.uk> <83tw2qmzsl.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499313200 10884 195.159.176.226 (6 Jul 2017 03:53:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2017 03:53:20 +0000 (UTC) To: 27585@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 06 05:53:16 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 1dSxqp-0002IX-57 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jul 2017 05:53:11 +0200 Original-Received: from localhost ([::1]:49086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSxqs-0004I8-QZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 23:53:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSxqk-0004Hz-A4 for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 23:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSxqh-0005Uo-7W for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 23:53:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSxqg-0005UU-VP for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 23:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSxqg-0003aA-7S for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 23:53: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: Thu, 06 Jul 2017 03:53: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.149931317813758 (code B ref 27585); Thu, 06 Jul 2017 03:53:02 +0000 Original-Received: (at 27585) by debbugs.gnu.org; 6 Jul 2017 03:52:58 +0000 Original-Received: from localhost ([127.0.0.1]:54014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSxqb-0003Zq-Qj for submit@debbugs.gnu.org; Wed, 05 Jul 2017 23:52:57 -0400 Original-Received: from mail.steve.org.uk ([80.68.84.102]:35905 helo=ssh.steve.org.uk) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSxqa-0003Zb-1J for 27585@debbugs.gnu.org; Wed, 05 Jul 2017 23:52:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=steve.org.uk; s=20150726; h=References:In-Reply-To:Message-ID:Date:Subject:From:To; bh=JkTvwmmKwoHiH+NU594eIm3izNymPn0ig8TUdfisR2I=; b=mOJaIc3PDAECg881Hl7dOGOOr5h0TTWz5//AgfUbCPZ4CUKrIImIxxO4xszJVpj4Arb9QAeUkTwaNs4lQXmm5xwbdWJYHPeeJ8P+eSb6FBg453cyHofq4w4mtAbeaIs+KkTYItbgRI08l5hwFRiiQSxi7fYPIOLT27x92/2Dk10=; Original-Received: from steve by ssh.steve.org.uk with local (Exim 4.84_2) (envelope-from ) id 1dSxqT-0008PJ-66 for 27585@debbugs.gnu.org; Thu, 06 Jul 2017 03:52:49 +0000 In-Reply-To: <83tw2qmzsl.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:134239 Archived-At: > > I expect evaluating lisp to not kill the editor > > Valid Lisp, I agree. But yours isn't. Here we disagree. I enjoy reporting bugs when invalid things are tried, because I expect software to be robust, or as much as possible. If you feed invalid script to gawk, perl, emacs, etc, etc, I expect an error not a segfault. I appreciate there are often difficult cases, such as infinite recursion, division by zero, and memory exhaustion, but the idea that ones programming environment is free to crash if your code is wrong is .. unpleasant. > > In the real world? Nobody. > > Then why are we discussing this use case? Let's talk about > more practical and interesting cases. I read from this that I should not bother running any more fuzzing, after all if it does result in any crashes they're a result of bogus-coding that would never be hit in the real world. That's unfortunate, but I've no particular wish to argue in public. I will follow your suggestion. Bug left open because it crashes for me, if it fails to crash for others with a somewhat reasonable error message I guess that is good. Steve --