From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: 64-bit emacs crashes a lot Date: Fri, 16 Aug 2013 16:10:25 +0300 Message-ID: <83zjshn5mm.fsf@gnu.org> References: <51F3151D.7040000@cs.utoronto.ca> <51F33565.1090406@cornell.edu> <51F33F52.4060405@cs.utoronto.ca> <51FB1D9E.5090102@cs.utoronto.ca> <20130802080211.GA18054@calimero.vinschen.de> <51FB9228.2020309@cornell.edu> <51FBA100.90005@cs.utoronto.ca> <51FD5462.5020400@cs.utoronto.ca> <51FFBDFF.7040501@cornell.edu> <51FFC4F2.8080909@cs.utoronto.ca> <5203D89E.6030801@cornell.edu> <5203DCCA.1010105@cs.utoronto.ca> <5205B364.8090007@cs.utoronto.ca> <52064730.50404@cornell.edu> <"52065B3C.6060104@cs.utoronto <520CCA41.3000107"@cs.utoronto.ca> <520D089A.1020806@cornell.edu> <83ioz6op5v.fsf@gnu.org> <520D4036.8010303@cs.utoronto.ca> <8361v6nhdb.fsf@gnu.org> <520E0F11.6050306@cs.utoronto.ca> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1376658659 28556 80.91.229.3 (16 Aug 2013 13:10:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 13:10:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ryan Johnson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 16 15:11:01 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VAJnu-0006dn-3H for ged-emacs-devel@m.gmane.org; Fri, 16 Aug 2013 15:10:58 +0200 Original-Received: from localhost ([::1]:58872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAJnt-0004os-L2 for ged-emacs-devel@m.gmane.org; Fri, 16 Aug 2013 09:10:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAJnf-0004X3-5o for emacs-devel@gnu.org; Fri, 16 Aug 2013 09:10:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAJnW-0002th-Dd for emacs-devel@gnu.org; Fri, 16 Aug 2013 09:10:43 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:64083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAJnV-0002t9-Ov for emacs-devel@gnu.org; Fri, 16 Aug 2013 09:10:34 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MRM00I00KGA2D00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 16 Aug 2013 16:09:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MRM00H0CKKGRLA0@a-mtaout20.012.net.il>; Fri, 16 Aug 2013 16:09:54 +0300 (IDT) In-reply-to: <520E0F11.6050306@cs.utoronto.ca> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162809 Archived-At: > Date: Fri, 16 Aug 2013 07:37:53 -0400 > From: Ryan Johnson > CC: emacs-devel@gnu.org > > Re die as soon as possible: We're in violent agreement: I argued > that---if 5-byte UTF-8 is illegal---emacs should abort at the decoding > stage (= earlier) rather than at some later point when it discovers the > too-large value. If Emacs can discover this when it decodes text, it does trigger an error. But sometimes the buffer is corrupted later, which I think what happened in your case.