Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <7981176ECF38D111AD9F0060080642DA02CF2309@kher123a.khe.siemens.de> From: Wolf Josef To: cygwin AT cygwin DOT com Subject: "Couldn't duplicate my handle" error Date: Tue, 16 Jul 2002 18:14:12 +0200 MIME-Version: 1.0 Content-Type: text/plain Hello! After installing the newest cygwin release on my w2k box, I get the following error message when make runs a specific program: $ make /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 error message. 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 box. 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/