Skip to content

Regression in 3.7.2 Scaladoc crashes intermittently during readTasty phase #23654

@eed3si9n

Description

@eed3si9n

Compiler version

3.7.2

Minimized code

This happens on sbt/sbt develop branch intermittently.

Output

See https://gist.github.com/eed3si9n/fa45e87c8869803b95b9df0561dd84ee for an example output:

  Exception while compiling /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/BuildUtilLite.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/DefinedSbtValues.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/DslEntry.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/Eval.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/EvalDefinitions.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/EvalException.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/EvalImports.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/EvalReporter.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/EvalResult.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/EvaluateConfigurations.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/ForwardingReporter.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/Index.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/LoadedSbtFile.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/parser/ParsedSbtFileExpressions.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/parser/SbtParser.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/parser/SbtParserInit.tasty, /home/runner/work/sbt/sbt/buildfile/target/scala-3.7.2/classes/sbt/internal/parser/SbtRefactorings.tasty

  An unhandled exception was thrown in the compiler.
  Please file a crash report here:
  https://github.com/scala/scala3/issues/new/choose
  For non-enriched exceptions, compile with -Xno-enrich-error-messages.


     while compiling: <no file>
        during phase: readTasty
                mode: Mode()
     library version: version 2.13.16
    compiler version: version 3.7.2
            settings: -Xread-docs true -Yretain-trees true -classpath ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:doctoolitype:bugitype:crashregressionThis worked in a previous version but doesn't anymorestat:needs bisectionNeed to use nightly builds and git bisect to find out the commit where this issue was introducedstat:needs minimizationNeeds a self contained minimization

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions