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

Downgrade line-index due to text sync regression #967

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

pfoerster
Copy link
Member

No description provided.

@pfoerster pfoerster merged commit a4aa31c into master Nov 23, 2023
5 checks passed
@pfoerster pfoerster deleted the bugfix/vendor-line-index branch November 23, 2023 20:37
@clason
Copy link
Contributor

clason commented Nov 27, 2023

Hmm, I still get errors:

[ERROR][2023-11-27 15:45:10] .../vim/lsp/rpc.lua:675	"rpc"	"/Users/clason/.local/share/nvim/lsp/texlab"	"stderr"	"thread 'main' panicked at crates/line-index/src/lib.rs:117:27:\nindex out of bounds: the len is 67 but the index is 265\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\nthread '<unnamed>' panicked at /Users/clason/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lsp-server-0.7.4/src/stdio.rs:29:37:\nreceiver was dropped, failed to send a message: \"SendError(..)\"\n"

These are instant now, though, so maybe not related to text sync?

@clason
Copy link
Contributor

clason commented Nov 27, 2023

(Bisected to this PR, though.)

@pfoerster
Copy link
Member Author

Hmm, I still get errors:

@clason Do you have an example or a stack trace with a debug build? Unfortunately, I am unable to reproduce this issue.

@clason
Copy link
Contributor

clason commented Dec 2, 2023

It happens on pretty much every file, instantly. (Even an empty file inside a project.) I'll see if I can run a debug build (though that's a bit tricky for LSP servers).

@clason
Copy link
Contributor

clason commented Dec 2, 2023

Hmm, I can't capture the Rust backtrace. It seems to crash when reading aux files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants