tpope / vim-pathogen

pathogen.vim: manage your runtimepath

Home Page:http://www.vim.org/scripts/script.php?script_id=2332

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Vim: Caught deadly signal SEGV" , how I can change vimrc file ?

spiritedRunning opened this issue · comments

when I installed pathogen, However I added this "execute pathogen#infect()" to vimrc, when open a file,

I had installed YCM,
the error messages is below:

Error detected while processing function youcompleteme#Enable:
line 10:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "", line 1, in
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "/home/free/.vim/bundle/YouCompleteMe/autoload/../python/ycm/extra_conf_store.py", line
63, in CallExtraConfYcmCorePreloadIfExists
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
_CallExtraConfMethod( 'YcmCorePreload' )
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "/home/free/.vim/bundle/YouCompleteMe/autoload/../python/ycm/extra_conf_store.py", line
73, in _CallExtraConfMethod
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
module = ModuleForSourceFile( path_to_dummy )
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "/home/free/.vim/bundle/YouCompleteMe/autoload/../python/ycm/extra_conf_store.py", line
45, in ModuleForSourceFile
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
return _Load( ModuleFileForSourceFile( filename ) )
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "/home/free/.vim/bundle/YouCompleteMe/autoload/../python/ycm/extra_conf_store.py", line
55, in ModuleFileForSourceFile
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
if _Load( module_file ):
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "/home/free/.vim/bundle/YouCompleteMe/autoload/../python/ycm/extra_conf_store.py", line
123, in _Load
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
module = imp.load_source( _RandomName(), module_file )
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
File "/home/free/.vim/bundle/YouCompleteMe/cpp/ycm/.ycm_extra_conf.py", line 32, in
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
import ycm_core
Press ENTER or type command to continue
Error detected while processing function youcompleteme#Enable:
line 10:
ImportError: /home/free/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so: undefined sym
bol: clang_CompileCommands_dispose

Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault

I want to delete the just config, but how I can open the vimrc?

How about simply renaming your vimrc and opening it. Or you could just run Vim without config by specifying -u NONE argument, like this:

vim -u NONE ~/.vimrc

-u NONE indeed.

oh, it's ok.But why add this vim can't work. Should I add "execute
pathogen#infect()" when I install pathogen?

On Fri, Jul 19, 2013 at 1:28 AM, xaizek notifications@github.com wrote:

How about simply renaming your vimrc and opening it. Or you could just
run Vim without config by specifying -u NONE argument, like this:

vim -u NONE ~/.vimrc


Reply to this email directly or view it on GitHubhttps://github.com//issues/100#issuecomment-21200056
.

It seems your pathogen setup is correct. Something is wrong with YCM, it would probably crash Vim even without pathogen.

I have YCM and pathogen without any issue. Maybe @spiritedRunning is using an older version of YCM?

@qstrahl, I didn't mean YCM is incompatible with pathogen. I'm just saying that it looks more like YCM issue to me, because pathogen loads YCM almost as Vim would.

well, I use the newest version of YCM, but why I add "execute
pathogen#infect()" then vim will deadly with vimrc. I have already compiled
YCM successful, but seems that not work. So I tried to installed the
pathogen.

On Sat, Jul 20, 2013 at 2:13 AM, Quinn Strahl notifications@github.comwrote:

I have YCM and pathogen without any issue. Maybe @spiritedRunninghttps://github.com/spiritedRunningis using an older version of YCM?


Reply to this email directly or view it on GitHubhttps://github.com//issues/100#issuecomment-21267104
.