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

Neovim crash on autocomplete suggestion initiation #754

Closed
2 tasks done
ArykLAnderson opened this issue Dec 24, 2024 · 4 comments
Closed
2 tasks done

Neovim crash on autocomplete suggestion initiation #754

ArykLAnderson opened this issue Dec 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ArykLAnderson
Copy link

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

I was running into an issue where whenever blink autocomplete would start, the entire neovim program would crash. This persisted through uninstalling and reinstalling neovim, and stripping down neovim plugins to only the stock plugins (now containing blink) from the LazyVim distribution that I use. That distribution is set to lazy load blink on insert enter, and when I would start typing characters I was able to type 1-3 characters before the program would crash.

I was able to recover by finding and deleting both the blink mongodb files and all the files in the lazy install path, then re-installing everything.

Unfortunately I'm not sure how to reproduce this state, and the crashes produced no error logs, but hopefully this can at minimum be a data point for a future resolution. Thanks for your work on this!

Relevant configuration

No response

neovim version

NVIM v0.10.3 Build type: Release LuaJIT 2.1.1734355927

blink.cmp version: branch, tag, or commit

v0.8.2

@ArykLAnderson ArykLAnderson added the bug Something isn't working label Dec 24, 2024
@guigui64
Copy link

guigui64 commented Dec 24, 2024

I have the same issue and reproduced with versions 0.8.1 and 0.8.0.
This could mean that the state files are compromised.

And indeed, the issue is fixed after deleting the local share blink folder.

@konart
Copy link

konart commented Dec 24, 2024

Same here, but deleting .local/share/nvim/blink did nothing for me.

UPD: deleting .local/share/nvim/lazy/blink.cmp did the trick.

@Saghen
Copy link
Owner

Saghen commented Dec 24, 2024

Duplicate of #68

If someone could share a zip of their .local/share/nvim/lazy/blink.cmp while it's broken, that would be super helpful

@Saghen Saghen closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2024
@surmish
Copy link

surmish commented Dec 24, 2024

In most cases, running ldd ~/.local/share/nvim/lazy/blink.cmp/target/release/libblink_cmp_fuzzy.so would show any errors, which lead to the crash on autocomplete initiation. In my case, the gblic on my machine was not compatible with the binary downloaded. Compiling it manually worked out (see #68 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants