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

random crashes when completion docs are shown #1176

Closed
2 tasks done
Kaikacy opened this issue Feb 8, 2025 · 0 comments
Closed
2 tasks done

random crashes when completion docs are shown #1176

Kaikacy opened this issue Feb 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Kaikacy
Copy link

Kaikacy commented Feb 8, 2025

Make sure you have done the following

  • Updated to the latest version of blink.cmp
  • Searched for existing issues and documentation (try <C-k> on https://cmp.saghen.dev)

Bug Description

blink.cmp randomly crashes and whole nvim instant gets stuck, using 100% cpu, so only way to stop it is to kill the process. this only happens when zig ls is running, so it's probably related to zigtools/zls#2173, but I tried with other editors and even cmp.nvim and they all work fine. I've had this issue couple of times (only when zls is running), here is the most recent one

fn parse(filename: []const u8) !i32 {
    var fd = try std.fs.cwd().openFile(filename, .{});
    defer fd.cl|
    // this bar is the cursor
}

as soon as close method becomes best match, nvim crashes.
I've realized, documentation window crashes, so if I have it disabled (using <C-space>), it's fine

Relevant configuration

completion = {
    documentation = {
        auto_show = true
    }
}

neovim version

NVIM v0.11.0-dev-1707+g52ff5e3032

blink.cmp version

v0.11.0

@Kaikacy Kaikacy added the bug Something isn't working label Feb 8, 2025
@Kaikacy Kaikacy changed the title random crashes random crashes when docs window is shown Feb 8, 2025
@Kaikacy Kaikacy changed the title random crashes when docs window is shown random crashes when completion docs are shown Feb 8, 2025
@Saghen Saghen closed this as completed Feb 8, 2025
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

2 participants