[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:24 PDT 2015

zturner added a subscriber: zturner.
zturner added a comment.

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 (


More information about the lldb-commits mailing list