In line 6193 of the strace it reads:
Unexpected exit code 1. Type ':YcmToggleLogs ycmd_38599_stderr_og0n6rv3.log' to check the logs.
Is that log empty too?
Git Clone URL: | https://aur.archlinux.org/vim-youcompleteme-git.git (read-only, click to copy) |
---|---|
Package Base: | vim-youcompleteme-git |
Description: | A code-completion engine for Vim |
Upstream URL: | https://ycm-core.github.io/YouCompleteMe/ |
Keywords: | completion engine neovim vim ycm |
Licenses: | GPL3 |
Groups: | vim-plugins |
Submitter: | thestinger |
Maintainer: | artafinde |
Last Packager: | artafinde |
Votes: | 169 |
Popularity: | 0.035540 |
First Submitted: | 2013-02-05 21:32 (UTC) |
Last Updated: | 2024-08-19 15:53 (UTC) |
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 53 Next › Last »
In line 6193 of the strace it reads:
Unexpected exit code 1. Type ':YcmToggleLogs ycmd_38599_stderr_og0n6rv3.log' to check the logs.
Is that log empty too?
Thanks. It's almost 11K lines of log, but here you go: <deleted>
Edit: btw, it's not specific files, it's just opening vim at all that crashes it. So it's not due to a specific language I think.
Edit 2: Sorry, I had to delete that one. I'll post another link.
Edit 3: New log: https://gist.githubusercontent.com/skddc/ea473893710b9d4ffb3e79b53ae41578/raw/b4ab617f35b120b9086c9c99b24853dfdd8a5d74/vim-youcompleteme-strace.log
If ycmd is crashing, then that means the program was launched at some point.
You can do:
strace vim some_file_that_crashes_ycmd.py 2>&1 | tee strace_log
Then just wait a couple of seconds, and type :q to exit vim
Put the strace_log somewhere I can take a look at it. It could be through any of the pastebin clients or just using curl like mentioned in the wiki too: https://wiki.archlinux.org/index.php/List_of_applications#Pastebin_clients
I have already cleared the cache and rebuilt everything before posting here.
I don't know how to use strace in order to trace a program that hasn't been launched yet. Any pointers on how I would use it in this case?
If the issue is still happening, could someone post an strace somehwere?
I'm not able to reproduce the crash at all, not even in a minimal archlinux nspawn. YouCompleteMe only asked to set the encoding to utf-8 in the vimrc.
@raucao, @lahwaacz, have you both built the package from scratch? If you are using an AUR helper, try deleting it's cache for this package. Otherwise downloading the package snapshot, decompressing and running makepkg should just work.
@Rubonnek Crashes with every language for me.
I have the same problem with ycmd crashing right after starting vim/gvim. The log is empty and YcmDebugInfo is very unhelpful
Client logfile: /tmp/whatever
Server errored, no debug info from server
Server running at: <http://whatever>
Server process ID: PID; I can see it spinning up in top and immediately exiting
Server logfiles: stdout + stderr completely empty
Client log file:
2018-10-22 00:49:57,279 - ERROR - The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1.
This is while editing a python file. Same with a C file. Is this an upstream issue? Of course, fresh install etc.
@Rubonnek It crashes for both Python and C++, I haven't built support for any other language.
I'm not able to reproduce this. Does the crash shows up when editing a file of a specific programming language?
Pinned Comments
artafinde commented on 2021-04-10 13:03 (UTC)
If you want to use system's abseil set the
_use_system_abseil
toON
- default is to download from internet during build.