Skip to content
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

File explorer freezes | unable to open/close files | on close message "Discarding backups is taking a bit longer" #154085

Closed
clemens-zauchner opened this issue Jul 4, 2022 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@clemens-zauchner
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.68.1 / 30d9c6c / x64

  • OS Version: Pop!_OS 22.04 LTS

Steps to Reproduce:

  1. Open VSCode
  2. Open / Close File

A few days ago, VSCode started to not be able to open / close files in my project and the explorer indicates to be busy:

image

When trying to close the application, there is a popup "Dicarding backups is taking a bit longer..."

image

When hitting Cancel, another popup appears saying "Reloading the window is taking a bit longer", but actually never reopens or shuts down, so I am forced topkill code from the CLI.

image

I have tried to remedy the issue with no success by deleting contents of several folder in ~/.config/Code:

  • Cache
  • Code Cache
  • CachedConfigurations
  • CachedData
  • CachedExtensions
  • CachedExtensionVSIXs
  • Session Storage
  • Workspaces
  • Backups
@bpasero
Copy link
Member

bpasero commented Jul 5, 2022

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

@bpasero bpasero added the info-needed Issue requires more information from poster label Jul 5, 2022
@clemens-zauchner
Copy link
Author

I have tried it, but it persists with that option.

@bpasero
Copy link
Member

bpasero commented Jul 6, 2022

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@clemens-zauchner
Copy link
Author

I have worked with the nightly inside build 1.69.0-1657047388_amd64 for a couple of days now and everything runs smoothly.

@bpasero bpasero closed this as completed Jul 12, 2022
@eahenle
Copy link

eahenle commented Aug 24, 2022

I have this exact problem with a freshly updated installation:
Version: 1.70.2
Commit: e4503b3
Date: 2022-08-16T05:36:25.715Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Linux x64 5.15.0-46-generic

This bug has rendered VSCode nearly impossible to use. After some time, all active instances of the application will cease reading/writing files and the only way to restore function is to kill the application in such a way that no backups are provided anyway. Is there any way to completely disable this backups feature? It is presently counter-productive.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants