|Subject:||Re: Unlink failure on abort|
|Date:||Fri, 16 Jun 2017 15:59:09 +0300|
> From: Orgad Shaneh <address@hidden>
> Date: Fri, 16 Jun 2017 11:49:33 +0300
> Cc: address@hidden
> In general, killing subprocesses is problematic on Windows, because
> only child processes can be killed, the grandchildren cannot.
> Therefore, rearranging your build commands might make the issue go
> Then this can explain the problem. g++.exe invokes a child process cc1plus.exe. Maybe g++ is killed, but
> cc1plus still has the file open. Then both g++ and make try to unlink the file, but they both fail. I attach a
> Process Monitor log for this scenario.
I don't see any calls to DeleteFile in this log. I expected to see at
least one that failed with ERROR_ACCESS_DENIED. What am I missing?
Is this expected? With the patch it doesn't happen.
make: *** Deleting file 'obj/m^ainC.oTerminate batch job (Y/N)? '
|[Prev in Thread]||Current Thread||[Next in Thread]|