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: Sat, 17 Aug 2013 10:01:39 +0300 Message-ID: <8338q8n6lo.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> <520D900A.8000907@cornell.edu> <834naqnh9t.fsf@gnu.org> <520E0FF8.1070709@cs.utoronto.ca> <83txipn4n4.fsf@gnu.org> <520E3510.8080101@cornell.edu> <83eh9tmyg7.fsf@gnu.org> <520E5D71.3020307@cornell.edu> <837gflmnpw.fsf@gnu.org> <520E8CAF.3070601@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1376722882 7225 80.91.229.3 (17 Aug 2013 07:01:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Aug 2013 07:01:22 +0000 (UTC) Cc: ryan.johnson@cs.utoronto.ca, emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 17 09:01:19 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 1VAaVi-0005yF-Go for ged-emacs-devel@m.gmane.org; Sat, 17 Aug 2013 09:01:18 +0200 Original-Received: from localhost ([::1]:34741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAaVi-0004BJ-4F for ged-emacs-devel@m.gmane.org; Sat, 17 Aug 2013 03:01:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAaVa-0004B9-Q3 for emacs-devel@gnu.org; Sat, 17 Aug 2013 03:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAaVW-0002fb-1r for emacs-devel@gnu.org; Sat, 17 Aug 2013 03:01:10 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAaVV-0002fT-Q4 for emacs-devel@gnu.org; Sat, 17 Aug 2013 03:01:05 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MRN00E00XWTPF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 17 Aug 2013 10:01:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MRN00E4AY5SCTA0@a-mtaout22.012.net.il>; Sat, 17 Aug 2013 10:01:04 +0300 (IDT) In-reply-to: <520E8CAF.3070601@cornell.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:162835 Archived-At: > Date: Fri, 16 Aug 2013 16:33:51 -0400 > From: Ken Brown > CC: ryan.johnson@cs.utoronto.ca, emacs-devel@gnu.org > > > Is it possible that the stack of the 64-bit Cygwin binary is too > > small? Can you try building Emacs with a larger stack? > > You are brilliant! I wish this were true. I'm just a guy with a lot of gray hair. But thanks anyway. > I added LDFLAGS='-Wl,--stack,4194304' to the compilation, and the > bug is gone. Thank you. So what size of stack was Emacs using before that? FWIW, even the 32-bit native Windows build uses twice that number (8MB), so perhaps enlarge the parameter even more. Also please note that Ryan couldn't build with --enable-checking=all because the value of STATIC_HEAP_SIZE in sheap.c was too small. I suggest to enlarge it as needed. Thanks.