-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault in __get_nprocs () at ../sysdeps/unix/sysv/linux/getsysstats.c:186 #2759
Comments
Does Vim crash when started with the command vim -u NONE -c "py print(sys.version)" ? |
After printing “2.6.6 (r266:84292, Nov 21 2013, 10:50:32) |
I re-installed YCM through Vundle and vim also crashed as the same log |
Could you share the backtrace by following these instructions? The |
It's too hard for me to re-compile the vim with debug option. So I give up this issue. Thank you for your help. |
Your Vim is already compiled with the
So, you just need to follow these steps:
|
No answer. Closing. |
|
1、# vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug 30 2017 20:16:12)
Included patches: 1-1015
Compiled by root@nm_178_217
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt -tcl
-balloon_eval +folding +mouse_xterm +termguicolors
-browse -footer +multi_byte -terminal
++builtin_terms +fork() +multi_lang +terminfo
+byte_offset +gettext -mzscheme +termresponse
+channel -hangul_input +netbeans_intg +textobjects
+cindent +iconv +num64 +timers
+clientserver +insert_expand +packages +title
+clipboard +job +path_extra -toolbar
+cmdline_compl +jumplist +perl +user_commands
+cmdline_hist +keymap +persistent_undo +vertsplit
+cmdline_info +lambda +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con +lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind +X11
-dnd +modify_fname +signs +xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape +startuptime -xpm
+eval +mouse_dec +statusline +xsmp_interact
+ex_extra -mouse_gpm -sun_workshop +xterm_clipboard
+extra_search -mouse_jsbterm +syntax -xterm_save
+farsi +mouse_netterm +tag_binary
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
f-b for $VIMRUNTIME: "/usr/local/share/vim/vim80"
Compilation: gcc -std=gnu99 -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -std=gnu99 -L. -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXt -lX11 -lSM -lICE -lm -ltinfo -lnsl -lselinux -L/usr/lib -llua -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L/usr/lib/python2.7/config -lpython2.6 -lruby -lpthread -lrt -ldl -lcrypt -lm
2、gdb info:
(gdb) r -u vimrc
Starting program: /usr/local/bin/vim -u vimrc
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 36503.
[New Thread 0x7ffff3d4d700 (LWP 36504)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3d4d700 (LWP 36504)]
0x00007ffff7b029b4 in __get_nprocs () at ../sysdeps/unix/sysv/linux/getsysstats.c:186
186 ../sysdeps/unix/sysv/linux/getsysstats.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/getsysstats.c
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.9.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-37.el6_6.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.2.1-2.el6.x86_64 libX11-1.6.0-2.2.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXt-1.1.4-6.1.el6.x86_64 libcom_err-1.41.12-21.el6.x86_64 libgcc-4.4.7-11.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libuuid-2.17.2-12.18.el6.x86_64 libxcb-1.9.1-2.el6.x86_64 lua-5.1.4-4.1.el6.x86_64 ncurses-libs-5.7-4.20090207.el6.x86_64 nss-softokn-freebl-3.14.3-22.el6_6.x86_64 openssl-1.0.1e-30.el6_6.11.x86_64 perl-libs-5.10.1-136.el6_6.1.x86_64 python-libs-2.6.6-52.el6.x86_64 ruby-libs-1.8.7.374-4.el6_6.x86_64 zlib-1.2.3-29.el6.x86_64
3、install:
python install.py --clang-completer
4、environment:
gcc 7.2.0
red hat6
python2.6.6
The text was updated successfully, but these errors were encountered: