Wednesday, April 22, 2020

Re: VIM crash with YouCompleteMe plugin

Hm, I sent a reply to this but it never made it to the list. A newer
reply in the same thread made it. I've no idea what's going on, but I'm
going to try again.

On Mon, Apr 20, 2020 at 02:09:34AM -0700, BBV wrote:
> 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: [1]https://pastebin.com/ET5may5K
> with valgrind: [2]https://pastebin.com/V2A26ZJ5  (part 1), [3]https://
> pastebin.com/jBTzL0xd (part 2)
> --version : [4]https://pastebin.com/shKjt5G3

The gdb trace indicates the crash is happening during Python
interpreter initialization. Can you rule you YCM by trying

vim --clean +'py3 print("hi")'

and seeing if it crashes?

Another thing you could try is export PYTHONFAULTHANDLER=1 before
running vim, then Python will print the Python-level traceback on SIGABRT.
It might or might not help figure out what's going on.

Marius Gedminas
--
If you are good, you will be assigned all the work. If you are real
good, you will get out of it.

--
--
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/20200422090511.orb5wl4ja6vm4pc4%40blynas.

No comments: