Closed zhuzhzh closed 4 years ago
Please test the latest version of Vim. Because the latest Vim includes Python interface changes.
I have tested it, but I don't reproduce the problem.
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 8 2020 09:14:01)
Included patches: 1-1153
Compiled by Shougo
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl -farsi +mouse_sgr +tag_binary
+arabic +file_in_path -mouse_sysmouse -tag_old_static
+autocmd +find_in_path +mouse_urxvt -tag_any_white
+autochdir +float +mouse_xterm -tcl
-autoservername +folding +multi_byte +termguicolors
+balloon_eval -footer +multi_lang +terminal
+balloon_eval_term +fork() -mzscheme +terminfo
+browse +gettext +netbeans_intg +termresponse
++builtin_terms -hangul_input +num64 +textobjects
+byte_offset +iconv +packages +textprop
+channel +insert_expand +path_extra +timers
+cindent +ipv6 -perl +title
+clientserver +job +persistent_undo +toolbar
+clipboard +jumplist +popupwin +user_commands
+cmdline_compl +keymap +postscript +vartabs
+cmdline_hist +lambda +printer +vertsplit
+cmdline_info +langmap +profile +virtualedit
+comments +libcall -python +visual
+conceal +linebreak +python3 +visualextra
+cryptv +lispindent +quickfix +viminfo
+cscope +listcmds +reltime +vreplace
+cursorbind +localmap +rightleft +wildignore
+cursorshape +lua +ruby +wildmenu
+dialog_con_gui +menu +scrollbind +windows
+diff +mksession +signs +writebackup
+digraphs +modify_fname +smartindent +X11
+dnd +mouse +sound -xfontset
-ebcdic +mouseshape +spell +xim
+emacs_tags +mouse_dec +startuptime +xpm
+eval +mouse_gpm +statusline +xsmp_interact
+ex_extra -mouse_jsbterm -sun_workshop +xterm_clipboard
+extra_search +mouse_netterm +syntax -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -g -O2 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lelf -lcanberra -lacl -lattr -lgpm -ldl -L/usr/lib -lluajit-5.1 -L/usr/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -lruby -lm
set rtp+=~/work/deoplete.nvim/
set rtp+=~/work/nvim-yarp
set rtp+=~/work/vim-hug-neovim-rpc
let g:deoplete#enable_at_startup = 1
set completeopt+=noinsert
vimrc is here.
How to reproduce the problem from neovim/Vim startup (Required!)
vim
:q
This instruction is correct? Why other people does not complain about the problem??
And it seems Vim's problem.
Both deoplete and nvim-yarp
cannot crash Vim.
You should report the problem in Vim issue. And you can bisect Vim's commit.
And please test it in other environment. It should be reproduce-able in every environment.
@Shougo I am doing the experiments. baiscally, I unintall all the packages I installed. Then install them one by one. After installing libffi, openssl, python3.8.3, vim8.2.1149, vim doesn't crash. so it should be the conflict issue of vim and other library. deoplete by happen uses this library. I will close this issue.
Thanks!
OK.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
when vim exits, segv signal is catught. And
ls
output will be messyThru the multiple experiments, I confirmed the issue is caused by deoplete. And it's not due to the conflicts with other plugins.
Expected
Environment Information
deoplete version (SHA1):
OS: CentOS6/7
neovim/Vim
:version
output:I compiled vim from source code. ./configure --with-features=huge \ --prefix=/lan/cva/ixcom_rt2/harriszh/app \ --enable-multibyte \ --enable-rubyinterp=yes \ --enable-perlinterp=yes \ --with-lua-prefix=/lan/cva/ixcom_rt2/harriszh/app \ --enable-python3interp=yes \ --with-python3-config-dir=/home/harriszh/app/lib/python3.8/config-3.8-x86_64-linux-gnu \ --enable-luainterp=yes \ --enable-gui=gtk2 \ --enable-cscope
:checkhealth
or:CheckHealth
result(neovim only):Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
vim :q
Generate a logfile if appropriate
Screenshot (if possible)
Upload the log file