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 -> Engine roll failing on unreachable assert failure #80801
Comments
@zanderso How can I reproduce the failure? |
In a
|
This reverts commit 2852408. Reason for revert: failures on Flutter engine tests. Issue: flutter/flutter#80801 Original change's description: > [vm] Reduce size of Class objects in AOT and PRODUCT modes > > This change conditionally removes certain fields from Class objects > in AOT and PRODUCT modes. > > Flutter gallery in release-sizeopt mode: > Snapshot size -0.47% (arm64), -0.44% (arm) > Heap size of snapshot objects -4.1% (arm64), -4.3% (arm) > > On a large Flutter application compiled in --dwarf-stack-traces mode: > Heap size of Class objects -26% > Heap size of all snapshot objects -3.6% > > TEST=ci > Issue: #44020 > Change-Id: I795c625b71558cd2f336f92fc326c36fd339cd4b > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195700 > Commit-Queue: Alexander Markov <alexmarkov@google.com> > Reviewed-by: Ryan Macnak <rmacnak@google.com> TBR=vegorov@google.com,rmacnak@google.com,alexmarkov@google.com,sstrickl@google.com Change-Id: I0dbf1d5fc139f3654ce52f185b799c09bba66de7 No-Presubmit: true No-Tree-Checks: true No-Try: true Issue: #44020 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196102 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
The problem is that VM sometimes creates types for artificial top-level classes, but finalization of such classes doesn't initialize their number of type arguments. That caused the crash in AOT mode after I removed calculation of number of type arguments from AOT runtime. I'm going to reland the original CL with the fix for this issue. |
Fixed in patchset 2 of https://dart-review.googlesource.com/c/sdk/+/196103/. |
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 |
Starting from flutter/engine#25669. Maybe due to https://dart.googlesource.com/sdk.git/+/2852408881936600ad881cb7ee19342054fabce3 ? /cc @alexmarkov
The text was updated successfully, but these errors were encountered: