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

VSCode Extension keeps crashing #703

Open
Link87 opened this issue Nov 19, 2024 · 4 comments
Open

VSCode Extension keeps crashing #703

Link87 opened this issue Nov 19, 2024 · 4 comments

Comments

@Link87
Copy link

Link87 commented Nov 19, 2024

The VSCode Extension keeps crashing on my machine immediately after opening a toml file. It tries starting five times and eventually gives up. The output is as follows:

RuntimeError: unreachable
    at __rust_start_panic (wasm://wasm/065ed00a:wasm-function[63493]:0x12ec0f3)
    at rust_panic (wasm://wasm/065ed00a:wasm-function[56261]:0x12dbf09)
    at std::panicking::rust_panic_with_hook::h8e8556df5e46d2ff (wasm://wasm/065ed00a:wasm-function[20551]:0xfc8742)
    at std::panicking::begin_panic_handler::{{closure}}::h142b9f459ded72d9 (wasm://wasm/065ed00a:wasm-function[25954]:0x10c54f1)
    at std::sys_common::backtrace::__rust_end_short_backtrace::h1c0d3278570375be (wasm://wasm/065ed00a:wasm-function[61550]:0x12e9f20)
    at rust_begin_unwind (wasm://wasm/065ed00a:wasm-function[42801]:0x12744d7)
    at core::panicking::panic_fmt::hbea4287e435ed8a3 (wasm://wasm/065ed00a:wasm-function[43645]:0x1280e86)
    at core::result::unwrap_failed::hee432a5bb1c04b28 (wasm://wasm/065ed00a:wasm-function[29393]:0x1141e8c)
    at core::result::Result<T,E>::expect::hd2a41b23557f815c (wasm://wasm/065ed00a:wasm-function[29516]:0x1145cd9)
    at ahash::random_state::get_fixed_seeds::{{closure}}::hd3a5a3ca69a6d0bf (wasm://wasm/065ed00a:wasm-function[2050]:0x77cd28)
[Error - 10:39:56 AM] Server process exited with code 1.
[Error - 10:39:56 AM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 10:39:56 AM] The Even Better TOML LSP server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 10:39:56 AM] Even Better TOML LSP client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 10:39:56 AM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

If the issue is within the ahash crate, maybe a dependency update is enough?

@Link87 Link87 changed the title VSCode Extension keeps crashing with VSCode Extension keeps crashing Nov 19, 2024
@panekj
Copy link
Collaborator

panekj commented Nov 19, 2024

What version of extension and VSCode is used?

@Link87
Copy link
Author

Link87 commented Nov 19, 2024

I'm using VSCodium 1.95.3 and extension version 0.21.0.

@panekj
Copy link
Collaborator

panekj commented Nov 19, 2024

A bit buggy here and there but it doesn't crash for me so I'm going to need more info and maybe you'll need to re-install extension, reload editor and make sure it's fully updated.

@Link87
Copy link
Author

Link87 commented Nov 20, 2024

Apparently the problem only occurs over SSH (with the "Open Remote - SSH" extension) with the latest version 0.21.0. Version 0.19.1 works over SSH and both versions work locally.

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

No branches or pull requests

2 participants