-
-
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
codegen assertion in BitIntegers #34288
Comments
Duplicate of #32414 |
The fix for the duplicate doesn't seem to fix this issue, so re-opening. Sorry if I messed my testing and got this wrong. |
Minimal repro:
|
The minimal repro above seems to have been fixed in 1.6. But I found another "Internal error" in today's master (d6c092d): julia> using BitIntegers
julia> BitIntegers.@define_integers 24; x = UInt24(0);
julia> x
Internal error: encountered unexpected error in runtime:
MethodError(f=Main.UInt24, args=(0,), world=0x0000000000001133)
jl_method_error_bare at /local/src/julia/src/gf.c:1818
jl_method_error at /local/src/julia/src/gf.c:1836
jl_lookup_generic_ at /local/src/julia/src/gf.c:2406 [inlined]
jl_apply_generic at /local/src/julia/src/gf.c:2421
convert at ./number.jl:7
zero at ./number.jl:292
_jl_invoke at /local/src/julia/src/gf.c:2243 [inlined]
jl_apply_generic at /local/src/julia/src/gf.c:2425
[...] It's a relatively recent error which was not there in d524f21 (81 days old master). julia> print(stdout, "0x", string(x, pad = sizeof(x)<<1, base = 16))
0x000000
julia> f(x) = print(stdout, "0x", string(x, pad = sizeof(x)<<1, base = 16)); f(x)
Internal error: encountered unexpected error in runtime:
[...]
unknown function (ip: 0x401089)
0x000000 (note it still prints at the end). |
I am seeing the same error message in 1.7: |
Could you open a new issue about it? |
With #34287 running
]test BitIntegers
:The text was updated successfully, but these errors were encountered: