diff: Neovim hangs at exit after SIGTERM during :%s in a nested autocmd (split layouts)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 50/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Lua
- Estrelas
- 3.2k
- Forks
- 223
- Merge médio
- 7h 18min
- PRs com merge (30d)
- 234
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de coder/claudecode.nvim
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
coder/claudecode.nvim#599 ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 84/100
coder/claudecode.nvim#595 ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
coder/claudecode.nvim#588 ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
coder/claudecode.nvim#587 ·
Mantenedores costumam responder em até 1 dia
-
bug needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
coder/claudecode.nvim#313 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de coder/claudecode.nvim
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
fw876/helloworld#2097 · 2 comentários ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugAbertabug discord guide:tailoring locale:enUS triage v4.2.1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
version-fox/vfox#825 ·
Mantenedores costumam responder em até 1 dia
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersAbertabug needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
bookorbit/bookorbit#2314 · 1 comentário ·
Mantenedores costumam responder em até 2 dias