vscode icon indicating copy to clipboard operation
vscode copied to clipboard

VSCode crashes

Open Zefrock opened this issue 8 months ago • 6 comments

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

  • VS Code Version: 1.99.0 4437686ffebaf200fa4a6e6e67f735f3edf24ada x64
  • OS Version: Microsoft Windows 11 Enterprise, 10.0.26100 N/A Build 26100

VsCode-CrashReport.zip

Steps to Reproduce:

  1. Start the App, wait until the UI loads and see it crashing

Zefrock avatar Apr 08 '25 12:04 Zefrock

Issue still present with the recent VS Code Version: 1.99.1. 1.98.2 is working

Zefrock avatar Apr 09 '25 10:04 Zefrock

I have the same problem and replication steps. I can upload the crash dump file I captured using --crash-reporter-directory. I have also tried uninstalling completely, cleaned up the user folders for all relevant traces. Even after this, reinstalling versions 1.99.0 or 1.99.1 results in VSCode crashing as soon as it opens.

VSCode1.99.1-crashreport.zip

jedilord avatar Apr 10 '25 17:04 jedilord

@deepak1556 , @aiday-mar , Any updates on this crash issue? I have been trying to update to the latest version for a few weeks now, however, all the following versions: 1.99.0, 1.99.1, 1.99.2, 1.99.3 have been resulting in the same crash issue. Going back to 1.98.2 is the only way I have been able to avoid this crash issue. I normally use System installer, however I have also tried user installer options, but that hasn't solved the problems.

jedilord avatar Apr 19 '25 08:04 jedilord

1.99.3 still crashes ;) I sent a crash dump, have you had the chance to look at it?

Zefrock avatar May 07 '25 09:05 Zefrock

I tried with the latest version 1.100.0 and the crash issue still persists. Now it is even worse as I am unable to rollback to version 1.98.2 which was previously working.

I had to downgrade my vscode to 1.96.4 to get it back to working state. At this rate, several extensions are already showing up as incompatible with this several months old version. Need urgent help to resolve this issue. @deepak1556 , @aiday-mar , Any updates on this crash issue?

vscodecrash-1.100.0.zip

jedilord avatar May 09 '25 15:05 jedilord

@jedilord I have to downgrade vcode every now and then despite the setting for explicitly manual upgrades.

I use Winget to uninstall vscode and install 1.98.2, the latest version I can use without issues.

Zefrock avatar May 23 '25 12:05 Zefrock

I tried once more to find out what's wrong, but I don't have much time, tbh. but here's what I did:

Attempted running vscode with the most isolated enviornment possible

Activate the crashpad dumps, and Symbolicated one of the dumps (attached) with electron-minidump:

# electron-minidump 53e64391-8c6b-443c-87b6-b1dcc28149cf.dmp > 53e64391-8c6b-443c-87b6-b1dcc28149cf.txt
Downloading 9 symbol files from https://symbols.mozilla.org/try,https://symbols.electronjs.org...
  Downloading symbols [=========] 100% Windows.FileExplorer.Common.pdb

Symbolicating...

Symbolicated result: 53e64391-8c6b-443c-87b6-b1dcc28149cf.txt

The Crash reason is: Unhandled C++ Exception Crash address: 0x7ffce7839f0a @ Thread 0 (crashed)

Zefrock avatar May 26 '25 07:05 Zefrock

@Zefrock thanks for trying to troubleshoot the issue. It appears that after 1.96.4, some new enhancement that was introduced is causing the error. Earlier I was able to downgrade to 1.98.2 and keep working. However after I Installed 1.100.0, not only did it also keep crashing at start, but even if I downgraded to 1.98.2 (which was a previously working version), it continued to crash at start. Hence, I had to keep downgrading to previous versions and found 1.96.4 to be the latest stable version that worked for me. Subsequently I had turned off the upgrade notifications so that I can continue to use a stable and working version. Considering none of the deva have triaged this issue till now, not sure what can be an alternative way to resolve this issue.

jedilord avatar May 26 '25 07:05 jedilord