[PATCH] Prevent restart of crashing non-Cygwin exe
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Thu Nov 3 21:35:00 GMT 2011
On Thu, Nov 03, 2011 at 01:07:20PM +0100, Corinna Vinschen wrote:
>On Nov 2 20:53, Christian Franke wrote:
>> On Jun 24, Corinna Vinschen wrote:
>> >Hi Christian,
>> >
>> >On Jun 23 19:52, Christian Franke wrote:
>> >>If a non-Cygwin .exe started from a Cygwin shell window segfaults,
>> >>Cygwin restarts the .exe 5 times.
>> >>[...l]
>> >> * sigproc.cc (child_info::sync): Add exit_code to debug
>> >> message.
>> >> (child_info::proc_retry): Don't retry on unknown exit_code
>> >> from non-cygwin programs.
>> >This looks ok to me, but cgf should have a say here. He's on vacation
>> >for another week, though.
>> >
>>
>>Problem can still be reproduced with current CVS. Patch is still
>>valid.
>
>Sorry, I forgot about this patch entirely. Chris, is that patch ok
>with you as well?
No, it isn't. Sorry for not stating this earlier. The problem that
this code was intended to solve was actually a transient exit codes from
a non-Cygwin process which began with 0xc...
I don't believe that I ever saw STATUS_ACCESS_VIOLATION in any of my
testing though so adding that earlier in the switch would fix this
particular problem. I'll do that.
cgf
More information about the Cygwin-patches
mailing list