public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: combination of bash and cmd.exe causes fatal error when used under CYGWIN=tty
Date: Wed, 08 Jun 2011 19:35:00 -0000	[thread overview]
Message-ID: <20110608193441.GB7755@ednor.casa.cgf.cx> (raw)
In-Reply-To: <20110425140806.C10479D59FA@mail2.intersystems.com>

On Mon, Apr 25, 2011 at 10:08:05AM -0400, Len Giambrone wrote:
>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?

This problem will eventually go away when Cygwin 1.7.10 is released and
CYGWIN=tty goes away.  If this is still a problem in mintty or some
other terminal emulator then we'll look into it.

cgf

--
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

      reply	other threads:[~2011-06-08 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26  3:44 Len Giambrone
2011-06-08 19:35 ` Christopher Faylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110608193441.GB7755@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).