Tuesday, April 21, 2020

Re: VIM crash with YouCompleteMe plugin

YCM is currently working for me.  My Vim is a little behind yours (but I thought it was recent):

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 13 2020 06:16:41)
macOS version
Included patches: 1-539
Huge version with MacVim GUI.  Features included (+) or not (-):

Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe
-DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm -lncurses  -lico
nv -framework AppKit   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/COR
E -lperl

YcmDebugInfo:
-- Server Python interpreter: /usr/local/bin/python3
-- Server Python version: 3.8.1
-- Server has Clang support compiled in: True
-- Clang version: clang version 9.0.0 (tags/RELEASE_900/final)
-- Extra configuration file found and loaded

I don't see how any of this helps you though.  I've been using YCM for a few years now and occasionally need to tweak my stuff to get it working again.
Good luck!

On Tuesday, April 21, 2020 at 2:33:42 AM UTC-4, BBV wrote:
Hello,

I am trying to setup vim such that I can use 'YouCompleteMe' plugin ().

I have built the vim from source. If I comment out that plugin from vimrc, it works fine, but not when enabled. The vim invocation fails with following error:

Vim: Caught deadly signal ABRT
Vim: Finished.

I did a recompile of Vim with following configure options to be able to get some more information:
- CFLAGS=" -g -O0 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1"
- INSTALL_UNSTRIPPED=yes

I have run Vim
with gdb: https://pastebin.com/ET5may5K
with valgrind: https://pastebin.com/V2A26ZJ5  (part 1), https://pastebin.com/jBTzL0xd (part 2)
--version : https://pastebin.com/shKjt5G3

Could some one please tell, is this something related to setup or is it a known issue (or looks like a issue) in vim?

Regards,
bbv

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/fdb4ee25-43ad-41ae-8253-b4afab438d45%40googlegroups.com.

No comments: