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
[analyzer] The Dart Analysis Server server crashed 5 times in the last 3 minutes. #51855
Comments
I've also noticed several other errors in the console:
but I have no steps. Will monitor the console for some time to see if they appear again. |
Thanks for all of the stack traces!! |
I created a test for the first case (https://dart-review.googlesource.com/c/sdk/+/291340), but it fails to reproduce a problem. If you could try the simplified version and let me know whether it crashes for you, that would be great. Otherwise I'll assume that the bug has already been fixed. |
If you can create a scenario to reproduce I can reproduce class A {
A(): super(0) = 0;
} Basically, any cast anywhere is a potential land mine. |
Yeah, thank you, that was the case (I forgot to add As for the stack traces - since LSP requests code actions on typing, I think all of them appear while typing, "randomly". I've almost got a repro, but then the issue stopped appearing. As for
but again, it's all the same. Here is the full log fullLog.txt |
Bug: #51855 Change-Id: Ifd8f3cf1f4e82536b475fb7460c27d1ba73672e1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/301732 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This change might help with analyzing the bug. Bug: #51855 Change-Id: I214a6238e696ffa2ba16df11946e65da18e81945 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/303782 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
@scheglov I see you committed a few changes referencing this issue; do we need new reproductions in newer Dart versions? Should we close this until we see a newer reproduction? |
jfyi, this one is still happening (Dart SDK version: 3.2.0-210.1.beta (beta))
|
I think The issue with |
The following example crashes the analysis server:
Dart SDK version: 2.19.4 (stable) (Tue Mar 7 09:58:46 2023 +0000) on "macos_x64"
The text was updated successfully, but these errors were encountered: