On Wed, Jul 26, 2006 at 10:20:48AM -0400, Benji Fisher wrote:
> On Mon, Jul 24, 2006 at 04:04:19PM -0400, Brian McKee wrote:
> > Hi All
> > Had a minute to try and see if I could figure out why Vim 7 crashes
> > on me.
> > It turns out to be pretty easy to reproduce.
> > iMac G5 - OSX Tiger 10.4.7
> > Brand new user account
> > Download and uncompress Vim 7.0 ppc binary from macvim.org
> > mkdir ~/.vim
> > Download and unzip perl-support v3.1 from http://www.vim.org/scripts/
> > script.php?script_id=556
> > into the ~/.vim folder
> > If you start vim right now, it's fine, but
> > touch ~/.vimrc
> > start Vim and it crashes.......
> > So - where do I go from here? I'm *guessing* perl-support must work
> > fine linux/windows,
> > as it's a pretty popular add on, so where do I file a bug or who do
> > I bring this up with?
> > What other information can I provide to help?
> > Comments appreciated
> > Brian McKee
> I cannot reproduce this. I have an iMac G4 running 10.4.? . I did
> not try making a new user account, and I have a non-empty vimrc file.
> Perhaps more to the point, I am sitting at another machine now, so I
> logged in by ssh. Do you get the same problem running Vim.app in a
> terminal window, or does this happen only in the GUI version?
> If the problem only comes up in the GUI version, it might be
> something simple, like a call to inputdialog() or something that does
> not work properly in the OS X version.
> Try to narrow down where the problem is. The perl-support plugin
> includes a lot of files, and probably most of them are harmless. You
> might try installing just the plugin and/or ftplugin files, and see if
> they cause the problem.
> Another thing to try is adding
> :set verbosefile=~/vimlog.txt
> to your vimrc file. (I have not tried this new option yet, so I may not
> have the syntax right.) This should log all messages to ~/vimlog.txt ;
> start reading from the end to try to figure out what vim was doing when
> it crashed. Maybe also set 'verbose' high enough to generate useful
> HTH --Benji Fisher
I tried bash-support.vim on my PowerBook using the GUI, and I think
there *is* a problem with these scripts that comes up only when using
the GUI. Try commenting out the line
exe "amenu ".s:Perl_Root.'<Tab>Perl <Esc>'
in plugin/perl_support.vim (in the function Perl_InitMenu() ) and see if
that helps. I think that line is a problem by itself, but it should not
be bad enough to make vim crash. That is, I think there is a problem
both in the script and in vim/OSX.
HTH --Benji Fisher