Skip to content

VS Code crashes (code 5) with Remote SSH + Copilot Chat codebase indexing on M1 #312925

@nide29

Description

@nide29

VS Code version: 1.117.0
OS: macOS (Apple M1 Pro)
Extension: GitHub Copilot Chat 0.43.0 (same with 0.44.2)
Description:
VS Code crashes completely (window terminated, reason: 'crashed', code: '5') approximately 40 seconds after connecting to a remote server via Remote SSH, when GitHub Copilot Chat is enabled.
Steps to reproduce:

Open VS Code 1.117.0 on macOS Apple Silicon (M1 Pro)
Connect to a remote Linux server via Remote SSH extension
Enable GitHub Copilot Chat and sign in
Wait ~40 seconds — observe "Codebase Semantic Index / Checking index status" spinner in the Copilot Chat panel
VS Code crashes entirely

Expected behavior: VS Code should not crash. Codebase indexing should either complete gracefully or fail silently.
Actual behavior: VS Code window terminates with code 5 (SIGSEGV) every time the codebase indexing starts.

Additional context:
The crash does not occur when launching VS Code with --disable-extension GitHub.copilot-chat
The crash does not occur when "Use AI Features" is disabled in Copilot settings
The crash does occur regardless of VS Code version (tested 1.116.0 and 1.117.0)
Removing ~/.vscode-server and reinstalling does not help
Setting github.copilot.semanticSearch.enabled: false and related settings in both local and remote settings.json does not prevent the crash
The Copilot Chat log shows WorkspaceChunkSearchService: using embedding type metis-1024-I16-Binary immediately before the crash
The renderer log shows ExperimentalWarning: SQLite is an experimental feature at startup

Workaround: Disabling GitHub Copilot Chat extension entirely prevents the crash, but makes Copilot Chat unusable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions