From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18020 invoked by alias); 27 Nov 2015 15:47:56 -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 17941 invoked by uid 89); 27 Nov 2015 15:47:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f49.google.com Received: from mail-wm0-f49.google.com (HELO mail-wm0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 27 Nov 2015 15:47:53 +0000 Received: by wmec201 with SMTP id c201so62988337wme.1 for ; Fri, 27 Nov 2015 07:47:50 -0800 (PST) X-Received: by 10.194.104.5 with SMTP id ga5mr57363862wjb.155.1448639270526; Fri, 27 Nov 2015 07:47:50 -0800 (PST) Received: from [172.21.188.140] ([149.6.156.42]) by smtp.googlemail.com with ESMTPSA id he3sm33422720wjc.25.2015.11.27.07.47.49 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Nov 2015 07:47:49 -0800 (PST) Subject: Re: 64bit cygwin 2.4.0-0.4 hangs when pinging unresponsive host To: cygwin@cygwin.com References: <01f501d12701$d5af6fb0$810e4f10$@vianet.ca> <5654E4E3.8050605@gmail.com> <56555DF4.9090804@towo.net> <56559566.7070808@gmail.com> <565621A3.3090706@gmail.com> <20151126201546.GQ2755@calimero.vinschen.de> <20151127150737.GA15906@calimero.vinschen.de> From: Marco Atzeri Message-ID: <56587B21.50002@gmail.com> Date: Fri, 27 Nov 2015 16:04:00 -0000 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: <20151127150737.GA15906@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00458.txt.bz2 On 27/11/2015 16:07, Corinna Vinschen wrote: >>>> 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. >> >> I think this is pure coincidence. After some hours debugging this >> problem it seems it's a race condition, architecture-independent and >> present since quite a while in Cygwin. In case of ping the race leads >> to a blocking socket function missing a signal arrived, thus the >> signal is never handled. This in turn blocks the next signal from being >> delivered. >> >> I have a potential fix, but I have to test it a bit. The signal code >> is pretty complicated... > > I created a new developer snapshot (https://cygwin.com/snapshots/) and > I'm just about writing the release message for the next test release > 2.4.0-0.5 which both contain a patch for this problem. Please give > any of them a try. > > > Thanks, > Corinna > It works fine for me Regards Marco -- 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