microsoft / vscode

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

vscode crashes right after startup #214833

Open Shoreshen opened 3 weeks ago

Shoreshen commented 3 weeks ago

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

Steps to Reproduce:

  1. Open a few vscode windows (I did 6 of them)
  2. Reboot, vscode will remember the opened windows
  3. run code

dump with code --crash-reporter-directory:

vscode-crash-report.tar.gz

deepak1556 commented 3 weeks ago

Crash in sqlite3, very likely related to workspace data. Can you create a temporary profile using the steps Profile: Create a Temporary profile and check if the crash happens with reboot of this profile.

Shoreshen commented 3 weeks ago

Crash in sqlite3, very likely related to workspace data. Can you create a temporary profile using the steps Profile: Create a Temporary profile and check if the crash happens with reboot of this profile.

Thanks, here are what I did:

  1. Open 5~6 windows
  2. try F1 and type in Profile: Create a Temporary profile one by one
  3. Try to reboot and reopen

Here is what happend:

  1. It crashes 2 times when try to create temporary profile (4~5)
  2. I succeed one time and reboot+reopen, it hasn't crash and quit the temporary profile
  3. leave it and reboot+reopen, it crashes again

log file for the crash crash_report.tar.gz

Shoreshen commented 3 weeks ago

Crash in sqlite3, very likely related to workspace data. Can you create a temporary profile using the steps Profile: Create a Temporary profile and check if the crash happens with reboot of this profile.

Hi I reproduced the process (open 5 windows and make them all temporary profile, reboot+reopen), this time it crashes.

log file for crash: crash_report.tar.gz

Shoreshen commented 3 weeks ago

@deepak1556 Hi I just updated 1.90.1-1, the problem persists

Shoreshen commented 3 weeks ago

@deepak1556 I just found out that if I didn't maximize the window, it works fine.

The following is the report with command code --crash-reporter-directory /home/shore/文档/conf/vscode-crash-report --verbose > log:

no-crash-report.tar.gz

Shoreshen commented 3 weeks ago

@deepak1556 I think my problem may be different, since the problem only happens when I maximize all the opened vscode windows. If I didn't maximize them, it works fine. The dump for not maximizing the windows and successful opening is uploaded above

Shoreshen commented 2 weeks ago

@deepak1556 I've updated to 1.90.2 and the problem persists

6NiceRice9 commented 2 weeks ago

Version: 1.90.2

  1. deactivate in the project folder (project/.vscode/settings.json) "git.enabled": false
  2. let vscode start and change the settings back to: "git.enabled": true
  3. it works until restart of vscode, seems to be that vscode has some trouble to load git during program startup
Shoreshen commented 3 days ago

Version: 1.90.2

  1. deactivate in the project folder (project/.vscode/settings.json) "git.enabled": false
  2. let vscode start and change the settings back to: "git.enabled": true
  3. it works until restart of vscode, seems to be that vscode has some trouble to load git during program startup

Thanks, I did the following:

  1. open all projects's settings.json and added "git.enabled": false in it
  2. try to open vscode, it crashes
  3. make all "git.enabled": false into "git.enabled": true
  4. try to open vscode, it also crashes T T
Shoreshen commented 14 hours ago

@deepak1556 update to 1.91, the problem persists

Shoreshen commented 14 hours ago

@deepak1556 furthermore, when opening multiple vscode windows, it also has possibility of random crash

Shoreshen commented 12 hours ago

@deepak1556 Hi if anything or other information you need to resolve this issue, please let me know and I'll try my best to provide

Shoreshen commented 12 hours ago

@deepak1556 I tried version 1.89, it works fine

road2react commented 2 hours ago

Getting same issue