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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=ADtelTrEhSwwTdNHOAs8itIvwRTBM6JExWxm1SsxAEXQ2hG3mZdm+ BTsjuiBsjDA14z/yZv0rGXq/bnWfgkQSpzYxbyeCEduSBOeOMYUTd2E5faVQM0BG iM76dta3mzugEffPpQb4+dwplYYPb8vhkoR3FjdWzGxNNHuL+5ArKk= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=UPBOQRH81GqweBuinhSdTHS6xbA=; b=N7K0c8MBtaotKxCpVCQiSI6OwpOM RJAQz0WKxDUEntvGR7/8T0h4UuTJOYDRGBxwuC9XOVwWUSMONdfEeTD+R3EBAcHl AvAjUuDAorHpmvkXLKjFRit60atU3xiqA42FipGG9k/A+xDEUrL+wVGhrtieFJgv qtWSl67aMCWZDsI= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 23 Jun 2014 11:20:09 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: pipe error on 64bit Message-ID: <20140623092009.GB1803@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <53A44C49 DOT 7050000 AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LyciRD1jyfeSSjG0" Content-Disposition: inline In-Reply-To: <53A44C49.7050000@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) --LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 20 16:59, Marco Atzeri wrote: > Hi, >=20 > trying to debug why recent postgresql code is failing only on > cygwin64 (all other platform and cygwin 32 are fine) >=20 > $ uname -vrm > 1.7.30(0.272/5/3) 2014-05-23 10:36 x86_64 >=20 > I noticed this strange output in the strace log >=20 > 102 6076 [main] pg_regress 8200 transport_layer_pipes::connect: Try = to > connect to named pipe: \\.\pipe\cygwin-0eb90a57d5759b7b-lpc > 115 6191 [main] pg_regress 8200 transport_layer_pipes::connect: Try = to > connect to named pipe: \\.\pipe\cygwin-0eb90a57d5759b7b-lpc > 600 6791 [main] pg_regress 8200 transport_layer_pipes::write: error > writing to pipe, error =3D 233 > 27 6818 [main] pg_regress 8200 __set_errno: virtual ssize_t > transport_layer_pipes::write(void*, size_t):223 setting errno 22 > 28 6846 [main] pg_regress 8200 client_request::send: request body > write failure: only 18446744073709551615 bytes sent of 36, error =3D 22(2= 33) > ^^^ ? 8 byte signed integer -1, accidentally printed as unsigned value. I fixed that in CVS. Write returned -1 here because the pipe write returned an error code 233, ERROR_PIPE_NOT_CONNECTED. It looks like the client process died for some reason. This reason is not visible in the output of cygserver, of course. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTp/FJAAoJEPU2Bp2uRE+gHjkQAKWvYWNT82HfgMZJvVKmRwNi UX0UFFV/Qeq1W76HrTssWriRT0eYV+MCWu6wvcQt5WkOKTlE9JlSq2qKD07RJ43F fztGJ0M8T3LY864yqoInE3JfAtOItMk4OoDMPLntbueUHXeFUbdqYLuvo22M/nSF 5N0Pdrfn+y+zUkvp73GeOgjDu8b0ILxfdA4/06fwoGDUZi3f7PSYUlDHUndSk93B aHT6tzsdovH+93xv+09fxO1sdbQhKxIZfOkmTSUKZsYc1XZb4G3eGfrM+mT50Eht rR4UG64n+q9yVXAXFsyESV+/s4grGi9V4kVAOkKGXn5FlCP3UkIeY43PFkv4e22R xhj3mRJKVGdxirHCfkFNvviE72gwrdsWzrzZihVCb0NrPTbsQO5C5JMhjoBIveXf Wprq2sj4lcLDLBQqiL8gxXeUhlnMUsiiMf57kKGfuSfS7IjQwIaTTu4J9E4EUW4+ VkAzSmVJj5MJM9lFRj+hSN8+gXpnIcdjJWUdxj1MiWzqZrvnImPegtanYMU+avZN wnD+lKlcqM0Z9B4x5/POwheRQ8hpQbHM2DaHBKl4dr0hWTSWCNVKarBJ9YIcoQqV GUbP5YcqnWbwK9cPfEpwN4L9OaQN1XN74USun5WHiGRnGV3xRSpU5todT0IjPYvc m84ba9KEQ59SRNbKQAYD =xe3X -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0--