public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: Windows locks up when pressing Ctrl+S while native process writes to terminal
Date: Sun, 22 Nov 2015 19:18:00 -0000	[thread overview]
Message-ID: <565214E5.7030507@towo.net> (raw)
In-Reply-To: <327d-5645b680-191-fbe9680@109991231>


> Hello,
>
> I found a consistent bug that happens every time:
> ...
> - Press Ctrl+S to stop the output in the terminal
>
> Bug #1: It's not possible to unfreeze the output in the terminal with Ctrl+Q. It just stays "stuck"
I confirm this effect and you don't need a fat application to 
demonstrate it. With this Windows cmd script loop.bat:
@echo off
set n=0
:loop
echo %n%
echo %n% >> .log
set /A n=%n% + 1
ping 127.0.0.1 -n 2 > nul
goto loop

run it: ./loop.bat, then use ^S; the script will actually continue to 
run but will not show any more output in a pty-based terminal (works in 
Cygwin console).

> Bug #2: After a few seconds, the disk starts to trash. ...
Thrashing? Might be caused by the apparently-stopped application going 
into some endless-loop activity.

Thomas

--
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

  parent reply	other threads:[~2015-11-22 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 10:08 Aaron Digulla
2015-11-20 13:49 ` Aaron Digulla
2015-11-22 19:18 ` Thomas Wolff [this message]
2015-11-23 12:04   ` Aaron Digulla
2015-12-03 13:57     ` Aaron Digulla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=565214E5.7030507@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).