microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.86k stars 29.14k forks source link

Client vanishing #219320

Closed ren-142326 closed 1 month ago

ren-142326 commented 4 months ago

Type: Bug

When you use the DELETE key to delete a file or folder in Resource Management, the client exits directly

VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:34:26.404Z) OS version: Windows_NT x64 10.0.22635 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i7-12700H (20 x 2688)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.73GB (17.07GB free)| |Process Argv|--crash-reporter-id edbf3369-5a1c-4bce-8c66-0bf18d77772e| |Screen Reader|no| |VM|0%|
Extensions (1) Extension|Author (truncated)|Version ---|---|--- vscode-language-pack-zh-hans|MS-|1.90.2024061209
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 dsvsc021:30996838 jg8ic977:31013176 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31082723 ```
ren-142326 commented 4 months ago

image

image

the client exits directly

lramos15 commented 4 months ago

It looks like you're deleting a large folder so it takes a bit to actually complete the deletion

ren-142326 commented 4 months ago

It looks like you're deleting a large folder so it takes a bit to actually complete the deletion

Deleting any file will cause the client to exit, including deleting files with the right mouse click

lramos15 commented 4 months ago

So you're saying VS Code crashes after deleting a single file? Sorry I did not quite understand the description

ren-142326 commented 4 months ago

So you're saying VS Code crashes after deleting a single file? Sorry I did not quite understand the description

Yes, VScode will crash while doing a file or directory deletion, but the file or directory is not deleted

rzhao271 commented 3 months ago

Could you upload a crash report, following the instructions at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report?

deepak1556 commented 3 months ago

@ren-142326 can you share the logs from code --verbose when the exit happens, it will help us confirm if there is a crash or a different exit.

ren-142326 commented 3 months ago

您能否按照https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report上的说明上传崩溃报告?

Sorry, I did not repeat this question today, I don't know why there is no problem today, but I will continue to pay attention to this issue, and I will provide these information when I repeat it again.

ren-142326 commented 3 months ago

@ren-142326您能否分享退出时的日志code --verbose,这将帮助我们确认是否发生崩溃或其他退出。

Sorry, I did not repeat this question today, I don't know why there is no problem today, but I will continue to pay attention to this issue, and I will provide these information when I repeat it again.

ren-142326 commented 3 months ago

@ren-142326您能否在回顾历史时回顾并code --verbose回答这个问题?

抱歉,我今天没有重复这个问题,我不知道为什么今天没有问题,但我会继续关注这个问题,当我再次重复时我会提供这些信息。

code --verbose

[main 2024-07-03T03:30:41.143Z] PolicyConfiguration#initialize [main 2024-07-03T03:30:41.144Z] PolicyConfiguration#updatePolicyDefinitions [ 'http.proxy', 'http.proxyStrictSSL', 'http.proxyKerberosServicePrincipal', 'http.proxyAuthorization', 'http.proxySupport', 'http.systemCertificates', 'http.experimental.systemCertificatesV2', 'telemetry.telemetryLevel', 'telemetry.enableTelemetry', 'update.mode', 'update.channel', 'update.enableWindowsBackgroundUpdates', 'update.showReleaseNotes' ] [main 2024-07-03T03:30:41.145Z] NativePolicyService#_updatePolicyDefinitions - Found 1 policy definitions [main 2024-07-03T03:30:41.152Z] [File Watcher (node.js)] Request to start watching: c:\Users\29090\AppData\Roaming\Code\User (excludes: , includes: , filter: , correlationId: ),c:\Users\29090\AppData\Roaming\Code\User\settings.json (excludes: , includes: , filter: , correlationId: ) [main 2024-07-03T03:30:41.154Z] NativePolicyService#_onDidPolicyChange - Updated policy values: {} [main 2024-07-03T03:30:41.155Z] PolicyConfiguration#update [ 'update.mode' ] [main 2024-07-03T03:30:41.171Z] Sending some foreground love to the running instance: 3748 [main 2024-07-03T03:30:41.175Z] Sending env to running instance... [main 2024-07-03T03:30:41.179Z] [File Watcher (node.js)] Started watching: 'c:\Users\29090\AppData\Roaming\Code\User' [main 2024-07-03T03:30:41.183Z] [File Watcher (node.js)] Started watching: 'c:\Users\29090\AppData\Roaming\Code\User\settings.json' [main 2024-07-03T03:30:41.349Z] Sent env to running instance. Terminating... [main 2024-07-03T03:30:41.349Z] Lifecycle#kill() [main 2024-07-03T03:30:41.349Z] Lifecycle#onWillShutdown.fire()

This is the current log information, but the problem is not currently reproduced, I don't know if this will help

vs-code-engineering[bot] commented 1 month ago

Hey @deepak1556 @rzhao271, this issue might need further attention.

@ren-142326, you can help us out by closing this issue if the problem no longer exists, or adding more information.

rzhao271 commented 1 month ago

Closing for now. Please let us know if the problem shows up again on the latest version of VS Code.