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:mime-version:content-transfer-encoding :content-type:reply-to:subject:references:to:from:message-id :date:in-reply-to; q=dns; s=default; b=w2OWLLu33Scyl/7U/V8KPdy1O Ivz6ZY6sjPB5gBJMm/PxLD3D/EqzN1YxuG+9tPemh7l4WsRuAyknPeiDqfpWYMp8 jtHrMJDUD3/P2EYHAF5pKRrwHZNAEcYs/mTkQtxhUWpO26J5t7UVJ9vpq2ie+g6n uT1F2X+b9uZwzNbhP4= 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:mime-version:content-transfer-encoding :content-type:reply-to:subject:references:to:from:message-id :date:in-reply-to; s=default; bh=eQM++bg5EjXbxT8DV0xNHGyP6LA=; b= kLTZm4qYJUYuACJLZEKAyy/bOB9bb5TVO0xEFKn0zt35zBhuBJ3krYFT6wlEGUyE UjR+MSealcLdBj5V/lr2XWsHv34LpGGJW2WLmbkve/RBv2D4nOfNUEWIBz2C0spg pZ2Jst/xnAXWWolXD4ZyPeNOLofSCld7hsA3u+ctN+Q= 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.1 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:U*reply-to-list-only-lh, Larry, Young, Warren X-HELO: vms173023pub.verizon.net MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=utf-8; format=flowed X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=EdU1O6SC c=1 sm=1 tr=0 a=Z9UJdt/jcW91Hd6r4aN9qw==:117 a=w_pzkKWiAAAA:8 a=oR5dmqMzAAAA:8 a=IkcTkHD0fZMA:10 a=7aQ_Q-yQQ-AA:10 a=pGLkceISAAAA:8 a=bsYlAduF_IHhSdZHGTQA:9 a=QEXdDO2ut3YA:10 a=9c8rtzwoRDUA:10 a=V13YsTwMRVgA:10 Reply-to: cygwin AT cygwin DOT com Subject: Re: Running native exe from Cygwin in random instances reports incorrect error code 127 References: To: cygwin AT cygwin DOT com From: "Larry Hall (Cygwin)" Message-id: <569DA37A.6090509@cygwin.com> Date: Mon, 18 Jan 2016 21:46:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-reply-to: On 01/18/2016 02:50 PM, Warren Young wrote: > On Jan 18, 2016, at 8:27 AM, David Sicilia wrote: >> >> 3) The native windows program successfully completes and exits with >> code 0 internally >> 4) But -- the error code returned to the bash script is 127 -- >> despite no indication of an error anywhere > > We’ll want a simple test case showing the problem. I can’t replicate it here. > If this pair of programs *fails* on your system, then you’ve probably got a BLODA problem: > > https://cygwin.com/faq/faq.html#faq.using.bloda The somewhat coincidental recent thread below makes me bet on BLODA, particularly if it's only happening sometimes. I could see BLODA blocking access to a needed DLL in some cases just at the wrong time, resulting in a code 127. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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