Skip to content

VSCode crashes #9719

Description

@niuboren
Image Recently, I have frequently encountered crashes and errors in VSCode. I have tried versions 1.135.0, 1.134.0, and 1.132.1. I have also disabled all plugins and disabled login. However, the errors still occur frequently. Sometimes, it crashes within minutes of starting, and sometimes it lasts for more than ten minutes.

main.log:
2026-09-01 15:05:01.745 [info] StorageMainService: creating application shared storage
2026-09-01 15:05:01.829 [info] [shared storage] Creating shared storage database at 'c:\Users\Administrator.vscode-shared\sharedStorage\state.vscdb' (wasCreated: false)
2026-09-01 15:05:01.830 [info] [shared storage] Initializing fallback application storage (path: c:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\state.vscdb)
2026-09-01 15:05:01.837 [info] update#setState disabled
2026-09-01 15:05:01.837 [info] update#ctor - updates are disabled due to running as Admin in user setup
2026-09-01 15:05:01.841 [info] [shared storage] Fallback application storage initialized with 267 items
2026-09-01 15:05:02.125 [info] AgentHostProcessManager: agent host started
2026-09-01 15:05:04.524 [error] [AgentHost:stderr] (node:1064) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.
(Use Code --trace-deprecation ... to show where the warning was created)

