hi,
I wanted to replicated my vim setup on a cluster running centos, over ssh.
But, even with a minimal .vimrc:
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
call plug#end()
I get a crash:
Vim: Caught deadly signal SEGV
Vim: Finished.
let g:plug_threads = 1 doesn't help.
contents of :version below
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 10 2014 06:55:55)
Rustines incluses : 1-160
Modifi茅 par <[email protected]>
Compil茅 par <[email protected]>
脡norme version sans interface graphique. Fonctionnalit茅s incluses (+) ou non (-) :
+acl +cmdline_hist -dnd -footer +lispindent -mouse_jsbterm +perl +scrollbind -tcl +viminfo -xterm_save
+arabic +cmdline_info -ebcdic +fork() +listcmds +mouse_netterm +persistent_undo +signs +terminfo +vreplace -xpm
+autocmd +comments +emacs_tags +gettext +localmap +mouse_sgr +postscript +smartindent +termresponse +wildignore
-balloon_eval +conceal +eval -hangul_input -lua -mouse_sysmouse +printer -sniff +textobjects +wildmenu
-browse +cryptv +ex_extra +iconv +menu +mouse_urxvt +profile +startuptime +title +windows
++builtin_terms +cscope +extra_search +insert_expand +mksession +mouse_xterm +python/dyn +statusline -toolbar +writebackup
+byte_offset +cursorbind +farsi +jumplist +modify_fname +multi_byte -python3 -sun_workshop +user_commands -X11
+cindent +cursorshape +file_in_path +keymap +mouse +multi_lang +quickfix +syntax +vertsplit -xfontset
-clientserver +dialog_con +find_in_path +langmap -mouseshape -mzscheme +reltime +tag_binary +virtualedit -xim
-clipboard +diff +float +libcall +mouse_dec +netbeans_intg +rightleft +tag_old_static +visual -xsmp
+cmdline_compl +digraphs +folding +linebreak +mouse_gpm +path_extra +ruby/dyn -tag_any_white +visualextra -xterm_clipboard
fichier vimrc syst猫me : "/etc/vimrc"
fichier vimrc utilisateur : "$HOME/.vimrc"
2me fichier vimrc utilisateur : "~/.vim/vimrc"
fichier exrc utilisateur : "$HOME/.exrc"
$VIM par d茅faut : "/etc"
$VIMRUNTIME par d茅faut : "/usr/share/vim/vim74"
Compilation : gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SO
URCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
脡dition de liens : gcc -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-ne
eded -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lres
olv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
Does :ruby require 'thread' crash your Vim?
Hi, I believe the above commit should fix the problem if let g:plug_threads = 1 is set. Let me know if you still have issues. For parallel installer to work, you'll have to either fix Ruby interface or upgrade to Vim 8.
It does work, thanks a lot ! Being a user on a cluster, i don't have much control except recompile vim (if possible with installed libraries..)
I can also confirm this issue exists and that let g:plug_threads=1 at the top of my .vimrc solves this bug.
Yeah, but I suggest that you properly fix your Vim installation, or upgrade to Vim 8.
Most helpful comment
Hi, I believe the above commit should fix the problem if
let g:plug_threads = 1is set. Let me know if you still have issues. For parallel installer to work, you'll have to either fix Ruby interface or upgrade to Vim 8.