This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tty initialization failure under cygwin 1.7.2?



I recently updated to 1.7.2 from 1.7.1 with the March 15 development
patch and noticed I was getting some process failures.  In particular
I was running the Coverity static analysis tool, and was getting an
error about not being able to "initialize fd 0 for /dev/tty0".

This problem does not appear to occur with remote desktop, just with
ssh.

I've been searching around for a simpler version of the problem
and this is what I found:

The test scenario is to do the following:

1. ssh into an cygwin sshd server with an explicit password
2. Run "cmd"
3. From "cmd" run "ls"

I unfortunately no longer have the 1.7.1 + Mar15 patch running but
with cygwin 1.5 and running "ls" lists the entries of the directory
as expected.  However, running on 1.7.2 has the following output:

C:\cygwin\home\eberge>ls
ls
     12 [main] ls 3984 C:\cygwin\bin\ls.exe: *** fatal error - couldn't initialize fd 0 for /dev/tty0

C:\cygwin\home\eberge>

I hope this is reflective of the problem I had with Coverity.  It is
the same error message at least.  Is this indicative of an underlying
problem in 1.7.2 or is this related to any sort of reconfiguration I
need to do on my box after updating to 1.7.2?


I've attached the cygcheck output.  An interesting thing is that running
cygcheck -s -v -r also resulted in "id.exe" spitting out this same error
message when run under ssh.  The output I attached was from a successful
run of cygcheck from remote desktop.

Thanks for any help you can give me with this.

Eric Berge



      

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]