Skip to content

After quitting MacVim a vim process consuming 99.8% CPU is left #1423

Closed
@RStankov

Description

@RStankov

Steps to reproduce

  1. Open Mac
  2. Do some work
  3. Cmd + W Cmd + Q

What happens

This happens some times.

Can't really catch when.

Usually I catch it by seeing the following in the terminal

Vim: Caught deadly signal SEGV

Then I open Activity Monitor and check for VIM

Screenshot 2023-08-11 at 13 36 07

I noticed this happening about ~3 weeks ago. Might have happen before that.

One week ago I added github-copilot to my vimrc, but this issue was happening before that

Expected behaviour

Close MacVim and all related issues.

Version of Vim and architecture

MacVim r177 (Vim 9.0.1677)

Environment

OS: 13.4.1 (c) (22F770820d)
Model: Mac Book Pro
Processor: Apple M1 Max

How MacVim was installed

Downloaded

Logs and stack traces

No response

Vim configuration where issue is reproducable

https://github.com/RStankov/config_files/blob/master/dot/vimrc

Issue has been tested with given configuration

  • by running MacVim.app from GUI macOS interface
  • by running vim/gvim/etc installed by MacVim
  • by running other versions of vim (e.g. /usr/bin/vim)

Issue has been tested with no configuration

  • by running mvim --clean (or gvim, supplied by MacVim distribution)
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions