Re: lost signal (was: cygwin 3.6.0: Signals may fail permanently if received after SIGSTOP)

2025-03-06 Thread Takashi Yano via Cygwin
On Wed, 5 Mar 2025 11:23:26 +0100 Christian Franke wrote: > Takashi Yano via Cygwin wrote: > > On Mon, 24 Feb 2025 11:29:59 +0100 > > Christian Franke wrote: > >> Found with 'stress-ng --cpu-sched 1': > >> > >> Testcase (attached): > >> > >> $ uname -r > >> 3.6.0-0.387.g8cebbb2b42bf.x86_64 > >> > >

Re: cygwin 3.6.0: No signals received after swapcontext() is used

2025-03-06 Thread Corinna Vinschen via Cygwin
On Mar 6 13:24, Christian Franke via Cygwin wrote: > Found because 'stress-ng --context 1 ...' always hangs. > > The attached testcase uses the example from Linux swapcontext(3) to call the > context functions. Just tested with 3.5.3 and it doesn't work there, either. So yeah, it's a bug, but i

Re: [CALL FOR TESTING] Cygwin-3.6.0

2025-03-06 Thread Rainer Emrich via Cygwin
Hi Corinna, hi Takashi, Am 06.03.2025 um 11:23 schrieb Rainer Emrich: Hi Corinna, hi Takashi, Am 06.03.2025 um 10:58 schrieb Corinna Vinschen via Cygwin: with a big "THANK YOU!" to Takashi, the "Lost connection" problem will be fixed in 3.6: a really big thank you to both of you. https://s

cygwin 3.6.0: No signals received after swapcontext() is used

2025-03-06 Thread Christian Franke via Cygwin
Found because 'stress-ng --context 1 ...' always hangs. The attached testcase uses the example from Linux swapcontext(3) to call the context functions. $ uname -r 3.6.0-0.419.g3c1308ed890e.x86_64 $ gcc -o ctxnosig ctxnosig.c $ ./ctxnosig # ... and hit ^C waste_time: started [^C][SIGINT] wast

Re: [CALL FOR TESTING] Cygwin-3.6.0

2025-03-06 Thread Rainer Emrich via Cygwin
Hi Corinna, hi Takashi, Am 06.03.2025 um 10:58 schrieb Corinna Vinschen via Cygwin: with a big "THANK YOU!" to Takashi, the "Lost connection" problem will be fixed in 3.6: a really big thank you to both of you. https://sourceware.org/cgit/newlib-cygwin/commit/?id=691afb1f6d5a The next test

Re: [CALL FOR TESTING] Cygwin-3.6.0

2025-03-06 Thread Corinna Vinschen via Cygwin
Hi Rainer, with a big "THANK YOU!" to Takashi, the "Lost connection" problem will be fixed in 3.6: https://sourceware.org/cgit/newlib-cygwin/commit/?id=691afb1f6d5a The next test release cygwin-3.6.0-0.422.g691afb1f6d5a will contain the patch. Should be up in about an hour. Thanks, Corinna

Re: Cygwin OpenSSH version detection by Tenable

2025-03-06 Thread Corinna Vinschen via Cygwin
On Mar 5 20:49, Dimitry Andric via Cygwin wrote: > In my opinion, it is wrong that scanners rely on this information. :-) Exactly. > I guess something similar could be done in the Cygwin package. This is > up to the Cygwin maintainers of course. And that doesn't change if some distros tweak the

Re: Cygwin 3.6: clang cannot use /usr/include/unistd.h, issue with |setproctitle_init()| ...

2025-03-06 Thread Corinna Vinschen via Cygwin
Guys, I already applied a patch. Thanks, Corinna On Mar 5 15:51, Glenn Strauss via Cygwin wrote: > On Wed, Mar 05, 2025 at 08:27:53PM +, Lavrentiev, Anton (NIH/NLM/NCBI) > [C] via Cygwin wrote: > > > We could change this to a macro instead: > > > > > > -static inline void setproctitle_init