diff: Neovim hangs at exit after SIGTERM during :%s in a nested autocmd (split layouts)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with tests/integration/diff_exit_reject_spec.lua and reproduce the SIGTERM-during-substitution trigger in a split layout. Trace the exit path through cleanup_at_exit, server.stop, and split-layout diff closing; the cause is not yet known. Done means fixing the hang and adding a regression case, or, if Neovim itself is responsible, documenting this exit in the README's list of exits that do not answer.
索引モデルが issue の本文から書いたものです。
説明
Neovim hangs at exit after SIGTERM arrives during :%s in a nested autocmd, with diffs open in a split layout.
Defect. In the vertical and horizontal layouts, with two openDiff calls waiting: a nested = true autocmd runs :%s on a large buffer (for example 300,000 lines, through nvim_buf_call), and SIGTERM arrives during the :%s. Both calls get DIFF_REJECTED, then Neovim hangs while it removes the diffs. Claude's client sees close code 1006 instead of 1001, and the lock file stays. The unified layout exits normally. Reproduced 4 of 4 times with #572 and 2 of 2 times on the commit before it, on Neovim 0.8.0 and 0.12.3. The cause is not known.
This contradicts the README "Exit answers" bullet, which promises close 1001 and a removed lock file for SIGTERM.
Next step. Bisect the exit path (cleanup_at_exit, server.stop, the split-layout diff close) under that trigger, fix it, and add a case to tests/integration/diff_exit_reject_spec.lua. If the hang is in Neovim itself, add the case to the README's list of exits that do not answer.
Owner: the next change to the diff exit path. Deferred from the README verification run with the maintainer's agreement.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- 主要言語
- Lua
- スター
- 3.2k
- フォーク
- 223
- 平均マージ
- 7時間 18分
- マージ済み PR(30日)
- 234
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/claudecode.nvim のほかの issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
coder/claudecode.nvim#599 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
coder/claudecode.nvim#595 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
coder/claudecode.nvim#588 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/claudecode.nvim#587 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/claudecode.nvim#313 ·
メンテナーはふだん 1 日以内に返信
coder/claudecode.nvim の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fw876/helloworld#2097 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugオープンbug discord guide:tailoring locale:enUS triage v4.2.1
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
version-fox/vfox#825 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersオープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bookorbit/bookorbit#2314 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信