X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=KGuvJu5wubLKK+/DYwYV4yDy29fhAyKAyguh7xcY2PE
	2uThlQcDqqYe6ItTMPWJh5LL6hV50WfeifzWVYN+4G3oqpOLJvvRVrIhvnSJjZT4
	D2FoWI3/rkT262ZDE6ofZblHkgwFDnsK2fVGZ4BzqYxp4E/RXEKSO5qql++Xxhec
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=OOXWaOnI+sR7zqUqgsFRZ53ZNk0=; b=p+ZeahyMvs9brGPSA
	sS7uHr8J7qSplqr5sgO4LOKNKIUTG7owXtztCOVhj5QvgH9oPgMf6JPNRQLgML8m
	GK3/CV/UfSTloZiYuLzlzjv5JiHeYFoT7q5CiGP8CO2SJk3MBVHbaGgvwL+kg2E7
	b3cd9tf30MvXSUNuPiCecOlJh4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_NEUTRAL autolearn=ham version=3.3.2
Message-ID: <520D589B.9090002@cs.utoronto.ca>
Date: Thu, 15 Aug 2013 18:39:23 -0400
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 64-bit emacs crashes a lot
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> <520D44B9.7090206@cornell.edu> <520D4725.3030503@cs.utoronto.ca> <520D4F07.8050007@cornell.edu>
In-Reply-To: <520D4F07.8050007@cornell.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 15/08/2013 5:58 PM, Ken Brown wrote:
> On 8/15/2013 5:24 PM, Ryan Johnson wrote:
>> On 15/08/2013 5:14 PM, Ken Brown wrote:
>>> On 8/15/2013 4:55 PM, Ryan Johnson wrote:
>>>> Program received signal SIGSEGV, Segmentation fault.
>>>> ___chkstk_ms () at
>>>> /usr/src/debug/gcc-4.8.1-1/libgcc/config/i386/cygwin.S:146
>>>
>>> You're not using the latest gcc, which is 4.8.1-3.  Any chance that
>>> that's your problem?
>> Heh. I actually do have the latest gcc, but somehow the upgrade didn't
>> pick up the debug package (which showed as not installed in setup.exe).
>> I have manually upgraded it now.
>
> OK.  But doesn't the above show that the crash is occurring in gcc, 
> not emacs?
It's trying to grow the stack for alloca and something went wrong, I 
believe (though I didn't see where re_match_2_internal calls alloca)

>
>> BTW, how do you compile emacs from the sources given? I tried untarring
>> and patching, but I get the message:
>>> configure: error: Emacs hasn't been ported to `x86_64-unknown-cygwin'
>>> systems.
>>> Check `etc/MACHINES' for recognized configuration names.
>
> One of the patches changes configure.ac, so you have to run autoreconf 
> after applying it.
Hmm...

$ autoreconf -if
lib/gnulib.mk:42: GL_GENERATE_ALLOCA_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:121: gl_GNULIB_ENABLED_dosname does not appear in 
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:159: GL_GENERATE_EXECINFO_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:224: gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36 
does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:323: gl_GNULIB_ENABLED_pathmax does not appear in 
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:482: gl_GNULIB_ENABLED_stat does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:505: GL_GENERATE_STDALIGN_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:528: GL_GENERATE_STDARG_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:556: GL_GENERATE_STDBOOL_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:579: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:609: GL_GENERATE_STDINT_H does not appear in AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:901: gl_GNULIB_ENABLED_strtoll does not appear in 
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:912: gl_GNULIB_ENABLED_strtoull does not appear in 
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/gnulib.mk:1308: gl_GNULIB_ENABLED_verify does not appear in 
AM_CONDITIONAL
lib/Makefile.am:10:   `lib/gnulib.mk' included from here
lib/Makefile.am:5: library used but `RANLIB' is undefined
lib/Makefile.am:5:   The usual way to define `RANLIB' is to add 
`AC_PROG_RANLIB'
lib/Makefile.am:5:   to `configure.ac' and run `autoconf' again.
autoreconf-2.69: automake failed with exit status: 1

Did I miss something?

Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

