Skip to content

Sometimes getting The analysis server shut down unexpectedly when running dart analyze .Β #49272

Open
@nilsreichardt

Description

@nilsreichardt

The FlutterFire CI (using GitHub Action) has sometimes the problem that the analysis crashes:

The analysis server timed out while shutting down.
No issues found!
The analysis server shut down unexpectedly.
Please report this at dartbug.com.

Running dart analyze . --fatal-infos in the monorepo not concurrently (melos exec -c 1 -- dart analyze . --fatal-infos) has a chance of 0.1% - 1% of getting this issue. Increasing the concurrently parameter also increases the chance of crashing the analysis server dramatically. Using melos exec -c 5 -- dart analyze . --fatal-infos has a 10% chance of getting this error.

The FlutterFire CI is running with GitHub Action on ubuntu-latest. The Dart version is v2.17.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.crashProcess exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash.dart-cli-analyzeIssues related to the 'dart analyze' tooltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions