Closed mrburrito closed 1 year ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.79.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
Oh TriageBot... if you only understood the irony...
Here's the log file from my last install attempt.
/duplicate #76641
Sadly there's no great option here other than using the ZIP format for now. Sorry about that.
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!
From reading the comment thread on the duplicate issue, it sounds like a great option would be querying for the exact path of the running process or only failing if there's actually files in use? Is #76641 ever going to be addressed, or are those of us sharing machines just SOL?
Type: Bug
I'm running VSCode on an Azure Virtual Desktop managed by my company. My particular desktop runs on a shared host where there are other isolated AVD instances running for other users. I do not have admin privileges on the box, but I am able to install VSCode in user-space.
When VSCode tries to auto-update, it first attempts to kill any running
Code.exe
processes and gets a permission denied error. I believe what is happening is the installer is able to see running Code.exe processes from other users on the server even though they are not running off my user-space installation and I am unable to see those processes in any OS view. This causes the self-update to fail. If I exit VSCode, download the update, and completely reinstall as a user install, it successfully overwrites without the exit check.Please change the updater so it only attempts to kill
Code.exe
processes started from the exact installation that will be updated, rather than system-wide.Steps to Reproduce (I think):
Update Now
when promptedExpected Behavior:
VSCode successfully updates the local installation to the latest version.
Actual Behavior:
VSCode exits and system appears to do nothing for several seconds until an error dialog appears indicating the permissions error stopping all running
Code.exe
processes.VS Code version: Code 1.79.1 (4cb974a7aed77a74c7813bdccd99ee0d04901215, 2023-06-12T16:14:05.102Z) OS version: Windows_NT x64 10.0.19044 Modes: Remote OS version: Linux x64 3.10.0-1160.88.1.el7.x86_64
System Info
|Item|Value| |---|---| |CPUs|AMD EPYC 7763 64-Core Processor (8 x 2445)| |GPU Status|2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software| |Load (avg)|undefined| |Memory (System)|31.95GB (7.80GB free)| |Process Argv|--crash-reporter-id 87e5818c-cbab-4d10-bc7f-19efe79b03de| |Screen Reader|yes| |VM|0%| |Item|Value| |---|---| |Remote|SSH: remote.linux.host| |OS|Linux x64 3.10.0-1160.88.1.el7.x86_64| |CPUs|Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz (4 x 2499)| |Memory (System)|30.81GB (22.77GB free)| |VM|0%|
Extensions (26)
Extension|Author (truncated)|Version ---|---|--- intellij-idea-keybindings|k--|1.5.9 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 vscode-remote-extensionpack|ms-|0.24.0 remote-explorer|ms-|0.4.0 vscode-markdownlint|Dav|0.51.0 gitlens|eam|14.0.1 vscode-html-css|ecm|1.13.1 shell-format|fox|7.2.5 vscode-pull-request-github|Git|0.66.1 vscode-ansi|ili|1.1.6 bash-extension-pack|liz|0.0.4 bash-ide-vscode|mad|1.37.0 string-manipulation|mar|0.5.7 black-formatter|ms-|2023.2.0 isort|ms-|2022.8.0 python|ms-|2023.10.1 vscode-pylance|ms-|2023.6.20 sqltools|mtx|0.27.1 sqltools-driver-pg|mtx|0.5.1 pytest-fixtures|nic|0.3.0 pytest-runner|pam|0.0.7 text-utils|qux|0.1.7 vscode-yaml|red|1.13.0 bash-debug|rog|0.3.9 shellcheck|tim|0.32.6A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931:30280409 vshan820:30294714 vstes263:30335439 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vscaat:30438848 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 2e4cg342:30602488 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 03d35959:30757346 pythonfmttext:30731395 pythoncmv:30756943 fixshowwlkth:30771522 hideindicator:30766889 pythongtdpath:30769146 i26e3531:30769768 dh2dc718:30770000 pythonidxptcf:30772540 pythondjangots:30772535 pythonnocebcf:30771284 ```