-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Dartium crashes after IterableMixin added #22719
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
Comments
This comment was originally written by @bp74 Here is a repro-case that crashes Dartium. In JavaScript it prints 1,2,3,4,5 import 'dart:collection'; abstract class A { abstract class B extends Object with IterableMixin<int> { abstract class C extends A with IterableMixin<int> implements B { class D extends C { void main() { |
backtrace of the crash is as follows: #3 0x081dbd35 in dart::DynamicAssertionHelper::Fail ( These seems like another variation of issue #6 cc @crelier. |
Fixed at r44383. Added Fixed label. |
This issue was originally filed by @bp74
What steps will reproduce the problem?
I have attached a web application that crashes Dartium right when the website loads. The same application runs fine when compiled to JavaScript.
What is the expected output? What do you see instead?
You can fix the crash by removing the IterableMixin in this two files:
/web/stagexl/src/display/display_object_parent.dart
/web/stagexl/src/display/display_object_container.dart
You can easily remove those mixins because they aren't used by the application. Everything was running perfectly fine til the moment i have added the IterableMixin. Maybe i'm doing something stupid (because it's the first time i have added the IterableMixin) but the browser shouldn't crash like this.
In Dartium, enter chrome://version and paste the results here.
Chromium 39.0.2171.99 (Developer Build)
Revision a68efcf7f47b66832e4662b91e54612555f4964e
OS Windows
Blink 537.36 (@889f35a63b23d86c0f318af9a65a875117811cfd)
JavaScript V8 3.29.88.17
Dart 1.9.0-dev.10.2
Flash 16,0,0,305
User Agent Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 (Dart) Safari/537.36
Command Line "C:\Tools\dart-dev\chromium\chrome.exe" --no-sandbox --flag-switches-begin --flag-switches-end
Executable Path C:\Tools\dart-dev\chromium\chrome.exe
Profile Path C:\Users\Bernhard\AppData\Local\Chromium\User Data\Default
Variations ed1d377-e1cc0f14
Put OS and machine details here.
(If you're using Linux or Mac OS, you can get this from uname -a.)
Windows 10 x64
Please provide any additional information below.
Attachment:
Crash.zip (1.06 MB)
The text was updated successfully, but these errors were encountered: