[patch] recognise when an exec()d process terminates due to unhandled exception

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Mar 14 14:13:00 GMT 2008

On Thu, Mar 13, 2008 at 07:46:37PM -0700, Brian Dessent wrote:
>Brian Dessent wrote:
>> As we all know, Cygwin calls SetErrorMode (SEM_FAILCRITICALERRORS) to
>> suppress those pop up GUI messageboxes from the operating system when 
>Oh, I forgot to mention:
>In the course of testing this I came to realize that because of some
>sort of "retry if fork doesn't seem to be working" code (not sure of the
>details), every time that this situation comes up we are actually
>launching five copies of the binary.

That was going to be my first observation, actually.  I'm still trying
to digest the patch but it seems like it wouldn't work well with the
fork retry code.


More information about the Cygwin-patches mailing list