[Lldb-commits] [PATCH] D12641: Work around a race condition in lldbtest.py for Windows.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 4 12:55:12 PDT 2015

Windows is well-known (I wouldn't say documented necessarily, but it seems
everyone has run into this problem before) where there is a very short
window after a process exits where some of the handles that were used by
the file (e.g. open files, the image file itself, etc) are still locked by
the operating system.  It doesn't happen every time, or even on every
machine (I've never been able to reproduce Adrian's problem on my Windows
10 machine, for example)

Maybe it's due to the search indexer, maybe it's due to antivirus, maybe
it's due to a bug in the kernel.  LLVM just had a similar problem just this
week and fixed it with a similar workaround (

On Fri, Sep 4, 2015 at 12:45 PM Stephane Sezer <sas at cd80.net> wrote:

> sas added a subscriber: sas.
> sas added a comment.
> Can you just explain why this race happens?
> Otherwise, looks good.
> http://reviews.llvm.org/D12641
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150904/d505d3c4/attachment.html>

More information about the lldb-commits mailing list