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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=GGr FGkeRVKUfUdCfF8HTMGggOD0x88Di+wUQ0OPWgR+e3BCWt2GRsSvU0qpRw5OIoyT MffgUNdy5VOjs0gdQS5mtrD8gkQ9GfmOflGuaaDdRNYrbiK3jXOMR/oAuQnsB9FQ +oeOd4O9km7GgUFok+ehxd09meYkU/nI++UYdZqM= 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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=x0iKkfEDs nSBtsKVmDWvUhG5zm0=; b=GOZ77WYuLQbUIXmHiOMNJWcdB06wldIhpQ9UW57um gQ5lYBnHSud7slQdEXL5WDHqdDwprKCLODIWhR0/COa/is2i2fdDvhqagEAO80BQ 7rCy+EJRiylnRMUJTxJ13muxAUvwhpoH4D8iAGrEOB/oBJqIfbeGA/IHxHE0dJIT ro= 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.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f182.google.com X-Received: by 10.180.149.240 with SMTP id ud16mr4892117wib.3.1403276366051; Fri, 20 Jun 2014 07:59:26 -0700 (PDT) Message-ID: <53A44C49.7050000@gmail.com> Date: Fri, 20 Jun 2014 16:59:21 +0200 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: pipe error on 64bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi, trying to debug why recent postgresql code is failing only on cygwin64 (all other platform and cygwin 32 are fine) $ uname -vrm 1.7.30(0.272/5/3) 2014-05-23 10:36 x86_64 I noticed this strange output in the strace log 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 = 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 = 22(233) ^^^ ? 1436 8282 [main] pg_regress 8200 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-0eb90a57d5759b7b-lpc 375 8657 [main] pg_regress 8200 transport_layer_pipes::write: error writing to pipe, error = 233 27 8684 [main] pg_regress 8200 __set_errno: virtual ssize_t transport_layer_pipes::write(void*, size_t):223 setting errno 22 27 8711 [main] pg_regress 8200 client_request::send: request body write failure: only 18446744073709551615 bytes sent of 24, error = 22(233) 204 8915 [main] pg_regress 8200 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-0eb90a57d5759b7b-lpc 391 9306 [main] pg_regress 8200 transport_layer_pipes::write: error writing to pipe, error = 233 28 9334 [main] pg_regress 8200 __set_errno: virtual ssize_t transport_layer_pipes::write(void*, size_t):223 setting errno 22 19 9353 [main] pg_regress 8200 client_request::send: request body write failure: only 18446744073709551615 bytes sent of 12, error = 22(233) it looks a possible mismatch in the size of some variable Suggestion ? 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