Re: [PATCH] Prevent restart of crashing non-Cygwin exe

2011-11-05 Thread Christian Franke
Christopher Faylor wrote: 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,

Re: [PATCH] Prevent restart of crashing non-Cygwin exe

2011-11-03 Thread Corinna Vinschen
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

Re: [PATCH] Prevent restart of crashing non-Cygwin exe

2011-11-03 Thread Christopher Faylor
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

Re: [PATCH] Prevent restart of crashing non-Cygwin exe

2011-11-02 Thread Christian Franke
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.

Re: [PATCH] Prevent restart of crashing non-Cygwin exe

2011-06-24 Thread Corinna Vinschen
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

[PATCH] Prevent restart of crashing non-Cygwin exe

2011-06-23 Thread Christian Franke
If a non-Cygwin .exe started from a Cygwin shell window segfaults, Cygwin restarts the .exe 5 times. Testcase: $ cat crash.c #include stdio.h int main() { printf(Hello, ); fflush(stdout); *(char *)0 = 42; printf(World\n); return 0; } $ gcc -o crash-c crash.c $ ./crash-c Hello,