This is the mail archive of the
mailing list for the Cygwin project.
"Couldn't duplicate my handle" error
- From: Wolf Josef <josef dot wolf at siemens dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Jul 2002 18:14:12 +0200
- Subject: "Couldn't duplicate my handle" error
After installing the newest cygwin release on my w2k box, I get the
following error message when make runs a specific program:
/d/mri/mcc68k/mcc68k -c -o main.o main.c
267 [main] make 1404 proc_subproc: Couldn't duplicate my handle<0x30> for
pid 150, Win32 error 6
mcc68k is an old (probably 16-bit) cross-compiler from microtec research.
I think the problem has to do with this 16-bit-stuff.
On my old NT-4.0 box (with an old cygwin-release) I've never seen such an
I have searched through the archives and found about 30 questions related
to this error message but there were no answers. The only hint was from
Stephen Smith who mentions in
http://sources.redhat.com/ml/cygwin/2001-10/msg00918.html that the error
is generated at sigproc.cc, line 266.
I am not sure whether the error does a real harm, because the compiler
creates object files which are identical to those created on my old NT-4.0
The error message disappears when I put the command into parenthesis
and make calls the compiler indirectly via a sub-shell. So I assume that
this is not a general cygwin-problem but has something to do with the
specific way how make spawns its children.
Since I can reproduce this message, I would like to track it down.
Unfortunately, I have no clue how to debug this windows-dll stuff. Maybe
some kind soul could give me a little guide how to track it down?
BTW: Does anybody know what "Win32 error 6" means?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html