This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: bash within XEmacs



I wrote:

    Ian> I am still getting those pesky messages:
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1048 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1049 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1050 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1051 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1052 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1053 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1054 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0
    Ian> amazon:~$ 

    Ian> And one more everytime a start a program from this shell.  For extra
    Ian> weirdness, this is not completely reproducible, sometimes it starts
    Ian> cleanly, OTOH sometimes (rarely) it's DOA.  I can discern no pattern
    Ian> in the situations with various outcomes.

    Ian> NT4 SP5, NTFS, binary mount, CYGWIN=tty ntea

I have since found I don't get the messages when I (setq
process-conection-type nil) in Xemacs (forcing it to use pipes instead 
of ptys).  So it is specific to fhandler_[pt]ty*.  Of course
interacting through pipes is not really desirable and leads to other
problems.

What is interesting is the message refers to /dev/tty1 which shouldn't 
be involved, it ought to be /dev/ttyp1 (if the virtual device names
are Unixy-sensible at all).

-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324, San Francisco, California 94107


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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