VSCodeVim / VSCodeVim/Vim

Pressing `Esc` to enter NORMAL mode frequently triggers macOS `spindump` crash reporting

Open
#5,484 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
Occasionally, but not always -- but at least a few times a day in normal use -- pressing Esc will trigger the system to generate a full crash report. These files are placed in /private/var/tmp. When this happens, on pressing Esc the screen briefly flashes.

Unfortunately as these crash reports contain a complete system crash dump -- many many files -- they're useless in determining what actually happened.

Note that pressing Control-Option-Command-Shift-. at any time will trigger this same event on macOS. Is Esc somehow triggering this? I haven't done any funky key mapping that would cause it to do so.

To Reproduce
Steps to reproduce the behavior:

  1. Occasionally, with no pattern that I can discern, press Esc. The screen will flash. Five minutes later the crash report will have been generated and macOS will open a Finder window at /private/var/tmp.

To emulate this behaviour, press Control-Option-Command-Shift-..

Expected behavior
This never happens. :-)

Screenshots
N/A

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.17.1
  • VSCode version: 1.50.1
  • OS: 10.15.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by investigating VSCodeVim's handling of Esc on macOS and comparing it with the equivalent Control-Option-Command-Shift-. shortcut. Done means the intermittent spindump or crash-report trigger is identified and pressing Esc no longer causes the screen flash or report; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.