[vim/vim] autocmd: crash when 'eventignore' is changed while it is being set (after 9.2.0991) (PR #21175)

1 view
Skip to first unread message

h_east

unread,
Aug 27, 2026, 11:41:55 PM (10 hours ago) Aug 27
to vim/vim, Subscribed
Problem:  Vim crashes when an autocommand that is triggered by setting
          'eventignore' or 'eventignorewin' changes that option again.
          This happens with plugins that use ":noautocmd" in an
          autocommand for an event that is checked in the main loop.
Solution: Trigger the events with a copy of the old value in effect, so
          that the value the caller is still using is not freed.  Keep
          the window that holds 'eventignorewin' from being closed while
          the events are triggered.

fixes: #21169
related: #21074


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

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

Commit Summary

  • cf76be3 autocmd: crash when 'eventignore' is changed while it is being set

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21175@github.com>

Reply all
Reply to author
Forward
0 new messages