[vim/vim] crash when building a stacktrace during an autocommand (PR #20732)

5 views
Skip to first unread message

h_east

unread,
Jul 7, 2026, 12:01:22 PM (19 hours ago) Jul 7
to vim/vim, Subscribed
Problem:  Vim can crash while building a stack trace when an autocommand
          is being triggered but has not matched a pattern yet, for
          example at the more prompt with 'verbose' set.
Solution: Handle the autocommand entry on the execution stack that does
          not have a script context yet.

fixes: #20730


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

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

Commit Summary

  • 146ec43 crash when building a stacktrace during an autocommand

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/20732@github.com>

Reply all
Reply to author
Forward
0 new messages