Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Alexander Osipenko" Subject: cygwin 1.5+ process control problem? Date: Tue, 23 Sep 2003 06:37:07 +0400 Lines: 514 Message-ID: X-Complaints-To: usenet AT sea DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Shell hangs, executing command $ gcc -v --help | less when I trying to quit pressing Q after first screen. Shell hangs - no prompt, no command execution, only echoing typed chars. Second session with ps -ef shows *no* gcc or less programs running. I've pressed ^C in this state, and after a delay of 20-40 seconds (P4HT-2400), I receive a message: 3 [main] gcc 1548 sig_send: wait for sig_complete event failed, signal -2, rc 258, Win32 error 0 The behavior reverts to expected after replacing a command by $ gcc -v --help | cat | cat | less When ':' prompt appears, ps shows, that gcc process already terminated. This helps 'less' to terminate successfully. To exclude 'less' from suspicion, i tried a command $ gcc -v --help | head -n 34 And shell hangs again. With smaller -n (<=30) all works. But this number of lines is near to the output of cc1 subprocess - everything seems working, when output is produced by single process, and crashing when conbining output from subprocesses? I've check to turn off HyperThreading support - no impact. Reproducible in bash started from rxvt bash started from cmd.exe prompt zsh started from cmd.exe prompt sh started from cmd.exe prompt Behavior noticed in cygwin-1.5.4-1 gcc-3.2-3 bash-2.05b-13 less-381-1 and remains after each upgrade until current version: cygwin-1.5.5-1 gcc-3.3.1-1 bash-2.05b-13 less-381-1 I can say nothing about cygwin 1.4+, but in other machine with cygwin-1.3.22-1 all operates as expected Perhaps, similar behavior mentioned in http://cygwin.com/ml/cygwin/2003-09/msg00992.html or Message-ID: Alexander. begin 666 cygcheck-svr.txt M#0I#>6=W:6X AT 5VEN DOT 34O3E0@0V]N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=S#0H@(" @(" @($-Y9V1R:79E('!R969I>#H@ M8WEG9')I=F4@<')E9FEX#0H@(" @(" @($-Y9V1R:79E(&1E9F%U;'0@<')E M9FEX.B -"B @(" @(" @0G5I;&0 AT 9&%T93H AT 4V%T(%-E<" R," Q-CHS,3HQ M-2!%1%0@,C P,PT*(" @(" @("!#5E,@=&%G.B!C#EB#0H@(" @(" @ M(%-H87)E9"!I9#H AT 8WEG=VEN,5,S#0H-"B @(#0Q:R R,# R+S U+S$T(&,Z M7'5X7'5S7,]-"XP#0H@(" @(" @(" @(" @(" @(" B8WEG4')O<$QI M6%C8R @(" @(" @(" @(" @(" Q+CDM,2 @(" @(" @ M(" @(" @#0IB>FEP,B @(" @(" @(" @(" @(" Q+C N,BTU(" @(" @(" @ M(" @#0IC8V1O8R @(" @(" @(" @(" @(" P+C AT N,SDM,2 @(" @(" @(" @ M#0IC;&5A6=I<&,@(" @(" @(" @(" @(" R M+C Q+3(@(" @(" @(" @(" @#0IC>6=R=6YS6=U=&EL6=W:6X@(" @(" @(" @(" @(" Q+C4N-2TQ(" @ M(" @(" @(" @#0IC>6=W:6XM9&]C(" @(" @(" @(" Q+C,M-B @(" @(" @ M(" @(" @#0ID:69F(" @(" @(" @(" @(" @(" Q+C M,2 @(" @(" @(" @ M(" @#0ID:69F=71I;',@(" @(" @(" @(" R+C AT N-"TQ(" @(" @(" @(" @ M#0ID;WAY9V5N(" @(" @(" @(" @(" Q+C(N,3 AT M,2 @(" @(" @(" @#0IE M>'!A=" @(" @(" @(" @(" @(" Q+CDU+C8M,B @(" @(" @(" @#0IF:6QE M(" @(" @(" @(" @(" @(" T+C S+3(@(" @(" @(" @(" @#0IF:6QE=71I M;',@(" @(" @(" @(" T+C$M,B @(" @(" @(" @(" @#0IF:6YD=71I;',@ M(" @(" @(" @(" T+C$N-RTT(" @(" @(" @(" @#0IF;&5X(" @(" @(" @ M(" @(" @(" R+C4N,S$M,2 @(" @(" @(" @#0IG87=K(" @(" @(" @(" @ M(" @(" S+C$N,RTS(" @(" @(" @(" @#0IG8V,@(" @(" @(" @(" @(" @ M(" S+C,N,2TQ(" @(" @(" @(" @#0IG8V,M;6EN9W<@(" @(" @(" @(" R M,# S,#DQ,2TR(" @(" @(" @#0IG8V,R(" @(" @(" @(" @(" @(" R+CDU M+C,M,3 @(" @(" @(" @#0IG9&(@(" @(" @(" @(" @(" @(" R,# S,#DQ M.2TQ(" @(" @(" @#0IG9&)M(" @(" @(" @(" @(" @(" Q+C AT N,RTW(" @ M(" @(" @(" @#0IG971T97AT(" @(" @(" @(" @(" P+C$R+C$M,R @(" @ M(" @(" @#0IG971T97AT+61E=F5L(" @(" @(" P+C$R+C$M,R @(" @(" @ M(" @#0IG;G5P9R @(" @(" @(" @(" @(" Q+C(N,BTQ(" @(" @(" @(" @ M#0IG<&5R9B @(" @(" @(" @(" @(" R+CFEP(" @ M(" @(" @(" @(" @(" Q+C,N-2TQ(" @(" @(" @(" @#0II;F1E;G0@(" @ M(" @(" @(" @(" R+C(N."TQ(" @(" @(" @(" @#0II;F5T=71I;',@(" @ M(" @(" @(" Q+C,N,BTR-2 @(" @(" @(" @#0II;W!EC)?,2 @(" @(" @(" @(" Q+C N,BTU(" @(" @ M(" @(" @#0IL:6)C:&%R71H;VX@ M(" @(" @(" @(" @(" R+C,M,B @(" @(" @(" @(" @#0IR96%D;&EN92 @ M(" @(" @(" @(" T+C,M-2 @(" @(" @(" @(" @#0IR96)A" @(" @(" @(" @ M(" @(" T+C0M,B @(" @(" @(" @(" @#0IR>'9T(" @(" @(" @(" @(" @ M(" R+C