This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stack size on 64-bit Cygwin


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?
> 
> Good question.  I don't know.

And then again, Emacs is not exactly an STC for *any* problem...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpGL9RuA3ki0.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]