2026-09-01 15:09:20.550 [info] Extension host with pid 42060 exited with code: 3221225477, signal: unknown.
2026-09-01 15:09:20.550 [error] [UtilityProcess id: 1, type: extensionHost, pid: 42060]: crashed with code -1073741819 and reason 'crashed'
2026-09-01 15:09:21.506 [info] Extension host with pid 29272 exited with code: 3221225477, signal: unknown.
2026-09-01 15:09:21.506 [error] [UtilityProcess id: 2, type: extensionHost, pid: 29272]: crashed with code -1073741819 and reason 'crashed'
2026-09-01 15:09:22.336 [info] Extension host with pid 37632 exited with code: 3221225477, signal: unknown.
2026-09-01 15:09:22.336 [error] [UtilityProcess id: 3, type: extensionHost, pid: 37632]: crashed with code -1073741819 and reason 'crashed'
2026-09-01 15:13:07.288 [info] Extension host with pid 40588 exited with code: 0, signal: unknown.
2026-09-01 15:14:10.224 [error] [uncaught exception in main]: TypeError: Titlebar overlay is not enabled
2026-09-01 15:14:10.225 [error] TypeError: Titlebar overlay is not enabled
at Qc.updateWindowControls (file:///C:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/main.js:500:51112)
at Qc.setWin (file:///C:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/main.js:500:48120)
at Qc.doTryClaimWindow (file:///C:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/main.js:514:4379)
at Qc.tryClaimWindow (file:///C:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/main.js:514:4069)
at EventEmitter. (file:///C:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/main.js:514:5832)
at EventEmitter.emit (node:events:509:28)
at BrowserWindow._init (node:electron/js2c/browser_init:2:19441)
at openGuestWindow (node:electron/js2c/browser_init:2:117165)
at WebContents. (node:electron/js2c/browser_init:2:106559)
at WebContents.emit (node:events:509:28)
2026-09-01 15:23:33.571 [error] CodeWindow: renderer process gone (reason: crashed, code: -2147483645)
2026-09-01 15:23:33.619 [info] Extension host with pid 39776 exited with code: 0, signal: unknown.
2026-09-01 15:26:06.245 [warning] updateWindowsJumpList#setJumpList unexpected result: error
2026-09-01 15:26:10.243 [info] Extension host with pid 20364 exited with code: 3221225477, signal: unknown.
2026-09-01 15:26:10.243 [error] [UtilityProcess id: 6, type: extensionHost, pid: 20364]: crashed with code -1073741819 and reason 'crashed'
2026-09-01 15:26:11.141 [info] Extension host with pid 44584 exited with code: 3221225477, signal: unknown.
2026-09-01 15:26:11.142 [error] [UtilityProcess id: 7, type: extensionHost, pid: 44584]: crashed with code -1073741819 and reason 'crashed'
2026-09-01 15:26:14.209 [info] Extension host with pid 37792 exited with code: 3221225477, signal: unknown.
2026-09-01 15:26:14.210 [error] [UtilityProcess id: 8, type: extensionHost, pid: 37792]: crashed with code -1073741819 and reason 'crashed'
2026-09-01 15:28:01.184 [info] Extension host with pid 38292 exited with code: 0, signal: unknown.

renderer.log:
2026-09-01 15:32:30.181 [info] [AgentHost:renderer] Acquiring MessagePort to agent host...
2026-09-01 15:32:30.305 [info] [ChatModelSelection] event=initialize surface="workbench" sessionKey=undefined conversationKey=undefined modelTarget=undefined storageKey="chat.currentLanguageModel.panel" widgetViewKind="view" configuredModel=undefined rememberedModel=undefined availableModels="copilot/auto,copilot/claude-fable-5,copilot/claude-haiku-4.5,copilot/claude-opus-4.7,copilot/claude-opus-4.8,copilot/claude-opus-4.8-fast,copilot/claude-opus-5,copilot/claude-sonnet-4.5,copilot/claude-sonnet-4.6,copilot/claude-sonnet-5,copilot/gemini-3.1-pro-preview,copilot/gemini-3.5-flash,copilot/gemini-3.6-flash,copilot/gemini-3.7-flash,copilot/gpt-5-mini,copilot/gpt-5.3-codex,copilot/gpt-5.4,copilot/gpt-5.4-mini,copilot/gpt-5.5,copilot/gpt-5.6-luna,copilot/gpt-5.6-sol,copilot/gpt-5.6-terra,copilot/grok-4.5,copilot/grok-4.6,copilot/kimi-k2.7-code,copilot/kimi-k3,copilot/mai-code-1-flash-picker,copilot/mai-code-1.1-flash,copilot/oswe-vscode-prime" selection="apply" resultModel="copilot/auto" resultReason="firstAvailable" pendingReference=undefined
2026-09-01 15:32:30.385 [error] SyntaxError: Invalid left-hand side in assignment
at s._createInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:2000)
at s._createServiceInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:5170)
at s._createServiceInstanceWithOwner (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:4085)
at s._createAndCacheServiceInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:3767)
at s._safeCreateAndCacheServiceInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:2911)
at s._getOrCreateServiceInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:2632)
at s._createInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:1597)
at s.createInstance (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2139:1440)
at H6e.doResolve (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5403:8621)
at H6e.resolve (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5403:8288)
at lw.doResolveAsText (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2738:20280)
at lw.resolve (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:2738:20140)
at $X.setInput (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:4105:92148)
at async oWe.doSetInput (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:1416:34979)
at async oWe.doOpenEditor (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:1416:32765)
at async oWe.openEditor (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:1416:31713)
at async vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:1529:32188
2026-09-01 15:32:30.484 [info] [AgentHost:renderer] MessagePort acquired, creating client...
2026-09-01 15:32:30.521 [info] [AgentHost:renderer] Protocol connection established; clientId=31406e61-86e3-4254-8ebb-e172db9b0589
2026-09-01 15:32:30.526 [info] Started local extension host with pid 51340.
2026-09-01 15:32:30.820 [error] [vscode.mermaid-markdown-features]: Extension 'vscode.mermaid-markdown-features' CANNOT use 'legacyToolReferenceFullNames' without the 'chatParticipantPrivate' API proposal enabled
2026-09-01 15:32:31.528 [info] [AccountPolicyGate] apply: state=inactive, reason=undefined, isRestricted=false
2026-09-01 15:32:31.740 [error] [Extension Host] (node:51340) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Code --trace-deprecation ... to show where the warning was created)
2026-09-01 15:32:31.740 [error] [Extension Host] (node:51340) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.
2026-09-01 15:32:32.147 [info] [AgentHost] Authenticating for resource: https://api.github.com
2026-09-01 15:32:32.416 [error] MainThreadChatAgents2#$updateAgent: No agent with handle 2 registered
2026-09-01 15:32:32.470 [info] [AgentHost] Authenticating for resource: https://api.github.com/repos
2026-09-01 15:32:32.506 [error] chatParticipant must be declared in package.json: claude-code
2026-09-01 15:32:32.691 [error] [Extension Host] (node:51340) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2026-09-01 15:32:32.923 [info] Settings Sync: Account status changed from uninitialized to available
2026-09-01 15:32:33.261 [info] [perf] Render performance baseline is 9ms
2026-09-01 15:32:34.226 [error] Extension host (LocalProcess pid: 51340) terminated unexpectedly. The following extensions were running: vscode.github-authentication, mechatroner.rainbow-csv, vscode.emmet, Vue.volar, GitHub.copilot-chat, vscode.git-base, vscode.terminal-suggest, vscode.microsoft-authentication, vscode.configuration-editing, vscode.json-language-features, vscode.typescript-language-features, vscode.git, vscode.github, christian-kohler.path-intellisense, fernandoescolar.vscode-solution-explorer, j69.ejs-beautify, ms-dotnettools.vscode-dotnet-runtime, ms-dotnettools.csdevkit, ms-dotnettools.csharp, visualstudiotoolsforunity.vstuc, vscode.debug-auto-launch, vscode.merge-conflict, aaron-bond.better-comments, cweijan.vscode-redis-client, dbaeumer.vscode-eslint, ecmel.vscode-html-css, esbenp.prettier-vscode, ms-vscode-remote.remote-containers, ms-vscode-remote.remote-wsl, ms-vscode.vscode-chat-customizations-evaluations, ritwickdey.LiveServer, shd101wyy.markdown-preview-enhanced
2026-09-01 15:32:34.226 [info] Automatically restarting the extension host.
2026-09-01 15:32:34.242 [error] Error fetching chat session options Canceled
2026-09-01 15:32:34.247 [error] Canceled: Canceled
at Sw (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:411:1612)
at vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5439:47550
at Array.forEach ()
at s.dispose (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5439:47458)
at _2.dispose (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5439:60757)
at $so.dispose (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5446:10621)
at qso.stopAllInReverse (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5446:9761)
at async Pkt._doStopExtensionHosts (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5445:22956)
2026-09-01 15:32:34.248 [error] Canceled: Canceled
at Sw (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:411:1612)
at vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5439:47550
at Array.forEach ()
at s.dispose (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5439:47458)
at _2.dispose (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5439:60757)
at $so.dispose (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5446:10621)
at qso.stopAllInReverse (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5446:9761)
at async Pkt._doStopExtensionHosts (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/Microsoft%20VS%20Code/c2d1b13fdc/resources/app/out/vs/workbench/workbench.desktop.main.js:5445:22956)
2026-09-01 15:32:34.248 [warning] Attempted to report in-progress status for unknown chat session type 'claude-code'
2026-09-01 15:32:34.248 [warning] Attempted to report in-progress status for unknown chat session type 'copilot-cloud-agent'
2026-09-01 15:32:34.248 [warning] Attempted to report in-progress status for unknown chat session type 'copilotcli'
2026-09-01 15:32:34.263 [info] Started local extension host with pid 18412.
2026-09-01 15:32:35.052 [error] Extension host (LocalProcess pid: 18412) terminated unexpectedly. The following extensions were running: vscode.github-authentication, mechatroner.rainbow-csv, vscode.emmet, Vue.volar, GitHub.copilot-chat, vscode.terminal-suggest, vscode.microsoft-authentication, vscode.configuration-editing, vscode.json-language-features, vscode.typescript-language-features
2026-09-01 15:32:35.052 [info] Automatically restarting the extension host.
2026-09-01 15:32:35.062 [info] Started local extension host with pid 42192.
2026-09-01 15:32:35.831 [error] [Extension Host] (node:42192) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Code --trace-deprecation ... to show where the warning was created)
2026-09-01 15:32:35.831 [error] [Extension Host] (node:42192) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.
2026-09-01 15:32:36.529 [info] [AccountPolicyGate] apply: state=inactive, reason=undefined, isRestricted=false
2026-09-01 15:32:36.554 [error] MainThreadChatAgents2#$updateAgent: No agent with handle 2 registered
2026-09-01 15:32:36.659 [error] chatParticipant must be declared in package.json: claude-code
2026-09-01 15:32:36.956 [error] [Extension Host] (node:42192) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2026-09-01 15:32:40.079 [warning] [DefaultAccount] Managed settings fetch returned non-success status 404; falling back to local-only policy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions