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

Deno 1.33.3 lsp has crashed 5 times in last 3 minutes when compiled with cargo install #19148

Closed
cacilhas opened this issue May 16, 2023 · 2 comments · Fixed by #19375
Closed
Labels
bug Something isn't working correctly lsp related to the language server needs info needs further information to be properly triaged

Comments

@cacilhas
Copy link

Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: linux x86_64
Version: 1.33.3
Args: ["/home/.../.cargo/bin/deno", "lsp"]

thread '' panicked at 'called Option::unwrap() on a None value', /home/.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/dprint-swc-ext-0.9.0/src/view/generated.rs:14469:17
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[Error - 11:23:00] The Deno Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information

@dsherret
Copy link
Member

dsherret commented May 16, 2023

Are you able to run with the RUST_BACKTRACE=1 environment variable set in order to see the backtrace log message? Does it happen in all projects or just a specific one?

Also, do you have that project available so I can try it out?

@dsherret dsherret added bug Something isn't working correctly needs info needs further information to be properly triaged lsp related to the language server labels May 16, 2023
@dsherret
Copy link
Member

dsherret commented Jun 2, 2023

I see this only occurs when building with the latest rust on linux. You may want to install Deno using a pre-built binary.

dsherret added a commit that referenced this issue Jun 5, 2023
@dsherret dsherret changed the title Deno 1.33.3 lsp has crashed 5 times in last 3 minutes (whenever it runs) Deno 1.33.3 lsp has crashed 5 times in last 3 minutes when compiled with cargo install Jun 7, 2023
bartlomieju pushed a commit that referenced this issue Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly lsp related to the language server needs info needs further information to be properly triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants