From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: 64-bit emacs crashes a lot Date: Fri, 16 Aug 2013 16:33:51 -0400 Message-ID: <520E8CAF.3070601@cornell.edu> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376685265 2199 80.91.229.3 (16 Aug 2013 20:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 20:34:25 +0000 (UTC) Cc: ryan.johnson@cs.utoronto.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 16 22:34:27 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 1VAQj4-0005zk-4L for ged-emacs-devel@m.gmane.org; Fri, 16 Aug 2013 22:34:26 +0200 Original-Received: from localhost ([::1]:33059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAQj3-0008SY-MS for ged-emacs-devel@m.gmane.org; Fri, 16 Aug 2013 16:34:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAQix-0008RY-EM for emacs-devel@gnu.org; Fri, 16 Aug 2013 16:34:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAQis-0008SK-HD for emacs-devel@gnu.org; Fri, 16 Aug 2013 16:34:19 -0400 Original-Received: from limerock01.mail.cornell.edu ([128.84.12.99]:34047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAQin-0008QZ-1z; Fri, 16 Aug 2013 16:34:09 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r7GKXpa7020178; Fri, 16 Aug 2013 16:33:53 -0400 Original-Received: from [128.84.234.244] (dhcp244.math.cornell.edu [128.84.234.244]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r7GKXpf0030565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Aug 2013 16:33:51 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <837gflmnpw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.84.12.99 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:162829 Archived-At: On 8/16/2013 3:37 PM, Eli Zaretskii wrote: >> Date: Fri, 16 Aug 2013 13:12:17 -0400 >> From: Ken Brown >> CC: ryan.johnson@cs.utoronto.ca, emacs-devel@gnu.org >> >> I'm attaching two of them. The first was a SEGV, the second was an abort. > > Both in regex.c. > >> Lisp Backtrace: >> >> Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) >> at emacs.c:341 >> 341 { >> The program being debugged stopped while in a function called from GDB. >> Evaluation of the expression containing the function >> (backtrace_function) will be abandoned. >> When the function is done executing, GDB will silently stop. > > Here, GDB called backtrace_function, which triggered an assertion > violation. Which probably means that the array of specbindings > (specpdl) is corrupted. > > 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 added LDFLAGS='-Wl,--stack,4194304' to the compilation, and the bug is gone. Thank you. Ryan, can you confirm that this fixes the problem for your real uses of M-x compile? Ken