Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacVim crashes when opening a new tab if started from terminal (homebrew installation) #1350

Closed
1 of 7 tasks
DrTobe opened this issue Dec 19, 2022 · 6 comments
Closed
1 of 7 tasks
Milestone

Comments

@DrTobe
Copy link

DrTobe commented Dec 19, 2022

Steps to reproduce

  1. mvim
  2. :tabe<RETURN>
  3. MacVim crashes (relatively silently)

Alternatively:

  1. mvim
  2. Ctrl + P (with CtrlP plugin installed)
  3. Ctrl + T (to open whatever file in a new tab)
  4. MacVim crashes with a stack trace

Expected behaviour

It should open a new tab and not crash.

Version of Vim and architecture

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 18:56:17) macOS version - arm64 Included patches: 1-472 Compiled by Homebrew

Environment

OS: Ventura 13.1
Terminal: iTerm2
$TERM: xterm-256color
Shell: zsh

This can also be reproduced with the stock Terminal.app. It does not happen when MacVim is started via Spotlight. It also happens when MacVim is started with mvim --clean.

How MacVim was installed

Installed via Homebrew

Logs and stack traces

Please let me know which further info / logs / stack traces are helpful to debug the problem.

Vim configuration where issue is reproducable

No response

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)

Other conditions

  • The both Homebrew packages "vim" and "macvim" are installed
@charlax
Copy link

charlax commented Dec 19, 2022

Same issue with the following specs:

  • Ventura 13.1
  • Starting from kitty terminal
  • zsh

Installed via Homebrew:

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 18:XX:XX)
macOS version - arm64
Included patches: 1-472
Compiled by Homebrew
Huge version with MacVim GUI.

Happens with mvim --clean too.

@charlax
Copy link

charlax commented Dec 23, 2022

Actually, you get the behavior even if you open the app from Finder.

@dlejay
Copy link

dlejay commented Dec 25, 2022

Same issue with the following specs:

Ventura 13.1
Starting by clicking the icon
Installed via Macports:


VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 25 2022 22:32:35)
macOS version - arm64
Included patches: 1-472
Compiled by MacPorts
Huge version with MacVim GUI.

Happens with mvim --clean too.

Interestingly, as of today, with the Homebrew version (see compilation time, which is different than the one of @charlax)


VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 19:27:32)
macOS version - arm64
Included patches: 1-472
Compiled by Homebrew
Huge version with MacVim GUI.

I have no problems

@phongphan
Copy link

I could confirmed that it happen on the Release 174 but not on master. It seems to fixed by cd4bd98

@ychin
Copy link
Member

ychin commented Dec 31, 2022

Sorry, I have been slow in making a release. I'm trying to fix up the stragglers so we can get a stable build with fully-fleshed out features but it was taking long than I thought. I think we are getting close though. Having an outstanding crash is def not great.

@ychin ychin added this to the Release 175 milestone Dec 31, 2022
@ychin
Copy link
Member

ychin commented Dec 31, 2022

But this is basically a dup of #1333. I'm closing as a dup for now. It will be in the next release.

@ychin ychin closed this as completed Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants