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

Perl-Support: Crashes on Vim 7.4.258 #12

Open
gsrith opened this issue Jun 7, 2014 · 4 comments
Open

Perl-Support: Crashes on Vim 7.4.258 #12

gsrith opened this issue Jun 7, 2014 · 4 comments
Labels

Comments

@gsrith
Copy link

gsrith commented Jun 7, 2014

With a clean install of Perl-Support 5.3.1, and no .vimrc file, using MacVim 7.4.258 (Snapshot 73) under MacOSX 10.8.5, I can reproduce the bug by opening an empty perl-file, made with 'touch hat.pl'. This results in MacVim closing the window (and the file not being opened), though the MacVim application is still loaded and a new window can be opened.
The problem is the same if the file is not empty.
If I do the same with an empty Bash file there is no problem (I have Bash-Support too).

If I repeat the same with MacVim 7.3 (53), the perl-file can easily be opened.

The problem also occurs using the older version of Perl-Support I have: version 5.2pre.

@WolfgangMehner
Copy link
Owner

My first guess is that this is a problem with the Perl interface, the Perl code that is embedded in the Vim-Script. Executing Vim-Script should not crash the interpreter, which is Vim/gVim. Neither should the Perl integration, but that's the part which is presumably tested less.
This version does not use the Perl interface. You should not call the regex analyzer or the profiling, since they also rely on the Perl interface. This replaces plugin/perl-support.vim:
https://raw.githubusercontent.com/WolfgangMehner/vim-plugins/perl-interf-test/plugin/perl-support.vim

@gsrith : This is not a permanent solution, but this is the best guess as to what the problem is. If this version works for you, the underlying problem is most likely with Vim's Perl integration.

@WolfgangMehner
Copy link
Owner

Other question:
Does MacVim 7.4.258 use a different version of Perl compared to MacVim 7.3?

@WolfgangMehner
Copy link
Owner

There actually seem to be some problems here. This is currently under investigation.

@WolfgangMehner
Copy link
Owner

We fixed a problem with Perl-Support. Does this work?
177b665

@WolfgangMehner WolfgangMehner changed the title Perl-Support crashes on Vim 7.4.258 Perl-Support: Crashes on Vim 7.4.258 Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants