This is the mail archive of the
cygwin
mailing list for the Cygwin project.
combination of bash and cmd.exe causes fatal error when used under CYGWIN=tty
- 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
Greetings.
If I set CYGWIN=tty, then cygwin programs die with
*** fatal error - couldn't initialize fd 0 for /dev/ttyN
Example:
C:\cygwin\home\lgiambro>bash -c "cmd /c 'ls'"
????? 0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - couldn't initiali
ze fd 0 for /dev/tty7
????? 0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - couldn't initiali
ze fd 0 for /dev/tty7
Stack trace:
Frame???? Function? Args
00283918? 6102796B? (00283918, 00000000, 00000000, 00000000)
00283C08? 6102796B? (6117EC60, 00008000, 00000000, 61180977)
00284C38? 61004F1B? (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?? Does anyone know of a way to get 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