This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: stack_info::walk and alloca don't mix
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Tue, 3 May 2011 17:43:26 +0200
- Subject: Re: stack_info::walk and alloca don't mix
- References: <4DC01861.4090501@cs.utoronto.ca>
- Reply-to: cygwin-developers at cygwin dot com
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