Language server exits with code 0 and restarts repeatedly (1.35.4, Windows 11)
メンテナーはふだん 1 日以内に返信
@sean-mcmanus がすでに取り組んでいます。
2026年10月22日 から。
評価
この issue はまだ評価されていません。
説明
Environment
- OS: Windows 11 Enterprise, 10.0.28000.3231
- VS Code: 1.141.2
- C/C++ extension: 1.35.4 (pre-release)
- Settings:
"C_Cpp.maxConcurrentThreads": 2,"C_Cpp.workspaceParsingPriority": "low"
What happens
The notification "The language server crashed. Restarting..." appears again and again. It happened five times in about 34 hours in one VS Code session, from 2026-10-20 to 2026-10-22. Each time the output channel shows the same sequence:
[Error - 8:56:31 PM] Client cpptools: connection to server is erroring.
write EPIPE
[Error - 8:56:31 PM] Server process exited with code 0.
[Error - 8:56:31 PM] Client cpptools: connection to server is erroring.
Cannot call write after a stream was destroyed
[Error - 8:56:32 PM] The language server crashed. Restarting...
The other four were at 9:57 PM, 12:52 AM, 1:28 AM and 5:05 AM. Two of them begin directly with "Server process exited with code 0." and have no write EPIPE line.
The server exits with code 0 rather than a signal, so no crash call stack is shown.
Workspace
- A large Rust workspace with git submodules: about 4,400 tracked files, of which 7 are C/C++ files (C headers for a C ABI).
- C/C++ is not edited during these periods.
- Long
cargobuilds and test runs with two jobs often run at the same time, so the machine is under load.
Next
I have set "C_Cpp.loggingLevel": "Debug" and will add the debug log from the next occurrence to this issue. Tell me if a different capture would help more, for example a specific logging setting or a dump configuration for an exit with code 0.
— Xmip (https://github.com/IlleNilsson)
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 20
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-cpptools のほかの issue
-
Allow case-insensitive suppression of parameter inlay hints対応中かも @Colengms が 9 日前に担当しました。 オープンbug Feature: Inlay Hint fixed Language Service
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/vscode-cpptools#14829 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
code runnerオープンLanguage Service more info needed
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
microsoft/vscode-cpptools#14840 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 46/100
microsoft/vscode-cpptools#14839 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
microsoft/vscode-cpptools#14838 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
microsoft/vscode-cpptools#14834 ·
メンテナーはふだん 1 日以内に返信
microsoft/vscode-cpptools の issue をすべて見る
似ている issue
-
level/task type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
wazuh/wazuh-dashboard-plugins#9508 ·
メンテナーはふだん 1 日以内に返信
-
Testnet EOL page links Zonescan mainnet対応中かも @napelvs が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
メンテナーはふだん 1 日以内に返信
-
[Docs] docs/architecture.mermaid leaves out 21 of the 51 src/ directories対応中かも @uyg7x が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
enhancement status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
dongdongbh/Mindwtr#1438 ·
メンテナーはふだん 1 日以内に返信