[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 09:29:55 +0300

> From: Orgad Shaneh <address@hidden>
> Date: Fri, 16 Jun 2017 01:16:09 +0300
> ... or not. I still get it even without this patch, when running from IDE. 
> Reverting the patch only fixes the issue
> when running in command line.
> I did file a bug[1], but this is not the real reason. Probably timing issue.

Most probably.  It also could be indirectly caused by your recipes.

> Another thing I've noticed is that make (on Windows/MinGW) leaves behind 
> suspended processes when it is
> aborted. Maybe one of these processes holds the file and prevents it from 
> being deleted?

Could be, you should be able to use Process Explorer to see who holds
a handle on the files that fail to be deleted.

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

> If you can suggest ways to debug and fix this problem, I'll be thankful.

Well, I'd start by posting a minimal Makefile and auxiliary files that
allow to reproduce the issue.

Another approach would be to try the MinGW build here:


where you can also find Make built with Guile support, something I
don't think MSYS2 guys offer.

reply via email to

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