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

Failed assertion during IR decompression #56994

Open
maleadt opened this issue Jan 8, 2025 · 1 comment
Open

Failed assertion during IR decompression #56994

maleadt opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
regression Regression in behavior compared to a previous version
Milestone

Comments

@maleadt
Copy link
Member

maleadt commented Jan 8, 2025

Introduced very recently, likely in #56880

julia: /source/src/julia.h:1319: jl_array_ptr_ref: Assertion `i < ((*(size_t*)jl_svecref(((jl_datatype_t*)(((((jl_taggedvalue_t*)((char*)(a) - sizeof(jl_taggedvalue_t)))->header) & ~(uintptr_t)15)))->parameters, 1)) == 1 ? (((jl_array_t*)(a))->dimsize[0]) : (((jl_array_t*)(a))->ref.mem->length))' failed.

[278] signal 6 (-6): Aborted
in expression starting at /home/pkgeval/.julia/packages/PyCall/1gn3u/test/runtests.jl:36
unknown function (ip: 0x7b80c81afd3c) at /lib/x86_64-linux-gnu/libc.so.6
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7b80c814b394) at /lib/x86_64-linux-gnu/libc.so.6
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
jl_array_ptr_ref at /source/src/julia.h:1319
jl_array_ptr_ref at /source/src/julia.h:1319 [inlined]
lookup_root at /source/src/method.c:1483
jl_decode_value at /source/src/ircode.c:807
jl_decode_value_expr at /source/src/ircode.c:682 [inlined]
jl_decode_value at /source/src/ircode.c:840
ijl_uncompress_ir at /source/src/ircode.c:1158
_uncompressed_ir at ./runtime_internals.jl:1402
typeinf_ext_toplevel at ./../usr/share/julia/Compiler/src/typeinfer.jl:1215
jfptr_typeinf_ext_toplevel_117523.1 at /opt/julia/lib/julia/sys.so (unknown line)
_jl_invoke at /source/src/gf.c:3444 [inlined]
ijl_apply_generic at /source/src/gf.c:3644
jl_apply at /source/src/julia.h:2246 [inlined]
jl_type_infer at /source/src/gf.c:452
jl_compile_method_internal at /source/src/gf.c:2942
_jl_invoke at /source/src/gf.c:3436 [inlined]
ijl_apply_generic at /source/src/gf.c:3644
jl_apply at /source/src/julia.h:2246 [inlined]
do_call at /source/src/interpreter.c:125
eval_value at /source/src/interpreter.c:243
eval_stmt_value at /source/src/interpreter.c:194 [inlined]
eval_body at /source/src/interpreter.c:687
eval_body at /source/src/interpreter.c:562
eval_body at /source/src/interpreter.c:562

As seen on PkgEval: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2025-01/05/report.html

rr traces are available:

@maleadt maleadt added the regression Regression in behavior compared to a previous version label Jan 8, 2025
@maleadt maleadt added this to the 1.12 milestone Jan 8, 2025
@vtjnash
Copy link
Member

vtjnash commented Jan 8, 2025

I can't reproduce these, so I assume #56975 fixes it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version
Projects
None yet
Development

No branches or pull requests

2 participants