From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16616 invoked by alias); 25 Apr 2011 14:08:24 -0000 Received: (qmail 16606 invoked by uid 22791); 25 Apr 2011 14:08:22 -0000 X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail2.intersystems.com (HELO mail2.intersystems.com) (38.105.105.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Apr 2011 14:08:07 +0000 X-InterSystems: Sent from InterSystems X-InterSystems: Sent from InterSystems X-InterSystems: Sent from InterSystems From: Len Giambrone To: "cygwin@cygwin.com" CC: Len Giambrone Date: Tue, 26 Apr 2011 03:44:00 -0000 Subject: combination of bash and cmd.exe causes fatal error when used under CYGWIN=tty Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20110425140806.C10479D59FA@mail2.intersystems.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-04/txt/msg00347.txt.bz2 Greetings. If I set CYGWIN=3Dtty, then cygwin programs die with=20 *** fatal error - couldn't initialize fd 0 for /dev/ttyN Example: C:\cygwin\home\lgiambro>bash -c "cmd /c 'ls'" =A0=A0=A0=A0=A0 0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - co= uldn't initiali ze fd 0 for /dev/tty7 =A0=A0=A0=A0=A0 0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - co= uldn't initiali ze fd 0 for /dev/tty7 Stack trace: Frame=A0=A0=A0=A0 Function=A0 Args 00283918=A0 6102796B=A0 (00283918, 00000000, 00000000, 00000000) 00283C08=A0 6102796B=A0 (6117EC60, 00008000, 00000000, 61180977) 00284C38=A0 61004F1B=A0 (611A82B0, 00000000, 61243B04, 00010000) End of stack trace Corinna had mentioned that she was aware of the problem and looking for the= cause in http://cygwin.com/ml/cygwin/2010-09/msg00237.html Has any progress been made on this issue?=A0 Does anyone know of a way to g= et around it? -Len -- 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