-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension Host holds onto file locks causing builds to fail #68576
Comments
@moizgh AFAIK, the extension host does not hold any locks by itself. Could you figure out which files are locked? (it would help us try to identify which extension holds locks) |
@moizgh When this happens, can you please use ProcessExplorer or similar software to identify the process id which is holding on to the file? Once you have identified the process id, can you please include here the command line arguments for it (so we can find out which one of our processes it is)? |
I've seen a similar problem since 1.29.x or 1.30.x.
This error is caused by even another standalone terminal when vscode launched by |
Repro:
|
@moizgh Can you please use the github UI at #68576 . All your email messages look funny and attachments are not making it through. @falsandtru Can you please use ProcessExplorer or similar software to identify the process id which is holding on to the file? Once you have identified the process id, can you please include here the command line arguments for it (so we can find out which one of our processes it is)? |
@alexandrudima I confirmed Code.exe is the only holder of the directory handler using ProcessExplorer. But I don't know what the command line arguments mean. |
@alexandrudima Ah probably you mean this, right?
|
Thank you for following through, from the command line arguments, that looks to be the TypeScript server process that is locking up those files/folders. |
Tracked upstream by microsoft/TypeScript#29856 and similar to microsoft/TypeScript#29407 |
Issue Type: Bug
using the rush tool to build, Extension host keeps locks on files and rush build fails consistently.
VS Code version: Code 1.31.1 (1b8e830, 2019-02-12T02:21:36.727Z)
OS version: Windows_NT ia32 10.0.14393
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (7)
The text was updated successfully, but these errors were encountered: