dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.08k stars 1.56k forks source link

Analysis server crash #56433

Open iamkachigo opened 1 month ago

iamkachigo commented 1 month ago

[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 commented 1 month ago

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.

keertip commented 1 month ago

@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 commented 1 month ago

[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 commented 1 month ago

@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!