From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47306 invoked by alias); 28 Nov 2015 15:55:03 -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 46618 invoked by uid 89); 28 Nov 2015 15:55:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Nov 2015 15:54:55 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id EDC7EA805E9; Sat, 28 Nov 2015 16:54:52 +0100 (CET) Date: Sat, 28 Nov 2015 19:02:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: 64bit cygwin 2.4.0-0.4 hangs when pinging unresponsive host Message-ID: <20151128155452.GY2755@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-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> <56587B21.50002@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yypaS3FvPkEUiGyo" Content-Disposition: inline In-Reply-To: <56587B21.50002@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-11/txt/msg00469.txt.bz2 --yypaS3FvPkEUiGyo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1350 On Nov 27 16:47, Marco Atzeri wrote: > 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 > > >=20 >=20 > It works fine for me Good start. Thanks for your feedback. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --yypaS3FvPkEUiGyo Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWWc5MAAoJEPU2Bp2uRE+gX9cQAJlQx5eIg3YpxoBRZdCusw/K 9JO2WphbClp9JmgXSJbDCyaRbdcDdDT1mAxVkzBrB6Tbw9JOriJ5K51uTygM3FsM gviUKgxnjzJnkpDd+YEVkkmGmbocyX5zGBPbocf4nLY4h8H8tSDPssRPsuy3TT7a 5Uc2k+cvA1m6X60CAg1wIFFuROlH/5gYZezPjvpuTxyIsO7/1M+VRM/NRfX4MREs S0FB0RIIA9rCS2ykKWUcjoAXxJnijwS32Up1DUeuIacqDPnNSMFQ9wClMs/eELkr 8YvGcaFWXAF2/F1xpKLX3oFbVBAxg2s5aPWHAgwNqwgzIcEHmldVtbiPjU3nulpU jqAsC9T7eLO6IbL16xhnynKTTwDTn/8pzaquw+mze9eiL/o4/kDSKxMLKeHKy2ij T285CEWN+uTMWhUwp6jWtSemuzvia4lQ2ipcAy6Aepca/W9+aNGbjmz1uOR7LUQD zNOOFEkzDGcudsyR3OpUrvL/utapaUHZOoNgeH3RSiDpVScCJ4vCey9UndIjO5Cz HKVjatiq73TivNQnVOIxBrp5UZ52WgP/Yg/SJ9IIOqL3Oe96ny3k1nxGmbd5dFII 13tyTpoiGOec+ObmoOnIYb0MMzKraW1WfAjGel6rNJOPo5d0lioOStGQQxU3VAg0 OpnvHTD1euTiPVtVLNGf =fjhn -----END PGP SIGNATURE----- --yypaS3FvPkEUiGyo--