Skip to content

New Internal error: stack overflow in type inference when testing some packages #50456

@KristofferC

Description

@KristofferC

When testing the EBayes or GroupedErrors packages they now error with Internal error: stack overflow in type inference. Some example of that are:

Ebayes (https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c9a32f4_vs_e4ee485/EBayes.primary.log):

Internal error: stack overflow in type inference of fit(Distributions.Normal{Float64}, EBayes.SURE, EBayes.FixedLocation{Float64}, StructArrays.StructArray{EBayes.NormalSample{Float64}, 1, NamedTuple{(:Z, :σ), Tuple{Array{Float64, 1}, Array{Float64, 1}}}, Int64}).
This might be caused by recursion over very long tuples or argument lists.
Internal error: stack overflow in type inference of fit(Distributions.Normal{Float64}, EBayes.SURE, EBayes.GrandMeanLocation{Float64}, StructArrays.StructArray{EBayes.NormalSample{Float64}, 1, NamedTuple{(:Z, :σ), Tuple{Array{Float64, 1}, Array{Float64, 1}}}, Int64}).

GroupedErrors (https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c9a32f4_vs_e4ee485/GroupedErrors.primary.log):

│   diff =
│    Warning: Diff output requires color.
│    Internal error: stack overflow in type inference of repr(DataFrames.DataFrame).
│    This might be caused by recursion over very long tuples or argument lists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatch

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions