-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Type intersection stack overflow testing StructuredOptimization.jl #47874
Labels
bug
Indicates an unexpected problem or unintended behavior
types and dispatch
Types, subtyping and method dispatch
Comments
Might be a regression compared to older versions as tests were reportedly passing on nightly and 1.6 in July 2021: https://github.com/JuliaFirstOrder/StructuredOptimization.jl/commits/master |
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Dec 30, 2022
This fix the MWE reported in JuliaLang#47874 (comment) And this fix the remaining internal error in `Healpix.jl`'s test.
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Dec 30, 2022
This fix the MWE reported in JuliaLang#47874 (comment) And this fix the remaining internal error in `Healpix.jl`'s test. gc fix
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Dec 31, 2022
This fix the MWE reported in JuliaLang#47874 (comment) And this fix the remaining internal error in `Healpix.jl`'s test. gc fix
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 3, 2023
This fixes the MWE reported in JuliaLang#47874 (comment) And this fixes the remaining internal error in `Healpix.jl`'s test. gc fix
No, that PR just fix the MWE above and my local test shows many remaining stack overflow. Edit: MWE for remaining intersect issue S1 = Tuple{Int, Vararg{Val{C} where C<:Union{Complex{R}, R}}} where R
T1 = Tuple{Any, Vararg{Val{C} where C<:Union{Complex{R}, R}}} where R<:Real
julia> typeintersect(S1, T1)
ERROR: StackOverflowError: |
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 8, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 9, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 9, 2023
I gave up fixing the deep stack-overflow. Make the `env` soundness seems much easier. close JuliaLang#47874.
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
N5N3
added a commit
to N5N3/julia
that referenced
this issue
Jan 10, 2023
I gave up fixing the deep stack overflow. Making the `env` soundness seems much easier. close JuliaLang#47874. At present, we only catch cases with pattern like A1 = Union{T,Int} where {T} A2 = Union{T2,Int} where {T,T2<:Union{T,Int}} A3 = Union{Int,A2}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
types and dispatch
Types, subtyping and method dispatch
The following MWE reproduces a stack overflow as seen on PkgEval, https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2022-12/11/StructuredOptimization.primary.log:
Looking at the rr trace (included in the PkgEval log), type intersection seems stuck:
This also happens on 1.8, so isn't a regression, but it's consistently listed as a crash at the top of PkgEval reports so would be good to fix.
The text was updated successfully, but these errors were encountered: