diff: Neovim hangs at exit after SIGTERM during :%s in a nested autocmd (split layouts)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Lua
- Stelle
- 3.2k
- Fork
- 223
- Merge medio
- 7h 18m
- PR unite (30g)
- 234
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/claudecode.nvim
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
coder/claudecode.nvim#599 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
coder/claudecode.nvim#595 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
coder/claudecode.nvim#588 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
coder/claudecode.nvim#587 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
coder/claudecode.nvim#313 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di coder/claudecode.nvim
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
fw876/helloworld#2097 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugApertabug discord guide:tailoring locale:enUS triage v4.2.1
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
version-fox/vfox#825 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersApertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
bookorbit/bookorbit#2314 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni