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 crash #139

Closed
gepbird opened this issue May 15, 2024 · 2 comments
Closed

Random crash #139

gepbird opened this issue May 15, 2024 · 2 comments
Labels
A-vim Area: Vim/Neovim I-panic Issue: unexpected panic

Comments

@gepbird
Copy link

gepbird commented May 15, 2024

This seems to happen randomly and silently, I don't even notice it until I don't see completions popping up.

[ERROR][2024-05-15 22:06:47] .../vim/lsp/rpc.lua:734	"rpc"	"/home/name/.nix-profile/bin/nil"	"stderr"	
"
thread 'main' panicked at /build/nil-2023-08-09-vendor.tar.gz/text-size/src/range.rs:48:9:
assertion failed: start.raw <= end.raw
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: nil::convert::from_range
   4: nil::server::Server::on_did_change
   5: async_lsp::router::Router<St,Error>::notification::{{closure}}
   6: <async_lsp::concurrency::Concurrency<S> as async_lsp::LspService>::notify
   7: <core::pin::Pin<P> as core::future::future::Future>::poll
   8: async_lsp::MainLoop<S>::run::{{closure}}::{{closure}}::{{closure}}
   9: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
  10: nil::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
"
@oxalica
Copy link
Owner

oxalica commented May 30, 2024

Please provide the offending code and changes to reproduce the issue.

@oxalica oxalica added A-vim Area: Vim/Neovim I-panic Issue: unexpected panic labels May 30, 2024
@gepbird
Copy link
Author

gepbird commented May 30, 2024

I didn't get this error since, maybe it's fixed, maybe it's just a rare error. I'll update you when I can reproduce it, feel free to close this issue for now.

Last time restarting nil fixed the issue.

@oxalica oxalica closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vim Area: Vim/Neovim I-panic Issue: unexpected panic
Projects
None yet
Development

No branches or pull requests

2 participants