-
-
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
Inference crash in handling of Core._apply_iterate
#33768
Labels
Comments
Looks like we need some argument count checks there. |
Also:
|
More realistic example: JuliaDebug/JuliaInterpreter.jl@cb6ab09#diff-5a8415c3db7ae789ed68bb4ef565118cR81 Error is: julia> using JuliaInterpreter
[ Info: Precompiling JuliaInterpreter [aa1ae85d-cabe-5617-a682-6adf51b2e16a]
Internal error: encountered unexpected error in runtime:
BoundsError(a=Array{Any, (2,)}[
Core.Compiler.Const(val=typeof(Core._apply_iterate)(), actual=false),
Vararg{Any, N} where N], i=(3,))
jl_bounds_error_ints at /home/kc/julia/src/rtutils.c:183
getindex at ./array.jl:758 [inlined]
abstract_call at ./compiler/abstractinterpretation.jl:646 I don't understand why JuliaDebug/JuliaInterpreter.jl@cb6ab09#diff-5a8415c3db7ae789ed68bb4ef565118cR68-R70 doesn't trigger the same problem though. |
Ah, I get it now. |
JeffBezanson
added
the
kind:bug
Indicates an unexpected problem or unintended behavior
label
Nov 5, 2019
JeffBezanson
added a commit
that referenced
this issue
Nov 13, 2019
JeffBezanson
added a commit
that referenced
this issue
Nov 13, 2019
JeffBezanson
added a commit
that referenced
this issue
Nov 13, 2019
KristofferC
pushed a commit
that referenced
this issue
Apr 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When trying to fix JuliaInterpreter.jl on Julia master I ran into the following:
Using the
load_bounds_error
branch where the only real change is JuliaDebug/JuliaInterpreter.jl@1c9b0dc#diff-5a8415c3db7ae789ed68bb4ef565118cR78-R79Julia crashes on trying to load JuliaInterpreter with:
Clearly the
"foo"
argument in the branch is bogus (I splatted something there before so the bounds error had aVararg
for the second argument but tried to minimize the diff).The error is thrown from
julia/base/compiler/abstractinterpretation.jl
Line 646 in 2c187bd
which was quite recently added (#33356).
The text was updated successfully, but these errors were encountered: