This is the mail archive of the
mailing list for the Cygwin project.
Re: 20060521 snapshot, Ctrl-C, and Windows processes
On Sun, 21 May 2006, clayne wrote:
> On Sun, May 21, 2006 at 10:19:06PM -0400, Igor Peshansky wrote:
> > Noticed a problem today: if you start a Windows process in bash and
> > press Ctrl-C, the Ctrl-C will be delivered to the process, but then
> > bash (or the Cygwin wrapper that waits for the Windows process) will
> > simply hang until the Windows process terminates. If the process does
> > not terminate (e.g., "ping -t"), bash will hang until Ctrl-C is
> > pressed 10 times (the delays between the consecutive Ctrl-Cs don't
> > seem to matter).
> > Steps to reproduce:
> > In bash, type "ping -t cygwin.com", then, after a couple of ping
> > results, press Ctrl-C. The process will hang (here's the screenshot):
> > $ ping -t cygwin.com
> > Pinging www.cygwin.com [18.104.22.168] with 32 bytes of data:
> > Reply from 22.214.171.124: bytes=32 time=82ms TTL=46
> > Reply from 126.96.36.199: bytes=32 time=83ms TTL=46
> I know this may sound insane, but could you try the following in another
> shell when it is hanging:
> ping localhost
> ping <whatever your network interface ip is>
Tried it. Neither did anything discernible.
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html