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

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. #50613

Closed
mmukagali opened this issue Dec 2, 2022 · 2 comments

Comments

@mmukagali
Copy link

mmukagali commented Dec 2, 2022

No description provided.

@mmukagali
Copy link
Author

Deleting ~/.dartServer/.analysis-driver/ files helped for me

@DanTup
Copy link
Collaborator

DanTup commented Dec 6, 2022

@mmukagali did you resolve your issue? I just saw the email you sent to logs@dartcode.org (sorry for the delay). It contained this:

[4:09:38 PM] [Analyzer] [Error] Unhandled exception:
Bad state: Suspected cycle. [(uri: package:flutter_test/flutter_test.dart, path: /Users/mmukagali/tools/flutter/packages/flutter_test/lib/flutter_test.dart), (uri: package:flutter_test/src/test_text_input.dart, path: /Users/mmukagali/tools/flutter/packages/flutter_test/lib/src/test_text_input.dart), (uri: package:flutter/services.dart, path: /Users/mmukagali/tools/flutter/packages/flutter/lib/services.dart), (uri: package:flutter/src/services/binding.dart, path: /Users/mmuka…
[4:09:38 PM] [Analyzer] [Error] c/src/crop.dart, path: /Users/mmukagali/tools/flutter/bin/cache/pkg/sky_engine/lib/_http/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/crop.dart), (uri: dart:_http/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/crop.dart, path: /Users/mmukagali/tools/flutter/bin/cache/pkg/sky_engine/lib/_http/src/src/src/src/src/src/src/src/src/src/src/src/src/src…

This is an issue that came up before at Dart-Code/Dart-Code#4037 but it wasn't clear what caused it there. The OP cleaned a lot of things and got it working but it's not clear what triggered it.

If you see it again, please do post back.

(@scheglov FYI, in case it's useful info that deleting ~/.dartServer may have resolved the reported cycle noted above)

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