Skip to content
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 crash report: StackOverflowError at SubtypeHelper.isSubtypeOf #56218

Open
keertip opened this issue Jul 10, 2024 · 2 comments
Open

Analyzer crash report: StackOverflowError at SubtypeHelper.isSubtypeOf #56218

keertip opened this issue Jul 10, 2024 · 2 comments
Labels
analyzer-crash-report Issues which have been reported due to an analysis server crash area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@keertip
Copy link
Contributor

keertip commented Jul 10, 2024

StackOverflowError at SubtypeHelper.isSubtypeOf at package:analyzer/src/dart/element/subtype.dart

Thread 0 main threadStackOverflowError: Stack Overflow
at SubtypeHelper.isSubtypeOf(subtype.dart:35)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at ...(.)
at ...(.)

Analysis server 3.5.0-323.0.dev

@keertip keertip added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) analyzer-crash-report Issues which have been reported due to an analysis server crash labels Jul 10, 2024
@keertip
Copy link
Contributor Author

keertip commented Jul 10, 2024

Another StackOverflowError trace with isSubTypeOf

Thread 0 main threadStackOverflowError: Stack Overflow
at _HasLibraryMixin.library(element.dart:7463)
at SubtypeHelper.isSubtypeOf(subtype.dart:154)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at ...(.)
at ...(.)

Analysis server 3.5.0-323.0.dev

@keertip
Copy link
Contributor Author

keertip commented Jul 10, 2024

And one more

Thread 0 main threadStackOverflowError: Stack Overflow
at InterfaceTypeImpl.isDartCoreObject(type.dart:606)
at SubtypeHelper.isSubtypeOf(subtype.dart:84)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at SubtypeHelper.isSubtypeOf(subtype.dart:157)
at SubtypeHelper.isSubtypeOf(subtype.dart:277)
at ...(.)
at ...(.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-crash-report Issues which have been reported due to an analysis server crash area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant