This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: SEGV in conv_path_list_buf_size with xemacs-21.5-b13 and cygwin-1.3.22-1
On Thu, Jun 05, 2003 at 02:25:56PM -0500, Pete McCann wrote:
>int __stdcall stat_worker (const char *name, struct __stat64 *buf, int nofollow,
> path_conv *pc = NULL) __attribute__ ((regparm (3)));
>
>So, nofollow and pc should have both been 0 coming in (although I see
>pc getting reset to &real_path). Is this a case of stack corruption
>somewhere?
Maybe. Do you see the same thing with non-failing cases, though.
>Some bad interaction with the regparm() attribute?
Unlikely.
>Could the debugger be getting confused?
Very likely. Are you building cygwin with just '-g' and not with '-O2 -g'?
Adding optimization can certainly cause confusion.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/