diff: Neovim hangs at exit after SIGTERM during :%s in a nested autocmd (split layouts)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 50/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Lua
- Sterne
- 3.2k
- Forks
- 223
- Ø Merge
- 7 Std. 18 Min.
- Gemergte PRs (30 T.)
- 234
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/claudecode.nvim
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
coder/claudecode.nvim#599 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 84/100
coder/claudecode.nvim#595 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
coder/claudecode.nvim#588 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
coder/claudecode.nvim#587 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
coder/claudecode.nvim#313 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in coder/claudecode.nvim
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
fw876/helloworld#2097 · 2 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugOffenbug discord guide:tailoring locale:enUS triage v4.2.1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
version-fox/vfox#825 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersOffenbug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
bookorbit/bookorbit#2314 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen