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]

Re: Getting 'Bad file descriptor' error with 1.5.24-2


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://cygwin.com/acronyms/#PCYMTWLL - wrapping would be nice

> To: 'cygwin AT cygwin DOT com'
             ^^^^      ^^^^^

http://cygwin.com/acronyms/#PCYMTNQREAIYR - raw emails munged

http://cygwin.com/acronyms/#TOFU - top-posting reformatted

According to Schuff, Scott on 3/6/2007 2:43 PM:
> Tried just redirecting output to a file, and the behavior is exactly the same.  This did tell me something interesting though ... the 'Bad file descriptor' error was in fact written to the log *before* the hung process (gawk) was killed:
> 
> /bin/sh: cannot duplicate fd 31 to fd 0: Bad file descriptor

I'm not reproducing this here.  Do you have any rogue antivirus, webcam,
or other buggy driver that might be interfering with normal cygwin
operation?  At worst, you could run the entire operation under strace, to
see if that pinpoints which invocation of bash is failing on dup2.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7heH84KuGfSFAYARAiU7AJ0dTE7o1+WJ16MlCNcAki3fmlOhlgCgnfPG
c8iGstbtr9yytujOqWJ4KrA=
=180G
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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