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 :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=V2tAwqxcyilTR/siNllFOl5kE7DGBBxTxlDXR23I0Xi o35qKzvEeUXOGHnNb6CXD/9HsECGDbVKKXU9MUYr3hhqCnHQr+CZFefCLKFq7X1L gcvvoduPsy2vD7DXddXKZ+4muV/jWswwei9Vw31WPMuw9f1eu/kj1BsGilJvfljo = 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 :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=yu+MHlvq/d7rdcNVDz5rchJba+0=; b=FIE61QwUNbSgkDK/z GpFCTY1ZCjfnRkxv0BmBLeqR/3ymohL8rdDP+MzQaO3xRkmHo5ABIJRtxoF/xY7U t2b2aMeNerSnqDAi9CHnvIWqITC8djCPRBbJOkmkuTPRCUnbVgWA6CflDNoXXvxS KdC7UOsWvyOV1UPjz4o8/a/5MA= 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-f181.google.com X-Received: by 10.194.86.42 with SMTP id m10mr1778375wjz.132.1403515952481; Mon, 23 Jun 2014 02:32:32 -0700 (PDT) Message-ID: <53A7F426.6090707@gmail.com> Date: Mon, 23 Jun 2014 11:32:22 +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: Re: pipe error on 64bit References: <53A44C49 DOT 7050000 AT gmail DOT com> <20140623092009 DOT GB1803 AT calimero DOT vinschen DOT de> In-Reply-To: <20140623092009.GB1803@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 23/06/2014 11:20, Corinna Vinschen wrote: > On Jun 20 16:59, Marco Atzeri wrote: >> Hi, >> >> 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) >> ^^^ ? > > 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. Hi Corinna, sorry, I realized after sending, that I was looking at a red herring. The real error = 233 was clearly already there. I have identified what is going wrong on the process at the other side of the pipe : an unexpected output from getaddrinfo for the "127.0.0.1" case; but not yet why as an equivalent test case is working like charm. I suspect a incorrectly initialized pointer given as input to getaddrinfo in a corner case. > Corinna 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