Re: killpg(pgid, 0) fails if the process is in the middle of spawnve()

2022-05-18 Thread Jun T
> 2022/05/18 23:54, Corinna Vinschen wrote: > > For a start, can you try the above patch? Thanks for a quick response. The patch seems to solve the problem. Of course there is a possibility that it happens with very low probability, but I haven't get the problem by running 'cmd | less' many t

Re: Latest versions of cygwin - Paths with spaces

2022-05-18 Thread Thomas Wolff
Am 18.05.2022 um 15:24 schrieb Giovani Erthal: I'm using the windows terminal. So you call cygwin rsync directly from the Windows cmd or powershell? That is asking for trouble, especially if quoting is involved. You should call rsync from a cygwin shell. Using lowercase for the drive and do

Re: killpg(pgid, 0) fails if the process is in the middle of spawnve()

2022-05-18 Thread Corinna Vinschen
On May 18 20:19, Jun T wrote: > It seems killpg(2) on Cygwin has a problem as described below. > Can this be (easily) fixed? > > [1] The problem > > killpg(pgid, 0) (or kill_pgrp(pgid, si_signo=0), in signal.cc) > fails (returns -1) even when there is a process in the process > group pgid, if the

Installing GDB in Cygwin for Windows 10

2022-05-18 Thread abel.asmelash
I am unable to find the package source that installs GDB in the setup_x86_64.exe. Which package should I select to install the GDB debugger? I only see gd-debuginfo package in the source list. Please, help. -- Problem reports: https://cygwin.com/problems.html FAQ: https://c

RE: Latest versions of cygwin - Paths with spaces

2022-05-18 Thread Giovani Erthal
I'm using the windows terminal. Using lowercase for the drive and double quotes between the path produces a different error. rsync.exe -avz -s --no-perms --no-owner --no-group --chmod=ugo=rw "/cygdrive/c/Users/giova/Downloads/Teste com Espaço" "/cygdrive/c/Users/giova/Downloads/Destino com esp

Re: [ANNOUNCEMENT] gdb 11.2-1 (TEST)

2022-05-18 Thread Jon Turney
On 16/05/2022 17:35, Takashi Yano wrote: On Tue, 19 Apr 2022 01:09:52 +0900 Takashi Yano wrote: On Tue, 25 Jan 2022 00:01:53 +0900 Takashi Yano wrote: On Mon, 24 Jan 2022 14:46:20 + Jon Turney wrote: On 19/01/2022 09:39, Takashi Yano wrote: However, I noticed another problem in signal ha

killpg(pgid, 0) fails if the process is in the middle of spawnve()

2022-05-18 Thread Jun T
Dear Cygwin developers, It seems killpg(2) on Cygwin has a problem as described below. Can this be (easily) fixed? [1] The problem killpg(pgid, 0) (or kill_pgrp(pgid, si_signo=0), in signal.cc) fails (returns -1) even when there is a process in the process group pgid, if the process is in the mi