-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Dart VM compiler crash #100375
Comments
@itsjustkevin for the details on the hot fixes schedule. |
I wasn't able to get around this a flutter clean, btw. Issue persisted. |
@zanderso Could you provide a reproduction? Can we see a full output of the compiler when it crashed? |
@caudetgit or @luigi-rosso are you able to share a project that reproduces this compilation error? |
@luigi-rosso normally the compiler dumps a stacktrace when it crashes, is it possible for you to look in the logs when these crashes happen and share the stack trace dump from the logs. |
@caudetgit @luigi-rosso We're not able to make further progress without a way to reproduce this, unfortunately. |
@Hixie Sorry about the delay. We'll follow up as soon as we can. |
Should we consider lowering the priority of this issue as we don't seem to have enough timely information to make any progress. |
Yes. I've lowered the priority and added the |
Hi all. We appreciate your attention on this, given competing priorities on our end it makes sense to lower the priority of this ticket for now. |
updated to flutter 2.10.5 and the build errors no longer repro |
@caudetgit - can you please check the latest Flutter beta and see if they're reproducing? When originally reported, this bug was showing on a revision past 2.10.5. |
I was able to repro it on Flutter 3.0. This seems to only happen on Windows. I've tried a flutter clean, issue still presents itself.
Doctor:
I don't have an isolated repro but I can try to spend some time on one as time permits, or happy to invite someone from the Dart/Flutter team to our private repository. |
Do you have the full log of when the crash happens, the compiler dumps a stacktrace when it crashes, this would help us debug the problem. Can you capture the stacktrace from the log and post it here. |
There's no indication of where a log would've been written to in the terminal. I tried building the runner from vs2022 and it also fails with apparently no indication of a crashlog being written. Is there a known path I should be looking for this at? Verbose BuildBuilding with --verbose dumps a bunch of stuff which looks like what you might be looking for: |
That verbose log seems to indicate it fails compiling our websocket code. Attached Note that I'm not including all the imports, some are pretty verbose and I'd prefer not to share them. Happy to give someone access to our repo. |
Thanks @luigi-rosso! The verbose log in https://github.com/flutter/flutter/files/8723845/flutter_build_windows_verbose.txt contains the CFG for the problematic method. I expect that this may be enough information to go on. Assigning to @a-siva to route to the right person. |
Standalone small repro: class ReconnectingWebsocketClient {
int _reconnectAttempt = 0;
void _reconnect() {
if (_reconnectAttempt < 1) {
_reconnectAttempt = 1;
}
_reconnectAttempt *= 2;
}
}
main() {
ReconnectingWebsocketClient()._reconnect();
} |
Fantastic thank you both! |
It looks like this bug (mismatched representation in the IL) was recently fixed in dart-lang/sdk@2b0cd3c. The fix is not in the Flutter yet, but should be rolled in a few days. |
Do we want ot CP this to stable? |
I will file a request on the Dart side for cherry picking the change into Dart 2.17 |
@a-siva Can this be closed now? |
This can be closed. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
A crash was noticed by a customer:
Looks like that is a new assert added in dart-lang/sdk@35eef00
Which rolled into the Engine at flutter/engine@a5718ab
And into the framework at bf98767
That is in the 2.12 beta.
@a-siva @alexmarkov @dnfield
@godofredoc will there be a hotfix release for 2.12?
The text was updated successfully, but these errors were encountered: