X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=TPqz2/oVBr1U4y9o RV3mSElEJlKaAzRCwx7K2XNY4UFXspkGQbFNVQd7w6Xxwa8Z4xAOlcmTahU5/I+Q u37wRfemipsCaFmnqyg/wJe5OQbRgUaWD3esP+5AeRGeGVH2ZFF4w3PjBWWEBSQx LVG6o/j9QEjiIp4XmRuSZVjpSqI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:cc:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=K9HRx6tqB6J1U+YXNYYoWp QEQFk=; b=C7f0SYk5Lytyu6Aefv7gsXc3WlCK+sASa0egFu3oeORR90yTYkPzdj VG9/l9nhlNavBVzORqrsYlJdCqOlMDi2yKWgHiT2NWeAF1p6wWEQY/ywZnRgZxTq 7YmmVQlMAJm+OH+c68DeX/nbz6e2jMVewE7uUksqKmdZMpnupw8T8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=virtually, castro, Castro, Hx-languages-length:1900 X-HELO: limerock03.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: gdb pty problem [Was: emacs gud-interface is not updated after gdb command execution (maybe because of incomplete output from gdb)] To: cygwin AT cygwin DOT com References: <466943424 DOT 37628 DOT 394d161a-7219-415d-a659-0f774811ad2d DOT open-xchange AT email DOT 1und1 DOT de> <44459aa0-4381-2368-ab63-5dffc26f3344 AT cornell DOT edu> <20160531094115 DOT GE24015 AT calimero DOT vinschen DOT de> <34c9cf10-4930-a017-92fc-fd56171671b1 AT cornell DOT edu> <9403d1d8-21d1-bf7e-dddc-d77b42e4795d AT cornell DOT edu> <20160601142804 DOT GG11431 AT calimero DOT vinschen DOT de> <91397a76-1265-1cda-45e2-573e63b48fa3 AT cornell DOT edu> <20160601182855 DOT GA18871 AT calimero DOT vinschen DOT de> Cc: Peter Castro From: Ken Brown Message-ID: Date: Wed, 1 Jun 2016 15:05:00 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160601182855.GA18871@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-IsSubscribed: yes On 6/1/2016 2:28 PM, Corinna Vinschen wrote: > On Jun 1 11:22, Ken Brown wrote: >> On 6/1/2016 10:33 AM, Ken Brown wrote: >>> On 6/1/2016 10:28 AM, Corinna Vinschen wrote: >>>> Hi Ken, >>>> >>>> On Jun 1 09:02, Ken Brown wrote: >>>>> On 6/1/2016 8:51 AM, Ken Brown wrote: >>>>>> On 5/31/2016 5:41 AM, Corinna Vinschen wrote: >>>>>>> Any chance you could bisect Cygwin to help finding the culprit? >>>>>> >>>>>> The culprit is >>>>>> >>>>>> commit 252a07b0ad3353abcd0fcd9b1b65ff977acd679e >>>>>> Author: Takashi Yano >>>>>> Date: Fri Apr 3 13:07:35 2015 +0900 >>>>>> >>>>>> Cygwin hangs up if several keys are typed during outputting a lot of >>>>>> texts. >>>>>> >>>>>> * fhandler_tty.cc (fhandler_pty_slave::read): Change >>>>>> calculation of >>>>>> "readlen" not to use "bytes_in_pipe" value directly. >>>>>> >>>>>> >>>>>> Reverting that commit fixes the problem. >>>>> >>>>> Unfortunately, all kinds of other things break. For example, emacs >>>>> exits >>>>> immediately, ls produces no output,.... >>>> >>>> Are you sure? I just tried it myself and ls as well as emacs work >>>> fine for me. >>> >>> It works for me now too. I must have done something wrong the first >>> time I tried. >> >> And this also fixes the original problem in emacs that started the thread: >> >> https://www.cygwin.com/ml/cygwin/2016-05/msg00318.html > > I reverted commit 252a07b0ad3353abcd0fcd9b1b65ff977acd679e in git master > for now, unless we find a reason to rework this again. Thanks. By the way, I'd like to take the opportunity to thank Peter Castro for the Cygwin Time Machine (http://www.fruitbat.org/Cygwin/#cygwintimemachine). The bisection I did, spanning a period of about 4 years, would have been virtually impossible without it. Ken -- 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