microsoft / microsoft/vscode

Renderer crash loop (reason: crashed, code: 5) in Remote-SSH sessions caused by GitHub Copilot extension

Open
#336,373 0 comments 0 reactions 1 assignee Claimed by @deepak1556 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: No — crashes stop only when the **built-in GitHub Copilot** extension is disabled (Copilot ships bundled with VS Code, which is why I'm reporting here rather than to a marketplace publisher)

- VS Code Version: 1.137.0 (Universal), commit 645f29cc3176500b4b5762ba887cf2a7f0ffdf2c, Electron 42.10.0, Chromium 148.0.7778.280, Node.js 24.18.1, @github/copilot 1.0.84
- OS Version: macOS 26 (Apple Silicon, MacBook Air M2) — also reproduced on macOS 14.6 before upgrading; Remote: Ubuntu x86_64 (384-core) via Remote-SSH

Steps to Reproduce:

1. Connect to a Linux host via Remote-SSH with GitHub Copilot enabled (the built-in one — no Copilot usage required, it auto-activates in the remote extension host)
2. Within 1–2 minutes the window dies with "The window terminated unexpectedly (reason: 'crashed', code: '5')", then reloads into a crash loop repeating every 60–100 seconds. Often preceded by the UI freezing (keystrokes produce no output)
3. Crashpad minidumps from every crash share an **identical signature**: exception code 0x6 (SIGABRT), faulting module `Electron Framework` at module offset **+0x53ac468** — same offset in 5+ dumps, i.e. a deterministic crash site (dumps attached)
4. Isolation already performed — crash persists through: hardware acceleration disabled; macOS upgraded 14.6 → 26; Remote extension (openai.chatgpt/Codex) uninstalled; SSH path verified healthy (no disconnect traces). **Disabling GitHub Copilot stops the crashes completely**; remote exthost logs confirm `GitHub.copilot-chat` was active in every crashing session

Possibly related: #312925 (Remote SSH + Copilot Chat, same error signature). Happy to provide remote exthost logs or more dumps on request.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.