[Top][All Lists]

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

Re: Unlink failure on abort

From: Eli Zaretskii
Subject: Re: Unlink failure on abort
Date: Fri, 16 Jun 2017 15:52:55 +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
>  away.
> 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?

reply via email to

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