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

unhandled LimitedAccuracy when precompiling Tetris.jl on 1.11 #54125

Closed
KristofferC opened this issue Apr 18, 2024 · 1 comment · Fixed by #54130
Closed

unhandled LimitedAccuracy when precompiling Tetris.jl on 1.11 #54125

KristofferC opened this issue Apr 18, 2024 · 1 comment · Fixed by #54130
Milestone

Comments

@KristofferC
Copy link
Member

https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/bdc7fb7_vs_bd47eca/Tetris.primary.log

Failed to precompile Tetris [d02b474b-c6a0-45b1-beee-9a2049fa00e6] to "/home/pkgeval/.julia/compiled/v1.11/Tetris/jl_kxUzhp".
Internal error: during type inference of
__init__()
Encountered unexpected error in runtime:
ErrorException("unhandled LimitedAccuracy")
error at ./error.jl:35
widenconst at ./compiler/typelattice.jl:700
jfptr_widenconst_36513.1 at /opt/julia/lib/julia/sys.so (unknown line)
_jl_invoke at /source/src/gf.c:2946 [inlined]
ijl_apply_generic at /source/src/gf.c:3123
global_assignment_nothrow at ./compiler/tfuncs.jl:3180
handle_global_assignment! at ./compiler/abstractinterpretation.jl:2815 [inlined]
abstract_eval_basic_statement at ./compiler/abstractinterpretation.jl:3031
typeinf_local at ./compiler/abstractinterpretation.jl:3301
typeinf_nocycle at ./compiler/abstractinterpretation.jl:3383
_typeinf at ./compiler/typeinfer.jl:244
typeinf at ./compiler/typeinfer.jl:215
typeinf_edge at ./compiler/typeinfer.jl:871
abstract_call_method at ./compiler/abstractinterpretation.jl:650
abstract_call_gf_by_type at ./compiler/abstractinterpretation.jl:102
abstract_call_unknown at ./compiler/abstractinterpretation.jl:2251
abstract_call at ./compiler/abstractinterpretation.jl:2261
abstract_call at ./compiler/abstractinterpretation.jl:2257

cc @aviatesk

@KristofferC KristofferC added this to the 1.11 milestone Apr 18, 2024
@aviatesk
Copy link
Member

xref: #54130

aviatesk added a commit that referenced this issue Apr 18, 2024
…54130)

`abstract_eval_statement` may return `LimitedAccuracy` so we need to
handle it before applying `widenconst`.

- fixes #54125
aviatesk added a commit that referenced this issue Apr 19, 2024
…54130)

`abstract_eval_statement` may return `LimitedAccuracy` so we need to
handle it before applying `widenconst`.

- fixes #54125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants