This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strace -f hangs forever with process who creates child process


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.k.wells@leidos.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]