[llvm] [llvm][Support][Windows] Avoid crash calling remove_directories() (PR #118677)

Dmitry Vasilyev via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 06:12:20 PST 2024


slydiman wrote:

> Unlike the article, where the crash was in some third party extension, this appears to be a built-in OS component which (I would hope) doesn't have these kinds of bugs.

The article refers buggy Contoso shell extensions. But it seems Contoso is an alias of Microsoft. No guarantees.
It is possible that the cause is the built-in antivirus that cannot be completely disabled on Windows Server 2022.
Perhaps the modules created by thу lldb-api::TestModuleLoadedNotifys.py test are particularly attractive to antivirus software.
The only thing we know for sure is that the crash occured in SHELL32_CallFileCopyHooks(), which is not needed for this operation. By disabling CopyHooks we will increase performance and improve stability in any case.

https://github.com/llvm/llvm-project/pull/118677


More information about the llvm-commits mailing list