From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52377 invoked by alias); 1 Jun 2016 14:33:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 52366 invoked by uid 89); 1 Jun 2016 14:33:28 -0000 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=H*MI:sk:2016060 X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Jun 2016 14:33:17 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u51EXFxs003233 for ; Wed, 1 Jun 2016 10:33:15 -0400 Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u51EXENu017411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 1 Jun 2016 10:33:15 -0400 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@cygwin.com References: <466943424.37628.394d161a-7219-415d-a659-0f774811ad2d.open-xchange@email.1und1.de> <44459aa0-4381-2368-ab63-5dffc26f3344@cornell.edu> <20160531094115.GE24015@calimero.vinschen.de> <34c9cf10-4930-a017-92fc-fd56171671b1@cornell.edu> <9403d1d8-21d1-bf7e-dddc-d77b42e4795d@cornell.edu> <20160601142804.GG11431@calimero.vinschen.de> From: Ken Brown Message-ID: Date: Wed, 01 Jun 2016 14:33:00 -0000 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: <20160601142804.GG11431@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 X-SW-Source: 2016-06/txt/msg00007.txt.bz2 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. Thanks for rechecking. 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