Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Error when doing make clean

closed-fixed
nobody
None
5
2002-06-17
2002-05-22
Anonymous
No

An error occurred when select Build->Make clean.
Actually,
only Build Makefile and Run work. The rest will have similar
error.

Deleting objects...
make -f makefile
clean
process_... DuplicateHandle(In) failed
(e=6)
make Interrupt/Exception caught(code =
0xc0000005, addr = 0x41bf2a)
Abort!

Discussion

  • Logged In: NO

    Same problem.

    Im using WindowsXP.

     
  • manu b
    manu b
    2002-05-22

    Logged In: YES
    user_id=295543

    It seems that make crashes for an obscure reason.
    Do you use MinGW or Cygwin.
    Maybe, Visual-MinGW's rm.exe is responsable of this problem.

    Manu.

     
  • manu b
    manu b
    2002-06-08

    Logged In: YES
    user_id=295543

    Release 0.43-alpha fixes this bug.

    Here's a snippet of old buggy code:

    [...]
    // A pipe for standard input ?
    if (Pipes.stdIn[1] != NULL)
    si.hStdInput = Pipes.stdIn[1];
    else
    si.hStdInput = ::GetStdHandle(STD_INPUT_HANDLE);
    ^^^^^^^^^^^ returns an invalid handle :(
    [...]

    if ((creationFlag & IN_PIPE) == IN_PIPE){
    CreatePipe(&stdIn[1], &stdIn[0], &sa, 0);
    SetHandleInformation(stdIn[0], HANDLE_FLAG_INHERIT, 0);
    ^^^^^^^^^^^^^^^^^ not supported under win9x,
    the function silently fail :(
    }

    Thanks for this bug report,
    I will close this item in a few
    days.

    Manu.

     
  • manu b
    manu b
    2002-06-17

    • status: open --> closed-fixed