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

crash on save in neovim #67

Closed
xanderio opened this issue Mar 8, 2023 · 3 comments
Closed

crash on save in neovim #67

xanderio opened this issue Mar 8, 2023 · 3 comments
Labels
A-vim Area: Vim/Neovim C-bug Catagory: bug I-abort Issue: unexpected abort I-panic Issue: unexpected panic

Comments

@xanderio
Copy link

xanderio commented Mar 8, 2023

After updating to nil version 2023-03-01 I'm experiencing this crash every time I save a file to disk.

If I can provide any further information regarding this crash I'm happy to do that.

neovim config: https://github.com/xanderio/dotfiles/blob/main/home/develop/neovim/nvim/init.lua#L131-L144

Cleanup nvim lsp.log entry

[ERROR][2023-03-08 09:33:28] .../vim/lsp/rpc.lua:734	"rpc"	"nil"	"stderr"	
"thread 'main' panicked at 'no entry found for key', crates/ide/src/base.rs:126:10
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic_display
   3: core::panicking::panic_str
   4: core::option::expect_failed
   5: ide::base::FileSet::path_for_file
   6: nil::server::Server::apply_vfs_change
   7: nil::server::Server::run
   8: nil::main_loop
   9: nil::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace."

Sidenote: Love your work on nil, it's getting more amazing with every update :)

@oxalica oxalica added C-bug Catagory: bug A-vim Area: Vim/Neovim I-abort Issue: unexpected abort I-panic Issue: unexpected panic labels Mar 8, 2023
@oxalica
Copy link
Owner

oxalica commented Mar 8, 2023

Does b5797b4 fix for you?

@erikreinert
Copy link

Dealing with the same issue - can confirm the following overlay set to b5797b4 fixes the problem for me:

  nil = super.nil.overrideAttrs(old: {
    src = super.fetchFromGitHub {
      owner = "oxalica";
      repo = "nil";
      rev = "b5797b481ae87de5d4d99791e08400b9ac5a43a5";
      sha256 = "sha256-5ABNUoXmlGjwkqGJ3YhUeQarcu0qwH7Al2tiuR/Pzoc=";
    };
  });

@oxalica oxalica closed this as completed Mar 8, 2023
@figsoda
Copy link
Contributor

figsoda commented Mar 8, 2023

Can we get a new release for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vim Area: Vim/Neovim C-bug Catagory: bug I-abort Issue: unexpected abort I-panic Issue: unexpected panic
Projects
None yet
Development

No branches or pull requests

4 participants