This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Apr 2013 21:07:11 +0100
- Subject: Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close
- References: <CAKp+3hph5ED7r0_grQe_epR8gKL_knZXmMd42-_yR92NzjDQpw at mail dot gmail dot com> <op dot wvz6zdawofd6j1 at nebbiolo dot upc dot de> <20130423173240 dot GA447 at ednor dot casa dot cgf dot cx>
On 23 April 2013 18:32, Christopher Faylor wrote:
>>Similar happens when doing:
>>
>>cat /bin/gdb.exe
>>
>>for example. Something seems to overflow.
I can reproduce that one.
'ps' output shows that 'cat' and 'mintty' are both waiting for output
to finish, i.e. they're deadlocked waiting for each other's output to
be read.
O 8276 6764 8276 3860 pty0 1004 20:52:17 /usr/bin/cat
O 3448 1 3448 3448 ? 1004 20:34:15 /usr/bin/mintty
> It's a long-standing problem for which there is no easy fix.
Yep. This situation also happens if you hit a key that sends something
during an ongoing cat command. I think what's happening in this
particular case is that the gdb binary contains some control sequence
that triggers a response to be sent by the terminal, thus triggering
this issue in Cygwin's pty implementation.
> For now "Just don't do that".
Quite. Or just kill the cat.
Andy
--
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