X-Recipient: archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=Kn81JiTcY2505IR+VpHk6I5/BaoE63zGeJMmsiV4PO3Wq/DPruP8d YlhUkIYFTyXusDOVsJ0C0h6SMI37yLjCu4/SUwbM4GN3PvEoJjtCc/kqzEDWxw6v es7FIC7swyEbR0q//32UwHxLbVKTMwPt0fBMBtVHuklZY7LFbRlNFY= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=kB+yFme0J+XzfT1VSJGPmOlIk68=; b=Hh+ZqRBz+qVmS/nn5EYEd7ixp074 mAr3XWBREFHxQNdUnhxQYcF15PrFsFrO8IGA7x4onpm62GkpfqiOtPshU6Z1Re+j qeJtXN8fAXBaUnxNx/Kwj8nss/PalKaxsn/n55bRS8rU4cjn8Wg77Z7QJIq6uT0q FIVzWTMWYyPvxOg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED autolearn=ham version=3.3.2 Date: Mon, 19 Aug 2013 14:42:20 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Stack size on 64-bit Cygwin Message-ID: <20130819124220.GB31248@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <520E905A DOT 409 AT cornell DOT edu> <20130819093242 DOT GB18757 AT calimero DOT vinschen DOT de> <5211F83A DOT 30901 AT cs DOT utoronto DOT ca> <5211FBB6 DOT 6070108 AT cs DOT utoronto DOT ca> <20130819113919 DOT GA29385 AT calimero DOT vinschen DOT de> <521204EA DOT 6020607 AT cs DOT utoronto DOT ca> <20130819123612 DOT GA31248 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: <20130819123612.GA31248@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Found: No --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 19 14:36, Corinna Vinschen wrote: > On Aug 19 07:43, Ryan Johnson wrote: > > On 19/08/2013 7:39 AM, Corinna Vinschen wrote: > > >On Aug 19 07:04, Ryan Johnson wrote: > > >>So maybe emacs just had the incredibly bad luck to alloca() a large > > >>buffer right at end-of-stack and then somehow managed to skip over > > >>the 4 guard pages when accessing it? > > >That's unlikely since alloca is designed to probe the stack in 4K > > >steps. And STATUS_STACK_OVERFLOW is translated to a SEGV by Cygwin's > > >exception handler. > > ... and yet somehow emacs managed to get around that protection > > (unintentially), leading to all that fun over the last week. What > > went wrong? >=20 > Good question. I don't know. And then again, Emacs is not exactly an STC for *any* problem... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSEhKrAAoJEPU2Bp2uRE+g4iAP/RpadYPBeV+b4Mja4PaVQQMq J1c4yu+3D+WYtXzpDdX5ZirZyY1UzfQVQfTzC7d7yo4NjQ08EPb4gr0Gwk2AyXCk oFW5iVEcyKgm70gZ29kH7NHwUwaDxPsHm78FWTr7l91R0v1sLB+AHXsDmR6VAkjy RUC2mlPbeh8UoQrq5PxdgV/vIOYzr1tDFEsQ6eMnPnApgxLbCjE6+SRP4vfMYesR zBwbM1D/2Ot/A7MPv0AwLhT4CRClQw8FQDPmjAszzKw3c3JsiMGa8NBSRnWUCQCQ rNjQOTNghRvqRW3tPB1hJy2/vH3sFJGPJeyuNHJIIQ/Nsle2i60EKD4OW73wMAao y6sC0rRkgm+pY8k31AlN2BJEKC1fZ56h1r3IfsLqdA1PWog9dAxfp+eFSaL3tFpf JiRGCsOr4EljXWNil+Yg3BuQwv5vq1MdRyPBuOQIYU3ey9Jpksyx8zSdiG/0dhsf 6/Wi1QFsUW7pgNJoACaDWQ1aPgopRnYoJWPVvMehi+hQZTj8mB8SNZh2C7AJxmhV xsnsE7OSlQIZ2xaJ0j7rwgZLuVFKa4YSOab7fRX9Kq81pE5twD6gEEk2ehJvqtYa yEy4KAJThI9K4XzqmdQyBOi4mWflQwIbKEjidiULgx7WR4uHDUVFTxdKbxrNXhpq NuZdjtGF/DbMSet2C0av =Vifb -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--