
從 DVD 全新安裝 Fedora 17。嘗試將我的 vim 配置放在一起(.vim 的東西)並注意到當我運行/usr/bin/vim
它轉儲時?
一些錯誤已提交,但我似乎找不到更新版本的 vim 7.3,包括補丁 1-415、417-682。
我還有其他地方可以找嗎?
資訊:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 15 2012 09:56:46)
Included patches: 1-415, 417-682
Modified by <[email protected]>
Compiled by <[email protected]>
Huge version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
+mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse
+mouse_xterm +mouse_urxvt +mouse_sgr +multi_byte +multi_lang -mzscheme
+netbeans_intg +path_extra +perl +persistent_undo +postscript +printer +profile
+python/dyn -python3 +quickfix +reltime +rightleft +ruby/dyn +scrollbind
+signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
-X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/vim73"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib/perl5/CORE -fstack-protector -L/usr/local/lib -L/usr/lib/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
/usr/bin/vim
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault (core dumped)
答案1
試著重新安裝 vim,程式可能會被破壞(「rpm -Vf /usr/bin/vim」會告訴你;「yum reinstall /usr/bin/vim」將重新安裝軟體包)。
嘗試更新(“yum update”應該可以)。
確保您的設定(~/.exrc 等)中沒有任何內容適合它(如果有的話,我確信錯誤報告將很受歡迎)。
(非常奇怪。一個經常使用的程序自發性崩潰不會通過最基本的品質檢查)。
答案2
我在全新安裝的 Fedora 18 上看到了相同的行為。
答案3
我遇到了類似的問題,vi 每次都會因段錯誤而崩潰。我發現我的系統上缺少 vim-command-t。安裝此軟體包解決了該問題。我使用的是 Fedora 17