This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Patch for silent crash with Cygwin1.dll v 1.5.19-4
- From: Gary Zablackis <gzabl at yahoo dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 3 Mar 2006 09:13:53 -0800 (PST)
- Subject: Re: Patch for silent crash with Cygwin1.dll v 1.5.19-4
--- Christopher Faylor
<cgf-no-personal-reply-please@cygwin.com> wrote:
> The "efault.faulted()" two lines above your change
> is supposed to catch
> NULL dereferences. I suspect that you were probably
> misled by the fact
> that gdb might show a SEGV in this function but that
> is to be expected
> (see lots of discussion in the cygwin mailing list
> about this) and there
> are patches pending for gdb which will work around
> this behavior.
>
> So, sorry, but I doubt that this is actually your
> problem.
>
> cgf
>
Christopher,
Actually, as far as I can see, the "efault.faulted()"
does NOT catch the NULL dereference, unless it is
confused about where to return. If it did, the code I
added should not stop my program from crashing. I will
go back and look into this further, though, to see if
I have missed something.
Thanks for your time.
Gary
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com