make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6)


From: Dan Gilbert \(gilbwd\)
Subject: RE: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6)
Date: Fri, 2 Dec 2005 06:22:14 -0800

Eli,

Thanks for responding ...

First, I received a later email where you mentioned that perhaps this is
a handle problem. All of my build scripts redirect STDOUT & STDERR to a
logfile, like:

open(SAVEOUT, ">&STDOUT") || warn "Can not re-direct SAVEOUT";
open(SAVEERR, ">&STDERR") || warn "Can not re-direct SAVEERR";
open(O_LOG, ">${DRV}\\${SHARE}\\${VIEWTAG}\\${version}_build.log");
open(STDOUT, ">&O_LOG") || warn "Can not re-direct to STDOUT";
open(STDERR, ">&STDOUT") || warn "Can not re-direct to STDERR"; 

Maybe this is the culprit ...

I will try running gmake with the debugger (and perhaps perl too). I
only see this problem when I start a build via the WEB based build
button.

The version of gmake is 3.80.

Again thanks, Dan.

-----Original Message-----
From: Eli Zaretskii [mailto:address@hidden
Sent: Friday, 02 December, 2005 5:33 AM
To: Dan Gilbert (gilbwd)
Cc: address@hidden
Subject: Re: Gmake.exe error: process_easy: DuplicateHandle(In) failed
(e=6)

> Date: Thu, 1 Dec 2005 07:09:10 -0800
> From: "Dan Gilbert \(gilbwd\)" <address@hidden>
> 
> I have a WEB based build page that starts a build on a build server. 
> The mechanism for starting a build and the build scripts themselves 
> are all written in PERL. Last week I inplemented a new build. When I 
> execute this build script from the command line, it works fine, but 
> when I use the WEB based build button I receive:
> 
> process_easy: DuplicateHandle(In) failed (e=6)
> E:\DSP\dsp_main_view\ip_phone_dsp\wildcard\tools\bin\gmake.exe:
> Interrupt/Exception caught (code = 0xc0000005, addr = 0x4174b4)

Error 6 is Invalid Handle.  Can you step with a debugger where this
error happens and see what is the value of the handle that Make is
trying to duplicate with the DuplicateHandle call?

> Any ideas why gmake has a problem in this scenario? Any work arounds? 
> My other build scripts work ok in this same scenario.

We need more information to understand the nature of the problem and
suggest workarounds.

Which version of Make is that, btw?  Can you try the latest beta or
maybe even the CVS code, and see if the problem persists?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]