1.7.22: CTRL+C on mingw applications

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jul 23 13:09:00 GMT 2013

On Jul 23 12:51, Roland Schwingel wrote:
> Hi...
> Due to some odd hangs in some past versions of cywin1.dll (1.7.18 -
> 1.7.21) I was still using 1.7.17. Now I gave 1.7.22 a new try. The
> blocks seem to be resolved but well it appears that cygwin can now
> no longer break running standard windows/mingw tools.
> I am using 1.7.22 (32bit) with mintty on windows 7 Ultimate 64bit.
> All cygwin packages are up to date. My $CYGWIN is set to
> "nodosfilewarning".
> Pressing CTRL+C is simply ignored for mingw apps while it works for
> cygwin executables.

I would check for BLODA.  I just tried it with 1.7.22/32 bit on Windows
8/64.  I can break a system ping just fine, and I created a simple Mingw
application.  I tested them from bash and tcsh in mintty as well as in a
Windows console with identical behaviour:

  $ ping www.wdr.de

  Pinging e2636.g.akamaiedge.net [] with 32 bytes of data:
  Reply from bytes=32 time=59ms TTL=59

  Ping statistics for
      Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
      Minimum = 59ms, Maximum = 59ms, Average = 59ms

  $ cat > x.c <<EOF
  #include <windows.h>
  #include <stdio.h>

  int main(void)
    for (;;)
	printf ("Hallo\n");
	fflush (stdout);
	Sleep (1000L);
    return 0;
  $ i686-w64-mingw32-gcc -g -o x x.c
  $ ./x
  [Press ^C]


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list