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

Analysis server crash #56433

Closed
iamkachigo opened this issue Aug 12, 2024 · 5 comments
Closed

Analysis server crash #56433

iamkachigo opened this issue Aug 12, 2024 · 5 comments
Labels
analyzer-crash-report Issues which have been reported due to an analysis server crash analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4 type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@iamkachigo
Copy link

[Error - 02:34:47] 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.
[Error - 02:34:47] Dart Analysis Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 02:34:47] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097

@dart-github-bot
Copy link
Collaborator

Summary: The Dart Analysis Server crashed repeatedly, preventing the client from connecting. The server failed to restart due to connection issues, resulting in an error message indicating a pending response rejection.

@dart-github-bot dart-github-bot added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Aug 12, 2024
@lrhn lrhn changed the title Create an issue Analysis server crash Aug 12, 2024
@lrhn lrhn added analyzer-server and removed triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. labels Aug 12, 2024
@keertip
Copy link
Contributor

keertip commented Aug 12, 2024

@iamkachigo, we need more information from you to figure out what might be the issue here? Are there any more logs that you can send?

@iamkachigo
Copy link
Author

[Error - 00:30:52] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 00:30:52] Connection to server got closed. Server will restart.
true
[Error - 00:30:52] Dart Analysis Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 00:30:53] Connection to server got closed. Server will restart.
true
[Error - 00:30:53] Dart Analysis Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 00:30:53] Connection to server got closed. Server will restart.
true
[Error - 00:30:53] Dart Analysis Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 00:30:53] Connection to server got closed. Server will restart.
true
[Error - 00:30:53] Dart Analysis Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] 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.
[Error - 00:30:53] Dart Analysis Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 00:30:53] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097

@srawlins
Copy link
Member

@iamkachigo thanks for the report. Can you collect an instrumentation log, by following the instructions here: https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/tutorial/instrumentation.md

Thanks!

@keertip keertip added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) analyzer-crash-report Issues which have been reported due to an analysis server crash P4 and removed type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Aug 16, 2024
@mraleph
Copy link
Member

mraleph commented Oct 3, 2024

This is unactionable without additonal information.

@mraleph mraleph closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-crash-report Issues which have been reported due to an analysis server crash analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4 type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

6 participants