From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Zheng Newsgroups: gmane.emacs.bugs Subject: bug#18339: 24.4.50; Inserting '$' in TeX-mode cause Emacs crashed in MS-Windows with trunk. Date: Sat, 30 Aug 2014 19:53:04 +0800 Message-ID: <20140830.195304.2080902919796620757.chriszheng99@gmail.com> References: <8361hdk96f.fsf@gnu.org> <20140828.130721.194542882098872745.chriszheng99@gmail.com> <83wq9sinj5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409399666 2753 80.91.229.3 (30 Aug 2014 11:54:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2014 11:54:26 +0000 (UTC) Cc: 18339-done@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 13:54:19 2014 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 1XNhEY-0002NI-7l for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 13:54:18 +0200 Original-Received: from localhost ([::1]:46211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNhEX-0007LW-NI for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 07:54:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNhEO-0007DL-CX for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 07:54:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNhEI-0004Pm-G4 for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 07:54:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNhEI-0004Pi-Cs for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 07:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XNhEH-0008SL-Uf for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chris Zheng Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Aug 2014 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18339-done@debbugs.gnu.org id=D18339.140939960332444 (code D ref 18339); Sat, 30 Aug 2014 11:54:01 +0000 Original-Received: (at 18339-done) by debbugs.gnu.org; 30 Aug 2014 11:53:23 +0000 Original-Received: from localhost ([127.0.0.1]:54033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNhDe-0008RD-Pp for submit@debbugs.gnu.org; Sat, 30 Aug 2014 07:53:23 -0400 Original-Received: from mail-pd0-f177.google.com ([209.85.192.177]:36491) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNhDd-0008R1-3a for 18339-done@debbugs.gnu.org; Sat, 30 Aug 2014 07:53:21 -0400 Original-Received: by mail-pd0-f177.google.com with SMTP id r10so2294137pdi.36 for <18339-done@debbugs.gnu.org>; Sat, 30 Aug 2014 04:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=b5YPXCYzdTmPZMD5uehU3rQ3lnqg3+S/xpcG6+1ATws=; b=uRze7YrTfXwX0xLP7PPqHv7xbntJHZQyvudq4A0z3xtEyeNBhGahN022u8eELO7C7R aZJFdd0rFLE5Cix68fpRZVO8nU8ajYPw6Fq9VGdq70whqHkc+/W37jwAM68vBmS5y59Z GMOJRIwLvBfp97NFcELL7J1sNYSA81b3ZPA6x04u4rQh4rT2Bh0BaB02UFPqkvTzZA7F dvd1lVUD6sT0kJL4cM3U4tZ499fWS6lKokBseUksPkK6BGixtVK1jEzTrXANcXR96U4Q e0HeTHY25rZJ/3hroH1XmgY+FnGVVd4SGWdPHH/nImKlyNGKz7a/wmXO8o9VUmo/hZ4f ul2w== X-Received: by 10.68.69.7 with SMTP id a7mr23578707pbu.49.1409399594724; Sat, 30 Aug 2014 04:53:14 -0700 (PDT) Original-Received: from localhost ([211.64.141.155]) by mx.google.com with ESMTPSA id ct1sm3852200pdb.64.2014.08.30.04.53.12 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 30 Aug 2014 04:53:13 -0700 (PDT) In-Reply-To: <83wq9sinj5.fsf@gnu.org> X-Mailer: Mew version 6.6 on Emacs 24.4.50 / Mule 6.0 (HANACHIRUSATO) 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: 140.186.70.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:92851 Archived-At: From: Eli Zaretskii Subject: Re: bug#18339: 24.4.50; Inserting '$' in TeX-mode cause Emacs crashed in MS-Windows with trunk. Date: Thu, 28 Aug 2014 19:31:26 +0300 > I installed in the trunk because I couldn't reproduce the problem in > the emacs-24 branch. But you are right: the same faulty code is on > the branch, so I now backported the fix there (r117463). Thanks. > The buggy code examines memory 1 byte before an allocated buffer, so > the chance of that being outside the program's address space is > evidently quite small. > > Memory management on Windows changed dramatically between emacs-24 > branch and the trunk, so I guess this is the main reason that the bug > was exposed. Now I know. Thanks for your interpretation.