Benji Fisher wrote:

> > >      The problem is neither python nor plugins.  This is the default
> > > version compiled on FC2, with Normal features, -python.  When I start
> > > gvim with
> > > 
> > > :!gvim -u ~/.vimrc ~/.gvimrc
> > > 
> > > there is no segfault and I get the same plugins as if I do
> > > 
> > > $ gvim
> > > 
> > > I only get the segfault with
> > > 
> > > :!gvim
> > 
> > Well, there must be something different.
> > 
> > Check: it doesn't matter how you started the Vim in which you do
> > ":!gvim"?
> 
>      Good question.  This works:
> 
> $ vim -u NONE
> :!gvim
> 
> But guess what?  This works, too:
> 
> $ vim -u ~/.vimrc
> :!gvim
> 
> Curiouser and curiouser!

A difference between "vim" and "vim -u ~/.vimrc" is that the system
vimrc file isn't used and macmap.vim is skipped.

> > Perhaps you can check what differences there are between using "gvim"
> > without arguments (which crashes) and "gvim -u ~/.vimrc -U ~/.gvimrc"
> > (which doesn't crash).  E.g., with ":scriptnames".
> 
>      I already tried that, and I repeated it with the above tests.
> 
> $ gvim
> :redir @a
> :scriptnames
> :redir END
> :put a
> 
> Then visually select and yank into @+ (to avoid blank lines).  Then
> 
> $ vim
> :!gvim
> 
> and repeat the process (but not into @+) and compare.  This is the
> closest I can come:  there is no way to do :scriptnames in the one that
> actually crashes.  There should not be any difference, should there?
> 
>      I do not have a $VIMINIT environment variable.  Nor do I have a
> system [g]vimrc file.

This is going into the direction of a problem where the solution is to
"reinstall Windows"...

You could try putting this in your .vimrc:

        set verbose=1
        exe 'set verbosefile=/tmp/vimdump.' . localtime()

Perhaps you can see where the crashed gvim stops.  You can increase the
'verbose' option to see more.

-- 
>From "know your smileys":
 :-X    My lips are sealed

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         ///

Reply via email to