[vim/vim] Prevent garbage collection of (reachable) buffer recorded changes (fix for #19300). (PR #19375)

2 views
Skip to first unread message

Paul Ollis

unread,
Feb 9, 2026, 12:52:47 PM (22 hours ago) Feb 9
to vim/vim, Subscribed

This stops Vim incorrectly garbage collecting recorded changes for buffers.

Problem found investigating #19300 and this is almost certainly the fix for that issue.

I cannot see a way to provide an automated test for this. The problem causes SIGSEGV to occur so rarely that it appears random.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19375

Commit Summary

  • 1012680 Clarification in listener_add docs.
  • 78ee4ee Merge branch 'vim:master' into master
  • b2a44a4 Merge branch 'vim:master' into master
  • 1bfe92b Include buf->b_recoded_changes in GC marking.

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19375@github.com>

Paul Ollis

unread,
Feb 9, 2026, 12:56:24 PM (22 hours ago) Feb 9
to vim/vim, Push

@paul-ollis pushed 1 commit.

  • 8837fcd I so hate TAB chars in source files!


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19375/before/1bfe92ba4834129008de6b71fb5081d6c59a1204/after/8837fcde0e9b22952b6e39327db13bd3b232c125@github.com>

Christian Brabandt

unread,
Feb 9, 2026, 1:41:38 PM (21 hours ago) Feb 9
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19375)

I so hate TAB chars in source files!

Sorry 🤷


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19375/c3873313477@github.com>

Paul Ollis

unread,
Feb 9, 2026, 1:42:47 PM (21 hours ago) Feb 9
to vim/vim, Subscribed
paul-ollis left a comment (vim/vim#19375)

Is is possible for me to trigger the checks to re-run?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19375/c3873190734@github.com>

Christian Brabandt

unread,
Feb 9, 2026, 1:54:09 PM (21 hours ago) Feb 9
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19375)

I'll re-trigger


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19375/c3873248392@github.com>

Christian Brabandt

unread,
Feb 9, 2026, 2:34:40 PM (21 hours ago) Feb 9
to vim/vim, Subscribed

Closed #19375 via 55c1237.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19375/issue_event/22652484979@github.com>

Reply all
Reply to author
Forward
0 new messages