Pressing `Esc` to enter NORMAL mode frequently triggers macOS `spindump` crash reporting
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:
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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