diff: Neovim hangs at exit after SIGTERM during :%s in a nested autocmd (split layouts)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 50/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Lua
- Star
- 3.2k
- Fork
- 223
- Merge trung bình
- 7 giờ 18 phút
- Pull request đã merge (30 ngày)
- 234
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/claudecode.nvim
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
coder/claudecode.nvim#599 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
coder/claudecode.nvim#595 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
coder/claudecode.nvim#588 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coder/claudecode.nvim#587 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coder/claudecode.nvim#313 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của coder/claudecode.nvim
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
fw876/helloworld#2097 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugĐang mởbug discord guide:tailoring locale:enUS triage v4.2.1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
version-fox/vfox#825 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersĐang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
bookorbit/bookorbit#2314 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày