delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/25/10:08:32

X-Recipient: archive-cygwin AT delorie DOT com
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
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
From: Len Giambrone <Len DOT Giambrone AT intersystems DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: Len Giambrone <Len DOT Giambrone AT intersystems DOT com>
Date: Mon, 25 Apr 2011 10:08:05 -0400
Subject: combination of bash and cmd.exe causes fatal error when used under CYGWIN=tty
MIME-Version: 1.0
Message-Id: <20110425140806.C10479D59FA@mail2.intersystems.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019