Skip to content

another vm crash with generics #25568

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

Closed
Andersmholmgren opened this issue Jan 24, 2016 · 3 comments
Closed

another vm crash with generics #25568

Andersmholmgren opened this issue Jan 24, 2016 · 3 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@Andersmholmgren
Copy link

Following on from #25122 and #25389 I have found a new way to crash 1.14.0-dev.7.2

Project has strong mode enabled

With the below code if I run the following command I get the bus error (or exit code 138 running from intellij)

dart -c crashme.dart 
Bus error: 10
main() {}

class BacklogListEditorState
    extends AbstractListEditorState<BacklogsState, BacklogListEditorState> {}

class BacklogsState extends MutableEntityState<BacklogsState> {}

abstract class AbstractListEditorState<ES extends ComponentState<ES>,
    S extends AbstractListEditorState<ES, S>> extends ComponentState<S> {}

abstract class ComponentState<S extends ComponentState<S>> {}

abstract class EntityState<ES extends EntityState<ES>>
    extends ComponentState<ES> {}

abstract class MutableEntityState<S extends MutableEntityState<S>>
// if change to with ComponentState<S> it no longer crashes
    extends EntityState<S> implements ComponentState<S> {}

@fsc8000 fsc8000 added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label Jan 26, 2016
@Andersmholmgren
Copy link
Author

any update?

@crelier
Copy link
Contributor

crelier commented Feb 6, 2016

I have a fix ready that will be reviewed and should be submitted early next week.

@Andersmholmgren
Copy link
Author

cool. Thanks for the update

@crelier crelier closed this as completed in 7ab578d Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

3 participants