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:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=rC0r/gvy4rLCnZAn OwtgtPOJJbP5U1iLW3lkaQUDDXEvheqCSrIBNiYPdhrPDbgBO+CoO+TxrptLXnqc 9I7SL+nXXZN8Y0EvCeoqQbB4Eiwdw8OL2rHUJ4Ks4GefUMidq7vIdtZOm4fnuAVj yheNmfp4kuZGtSeKUiojGv/qbgk= 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:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=4lYrgupz2RMZZ3aJKvGvP8 H0fEQ=; b=StW1LcoYz2gT7p45q8TTO9Fk99NhNuY3ETHb/LHEnP0o0WzIxxXJBA 22LUSxfDcjV48cT63VW1BESeWu9aki2+swOEffjdrx7gyaHeyw5T1Y7YSPvl4fc2 /Bi+8LcxUsTGjJ6oMasBkuR8nGwpt3VD3/zMu+j288b/2lte6v3bs= 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=-1.4 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f48.google.com X-Received: by 10.194.171.97 with SMTP id at1mr45333241wjc.39.1448485287475; Wed, 25 Nov 2015 13:01:27 -0800 (PST) Subject: 64bit cygwin 2.4.0-0.4 hangs when pinging unresponsive host To: cygwin AT cygwin DOT com References: <01f501d12701$d5af6fb0$810e4f10$@vianet.ca> <5654E4E3 DOT 8050605 AT gmail DOT com> <56555DF4 DOT 9090804 AT towo DOT net> <56559566 DOT 7070808 AT gmail DOT com> From: Marco Atzeri Message-ID: <565621A3.3090706@gmail.com> Date: Wed, 25 Nov 2015 22:01:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56559566.7070808@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 25/11/2015 12:03, Marco Atzeri wrote: > On 25/11/2015 08:06, Thomas Wolff wrote: >> Am 24.11.2015 um 23:29 schrieb Marco Atzeri: >>> > >>> ... >>> I assume it is an interaction with mintty. >> Many problems of that kind attributed to mintty are actually problems >> with cygwin or especially pty. >> Please test also with another terminal (xterm, rxvt, ...). >> Also some more details could be helpful as I cannot reproduce the issue >> (output of `type ping`, actual host pinged). >> ------ >> Thomas > > you are right is not a mintty only issue. > Same happens in xterm > > > $ which ping > /usr/bin/ping > > $ ping 2.2.2.2 > PING 2.2.2.2 (2.2.2.2): 56 data bytes > > It sticks here forever, CTRL+C ineffective. > Process Explorer or Task Manager are needed to kill the process. > Also kill -9 PID is ineffective > > On the old cygwin.bat (aka windows cmd) > CTRL+C is effective > > 64 $ ping 2.2.2.2 > PING 2.2.2.2 (2.2.2.2): 56 data bytes > > ----2.2.2.2 PING Statistics---- > 2 packets transmitted, 0 packets received, 100.0% packet loss the problem seems restricted to the 64bit test version of cygwin. $ uname -svm CYGWIN_NT-6.1 2015-11-21 16:59 x86_64 The issue is not present on 2.3.1 $ ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes ----2.2.2.2 PING Statistics---- 2 packets transmitted, 0 packets received, 100.0% packet loss $ uname -srm CYGWIN_NT-6.1 2.3.1(0.291/5/3) x86_64 And the 32 bit version is not impacted $ ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes ----2.2.2.2 PING Statistics---- 2 packets transmitted, 0 packets received, 100.0% packet loss $ uname -srm CYGWIN_NT-6.1-WOW 2.4.0(0.292/5/3) i686 -- 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