Re: Bug: Synchronous signals broken on Cygwin 64

2018-04-26 Thread Thomas Zimmermann
12:52:54, Thomas Zimmermann wrote: > >> Hi >> >> Am 26.04.2018 um 12:45 schrieb Houder: >>>> The expected behavior is that an installed signal handler runs exactly >>>> once for a signal and the OS terminates the program if the handler >>>> ret

Re: Bug: Synchronous signals broken on Cygwin 64

2018-04-26 Thread Thomas Zimmermann
Hi Am 26.04.2018 um 13:01 schrieb Houder: > > After the invocation of the handler, the program continues with the code > that attempts 'to divide by zero'. > > As result of that, the handler is invoked again. This means that the behavior of the test case is incorrect when running in 32-bit mode

Re: Bug: Synchronous signals broken on Cygwin 64

2018-04-26 Thread Thomas Zimmermann
Hi Am 26.04.2018 um 12:45 schrieb Houder: >> The expected behavior is that an installed signal handler runs exactly >> once for a signal and the OS terminates the program if the handler >> returns. This works on 32-bit Cygwin. From my observation, Cygwin 64 >> differs in the follow ways: > > .. u

Bug: Synchronous signals broken on Cygwin 64

2018-04-26 Thread Thomas Zimmermann
Hello mailing list, I noticed that synchronous signals (e.g., SIGSEGV, SIGFPE) appear to be broken on 64-bit Cygwin systems. I could not find additional information on the mailing list. If this is not already a known problem, you'll find some analysis below. I use Cygwin DLL 2.10 with all packag