Skip to content

The Dart Analysis Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. #60658

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

Open
git-acuratechglobal opened this issue May 1, 2025 · 3 comments

Comments

@git-acuratechglobal
Copy link

git-acuratechglobal commented May 1, 2025

No description provided.

@FMorschel
Copy link
Contributor

CC @DanTup

@mraleph
Copy link
Member

mraleph commented May 1, 2025

@git-acuratechglobal You need to actually include the output, otherwise it is unactionable.

@mraleph mraleph added the needs-info We need additional information from the issue author (auto-closed after 14 days if no response) label May 1, 2025
@DanTup
Copy link
Collaborator

DanTup commented May 1, 2025

The error message here comes from VS Code's LSP client and unfortunately the default behaviour is not very helpful - the "Output" it refers to doesn't actually contain any information about the failure (see Dart-Code/Dart-Code#5328).

In a recent update to the Dart-Code plugin, I override this error handling to provide a message which should end with "See the log for more information" and include a button to open the log file, which should contain useful information (for example any exception from the server).

@git-acuratechglobal can you confirm which version of the Dart extension you're using? If it's earlier than v3.106, then please upgrade to the latest one. If you're already on a later version, then you may be affected by microsoft/vscode-languageserver-node#1608 which seems to be a bug in the VS Code LSP client that prevents the custom error handler from being invoked. In that case, please try enabling the Analysis server instrumentation log and checking it for any exception after reproducing this issue (note: the log file will contain parts of your source code, so carefully review any parts you are sharing).

@github-actions github-actions bot removed the needs-info We need additional information from the issue author (auto-closed after 14 days if no response) label May 2, 2025
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

4 participants