-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.pkg-ddsFor issues related to the Dart Development ServiceFor issues related to the Dart Development Servicetype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
On the 3.27 beta of Flutter, we are seeing this crash affecting many clients: flutter/flutter#158537. That thread documents the error messages we see coming from the tool. For quick reference, the one we see the most is
StateError: Bad state: Failed to start Dart Development Service
at DartDevelopmentService.startDartDevelopmentService(dds.dart:114)
at <asynchronous gap>(async)
at FlutterDevice.connect.<anonymous closure>(resident_runner.dart:295)
at <asynchronous gap>(async)
Expected behavior: the error message explains why dds failed to start
Here is the call site where the flutter tool enters package:dds: https://github.com/flutter/flutter/blob/04d3d1a4c3f005beb8cf37fb4f66ad6b7b8d666f/packages/flutter_tools/lib/src/resident_runner.dart#L291-L313.
cc @bkonyi
PatrickGeyer
Metadata
Metadata
Assignees
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.pkg-ddsFor issues related to the Dart Development ServiceFor issues related to the Dart Development Servicetype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)