Skip to content
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

Internal error in widenreturn_partials calling datatype_min_ninitialized #56997

Open
vtjnash opened this issue Jan 8, 2025 · 0 comments
Open
Assignees
Labels
compiler:inference Type inference

Comments

@vtjnash
Copy link
Member

vtjnash commented Jan 8, 2025

Internal error: during type inference of
kwcall(NamedTuple{(:options,), Tuple{NonconvexPercival.PercivalOptions{NamedTuple{(:first_order, :memory, :inity), Tuple{Bool, Int64, typeof(Base.ones)}}}}}, typeof(NonconvexCore.optimize), NonconvexCore.Model{Array{Any, 1}}, NonconvexPercival.PercivalAlg, Array{Float64, 1})
Encountered unexpected error in runtime:
MethodError(f=Base.Compiler.datatype_min_ninitialized, args=(Union{GenericMemory{isatomic, FC, addrspace} where addrspace where FC<:Union{Base.Complex{T}, AbstractFloat} where Float64<:T<:AbstractFloat, GenericMemory{isatomic, T, addrspace} where addrspace where T<:Union{Base.Complex{T}, AbstractFloat} where Float64<:T<:AbstractFloat},), world=0x0000000000001947)
jl_method_error_bare at /source/src/gf.c:2478
jl_method_error at /source/src/gf.c:2496
jl_f_throw_methoderror at /source/src/builtins.c:587 [inlined]
jl_f_throw_methoderror at /source/src/builtins.c:583
widenreturn_partials at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3667
widenreturn at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3659 [inlined]
widenreturn at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3616
widenreturn at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3563 [inlined]
widenreturn at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3559 [inlined]
update_bestguess! at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3743
typeinf_local at ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3964
jfptr_typeinf_local_117597.1 at /opt/julia/lib/julia/sys.so (unknown line)

https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2025-01/05/NonconvexPercival.primary.log

@vtjnash vtjnash added the compiler:inference Type inference label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:inference Type inference
Projects
None yet
Development

No branches or pull requests

2 participants