Skip to content
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

YCM crashes vim while tabbing for completions. #614

Closed
Svalorzen opened this issue Oct 27, 2013 · 4 comments
Closed

YCM crashes vim while tabbing for completions. #614

Svalorzen opened this issue Oct 27, 2013 · 4 comments

Comments

@Svalorzen
Copy link

I recently updated YCM through Vundle, which had me recompile the clang autocompleter. Now upon tabbing through all the semantic autocomplete options I get segmentation faults all the time. Example code:

#include <iostream>

using namespace std;

class Foo {
    public:
        int bar();
};

int main() {
    Foo x;
    // Cycling through ALL x completions 100% crashes with SEGV.
    // x. 

    return 0;
}
@RobertBuhren
Copy link

I had this issue too, the solution can be found here:

#593

you have to do "set completeopt-=preview". Just a work around but it works...

@Svalorzen
Copy link
Author

Thank you, I didn't find this before. It is definitely the same problem, and the workaround fixes it.

@Valloric
Copy link
Member

If anyone has this problem, you need to update to latest Syntastic.

@RobertBuhren
Copy link

Updating Syntatic fixes the crashes, but vim still flickers a lot when going through the proposed completions...

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants