From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: Re: Bug in Win32 version of emacs on x64 machines Date: Wed, 18 Jul 2007 23:49:15 +0100 Message-ID: <469E98EB.8070206@gnu.org> References: <3BC2DCB52AF45F4FB3CBB131653CDF6C1C590A@vamsexch.mks.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184799783 7302 80.91.229.12 (18 Jul 2007 23:03:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2007 23:03:03 +0000 (UTC) To: Eric Youngdale Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 01:03:01 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IBIXt-0000cA-05 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2007 01:03:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBIXs-0008LF-MP for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jul 2007 19:03:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBIXp-0008L8-UA for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2007 19:02:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBIXo-0008Kv-9j for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2007 19:02:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBIXo-0008Ks-6Q for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2007 19:02:56 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IBIXn-00079L-Kq for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2007 19:02:55 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id EF9F45305B for ; Thu, 19 Jul 2007 00:02:53 +0100 (BST) Resent-From: Jason Rumney Resent-To: Bug-Gnu-Emacs Resent-Date: Thu, 19 Jul 2007 00:02:43 +0100 Resent-Message-Id: <469E9C13.9050807@f2s.com> Resent-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) In-Reply-To: <3BC2DCB52AF45F4FB3CBB131653CDF6C1C590A@vamsexch.mks.com> X-detected-kernel: Linux 2.4-2.6 Resent-Date: Wed, 18 Jul 2007 19:02:57 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16173 Archived-At: Eric Youngdale wrote: > If you are running the 32-bit version of emacs on a 64-bit machine with > a 64-bit version of windows, and the SHELL environment variable points > to a 64-bit executable, then M-x shell will cause emacs to crash. > Thanks for the report and the patch. I checked in a slightly different patch, as I noticed that the same structure dereferencing problem exists with the is_gui check, though in that case it won't cause a crash, just get it wrong.