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: Tom Kronmiller
Subject: RE: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6)
Date: Thu, 1 Dec 2005 16:29:44 -0500

A while ago I was having this exact symptom in a similar context: on windows, running gmake through a perl-based wrapper script.  Ultimately it turned out (and I have no idea why) that when the perl script included a back-tick command
    $x = `some command`;
    ....
    system("gmake ....");
then the problem would manifest, but not if the backtick was disabled by something like
    system("some command > tmpfile");
    open(file "< tmpfile"); read, ... into $x;
    ...
    system("gmake ....");
 

--
Tom Kronmiller
 

 


From: address@hidden [mailto:address@hidden On Behalf Of Dan Gilbert (gilbwd)
Sent: Thursday, December 01, 2005 10:09 AM
To: address@hidden
Subject: Gmake.exe error: process_easy: DuplicateHandle(In) failed (e=6)

Hi,
 
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)
when calling gmake.exe in the build script using a PERL system call.
 
The mechanism for starting a build is a PERL script running on a IIS server (which publishes the WEB based button) that opens a socket to the proper build machine The build machines are running a PERL service that accepts/rejects the JOB request based on it's current load: number/type of tasks running.  Once a machine accepts the build request, the WEB machine service hands this JOB to the build machine service and in trun the build machine service starts a PERL script that determines what PERL build script to call and calls it (again using a system call).
 
Any ideas why gmake has a problem in this scenario? Any work arounds? My other build scripts work ok in this same scenario.
 
Thanks in advance for any help, Dan
 
  **********************************
  Dan Gilbert
  Cisco Systems, Inc
  2200 East President George Bush Turnpike
  Richardson, TEXAS 75082
 
  email: address@hidden
  Work Number 972 813 5147
  Fax Number 972 813 5280
  **********************************
 

reply via email to

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