This is the mail archive of the cygwin-developers 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_info::walk and alloca don't mix


On May  3 10:59, Ryan Johnson wrote:
> Hi all,
> 
> FYI in case anyone else has been seeing strange crashes inside calls
> to api_fatal():
> 
> It seems that functions which use alloca() set up a non-standard
> stack frame which confuses both stack_info::walk and windbg. The
> former tends to either enter an infinite loop or end up executing
> code in la-la land; the latter crashes instantly. Worse, if an

I'm not really concerned about windbg.  What about just fixing
stack_info::walk so that at least it doesn't enter an infinite loop?


Corinna

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


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