X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 05 Oct 2008 00:54:28 -0400 From: "EMF" Subject: RE: Terminal Services session hung: csrss.exe doesn't exit if Cygwin was run in the session In-reply-to: To: Message-id: <000601c926a6$73093660$0301a8c0@lambda> MIME-version: 1.0 X-Mailer: Microsoft Outlook, Build 10.0.6838 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Is there anything else I can (or should have) provide(d) to help troubleshoot this? As I have in the past used Cygwin for many an automated task on Windows Terminal Server boxes, I'd hate to have to abandon the tools going forward. :/ -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of EMF Sent: Friday, September 26, 2008 5:52 PM To: cygwin AT cygwin DOT com Subject: Terminal Services session hung: csrss.exe doesn't exit if Cygwin was run in the session I've encountered an issue running on Windows Server 2003, both 32-bit and 64-bit. I can log in and out of Terminal Services sessions all day long if I don't start Cygwin, but if I start Cygwin and run, for example, the attached script (MakeShare.sh), then csrss.exe will hang when I log out, locking up the TS connection. I dug through the mailing list archives, but all I can find there with references to csrss.exe involve it and bash.exe pegging the CPU at 100%, which doesn't match up with my symptoms. bash.exe is no longer running, and in fact was closed before I logged out of the session. The 32-bit machine is actually a Citrix server, running Cygwin/X through an SSH tunnel to a CentOS5 box. That's a much more complicated than the 64-bit machine which is exhibiting the same hang symptoms with what I *think* is a fairly straightforward script. Attached are the script and the results of the 64-bit machine's cygcheck. I can replicate this problem pretty much at whim. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/