Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`Processing lsp` never exits and leaves orphaned processes

オープン 初心者向け
#1,578 コメント 2 件 リアクション 1 件 担当者 1 名 GitHub で見る

@overcast302 がすでに取り組んでいます。

2026年10月10日 から。

  • #1579 @overcast302 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java, vscode
領域
devtools

調査の方向性

java/src/processing/mode/java/lsp/PdeLanguageServer.java から始めて、1行出力するだけの exit() と、launcher.startListening() が返す future を破棄している main() を確認してください。stdin が EOF に達したときに何が起こるか、またその場合にプロセスがどのように終了すべきかを確認してください。VS Code を閉じたりクラッシュしたりしたときに LSP プロセスが終了すれば完了です。エディタを終了したあと、pgrep -af 'Processing lsp' で確認できます。

索引モデルが issue の本文から書いたものです。

説明

bug
Most appropriate sub-area of Processing 4?

Other (specify if possible)

Processing version

processing-4.5.7-1435 (AUR processing-bin)

Operating system

Arch Linux x86_64

Bug description

The LSP server never terminates when the client goes away. This way, after closing Visual Studio Code with official Processing extension via File > Exit (or Ctrl+Q), the Processing LSP process is left running. The process also survives abrupt client death, since nothing on the server side reacts to the client disappearing.

Steps to reproduce this
  1. Install Processing 4.5.7 and the official Processing Visual Studio Code extension.
  2. Open Visual Studio Code
  3. Quit Visual Studio Code with Ctrl+Q (File > Exit).
  4. Run: pgrep -af 'Processing lsp'
  5. The process is still running.
snippet

No response

Additional context

PdeLanguageServer.exit() only prints a line and never calls System.exit(). PdeLanguageServer.main() also ignores the future returned by launcher.startListening(), so nothing happens when stdin reaches EOF. As a result, nothing in the server can end the LSP process when the client disappears.

Would you like to work on the issue?

Yes, I’d like to help with this

主要言語
Java
スター
513
フォーク
183
平均マージ
4時間 6分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

processing/processing4 のほかの issue

processing/processing4 の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。