X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4E9440C8.2060805@cornell.edu> Date: Tue, 11 Oct 2011 09:12:40 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problem redirecting stderr to pipe in subprocess References: <4E906DD1 DOT 50107 AT cornell DOT edu> <4E90C308 DOT 9090508 AT cornell DOT edu> <20111009235815 DOT GA18203 AT ednor DOT casa DOT cgf DOT cx> <20111010220608 DOT GA1568 AT ednor DOT casa DOT cgf DOT cx> <4E93AD5E DOT 6060001 AT cornell DOT edu> <20111011034441 DOT GA20346 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20111011034441.GA20346@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 10/10/2011 11:44 PM, Christopher Faylor wrote: > On Mon, Oct 10, 2011 at 10:43:42PM -0400, Ken Brown wrote: >> My STCs still don't work right for me under the 2011-10-10 snapshot. >> The bash subprocess no longer shows as stopped when I run ps, but it >> doesn't produce any output either, and it doesn't terminate for several >> minutes. I eventually get the following message on the terminal >> >> 1 [main] bash 7604 sig_send: wait for sig_complete event failed, >> signal -39, rc 258, Win32 error 0 >> >> and bash leaves a stackdump. Are you seeing something different? > > For me it works on Cygwin the same as it does on Linux. No hang, > obviously. If it worked like the above I wouldn't have announced > a fix. I didn't think you would have, but it's puzzling that it fails on my system. I've just replicated the problem on a second computer (this one running XP SP3, so the OS isn't the issue). In addition, the 2011-10-10 snapshot doesn't work well with xterm. When I start xterm, I see bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell The xterm problem goes away when I revert to the 2011-08-29 snapshot. Ken -- 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