[PATCH] Cygwin: signal: Do not copy context to stack area in call_signal_handler()
Takashi Yano
takashi.yano@nifty.ne.jp
Tue Mar 25 12:57:16 GMT 2025
On Tue, 25 Mar 2025 13:02:29 +0100
Bruno Haible wrote:
> Takashi Yano wrote:
> > Addresses: https://cygwin.com/pipermail/cygwin/2025-March/257714.html
> > Reported-by: Bruno Haible <bruno@clisp.org>
>
> Thanks. What output do you now get by running
I submitted v2 patch. With v2 patch,
> $ ./test-c-stack; echo $?
>
> 10 times and
The all results are:
$ gltests/test-c-stack; echo $?
test-c-stack: stack overflow
1
and
> $ ./test-sigsegv-catch-stackoverflow1; echo $?
>
> 10 times as well?
$ gltests/test-sigsegv-catch-stackoverflow1; echo $?
Starting recursion pass 1.
Stack overflow 1 caught.
Starting recursion pass 2.
Stack overflow 2 caught.
Test passed.
0
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin-patches
mailing list