stack_info::walk and alloca don't mix

Corinna Vinschen corinna-cygwin@cygwin.com
Tue May 3 15:44:00 GMT 2011


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



More information about the Cygwin-developers mailing list