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:subject:references:to:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=fqyc/fUWNC+IT3RW G0KAnT6OtDlxd1A+kNkdHcQZVAXNP90NoDHzwgmw63/PxCSFKk0W8OEqZizC7Ynx +mS2k8K82FyszOBc8SpmYLYiunYc/jAIGJ8EYsl0Q/Cqatyzp63wxxehXD2xoUqt m2hHoU16rb/bTrrsLfIYUEehjh8= 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:subject:references:to:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=6mfFPHS/tw7RH9b9+H+v9n pzLFs=; b=dxCnuAK4BXkOl7PF6tahctqXlUdkEyekziRFewNMWd8CNUKTQ7/Vb2 zRpSPo0QC49X0ks2C+CkqkLDVeeX3PA3eLmvNYz1p6MiqN8Cf8OOGn8oeo4rXXoJ IAkjX6QEh6cOdRyIiwrCt1TFV0KmMAM2irDEVSCuT6UvsyxiZfVTI= 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.4 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: EMP-EXED101.leidos.com Subject: Re: strace -f hangs forever with process who creates child process References: <0D835E9B9CD07F40A48423F80D3B5A702E9126C0 AT USA7109MB022 DOT na DOT xerox DOT net> To: From: Roger Wells Message-ID: <55DB1E06.3000708@leidos.com> Date: Mon, 24 Aug 2015 09:37:10 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E9126C0@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 08/24/2015 09:05 AM, Nellis, Kenneth wrote: > From: Qian Hong >> I just found `strace -f` hangs forever for me. >> >> $ uname -a >> CYGWIN_NT-6.1 fracting-PC 2.2.1(0.289/5/3) 2015-08-15 11:00 i686 Cygwin) >> >> $ cat parent.sh >> ./child.sh >> >> $ cat child.sh >> echo haha >> >> $ strace -f -o out.txt bash -c parent.sh #hangs forever. > > FWIW, this also seems to hang for me, but can't confirm that it > hangs "forever", as I didn't wait that long. Ctrl/C-ing out works, > but that takes several seconds to take effect. And then I can't > delete out.txt: > > $ rm -f out.txt I also can confirm this on the same cygwin release but for x86_64: uname -a CYGWIN_NT-6.1 rwells-x220 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 Cygwin -- Roger Wells, P.E. leidos 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) roger DOT k DOT wells AT leidos DOT com -- 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