-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Thread panics on the assertion of "id.index() < Self::MAX_FILE_ID" #16118
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
Comments
minor: Add messages to some asserts for better debugging cc #16118
Oops, this issue occurs on my ubuntu of wsl too. and I find that the tokio's procedure macros, including #[tokio::test]
async fn subscribe_fails_if_there_is_a_fatal_database_error() {
let app = spawn_app().await;
...
} Remove that macro, the panic doesn't appear. After switching to pre-release version: 0.4.1770-standalone (96f6608 2023-12-14), the log is:
|
Hmm, that snippet alone does not trigger it for me (the assert should also be impossible to hit, I don't like this) |
I do hit a new assert I placed though with that code in the fixup parts hmm. Edit: It is indeed the fixup. |
still affects me under ubuntu wsl
|
rust-analyzer version: rust-analyzer version: 0.3.1766-standalone (457b966 2023-12-10)
rustc version: rustc 1.74.1 (a28077b28 2023-12-04)
relevant settings: Running within VSCode, on Windows 10 Pro 22H2, build: 19045.3803
Rust-analyzer thread panics on the assertion:
I had copy the whole project files to my wsl distribution. Under ubuntu on wsl, it works fine, so I guess this issue concerns to the underlying windows 10.
The text was updated successfully, but these errors were encountered: