SciML / SciML/RuntimeGeneratedFunctions.jl

Can crash julia on 1.13?

Open
#114 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Julia
Stars
112
Forks
19
Avg merge
6h 11m
Merged PRs (30d)
9

Description

https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/5abf758_vs_01a2ead/SymbolicTracingUtils.primary.log

Unreachable reached at 0x79a7f4ba057f

[55] signal 4 (2): Illegal instruction
in expression starting at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/test/runtests.jl:14
getindex at ./tuple.jl:33 [inlined]
macro expansion at /home/pkgeval/.julia/packages/RuntimeGeneratedFunctions/BenR2/src/RuntimeGeneratedFunctions.jl:164 [inlined]
macro expansion at ./none:0 [inlined]
generated_callfunc at ./none:0 [inlined]
RuntimeGeneratedFunction at /home/pkgeval/.julia/packages/RuntimeGeneratedFunctions/BenR2/src/RuntimeGeneratedFunctions.jl:152
#11 at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/src/tracing.jl:77
#18 at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/src/tracing.jl:99
* at /home/pkgeval/.julia/packages/SciMLOperators/2UPBq/src/func.jl:705
unknown function (ip: 0x79a7f4ba00e6) at (unknown file)
_jl_invoke at /source/src/gf.c:4116 [inlined]
ijl_apply_generic at /source/src/gf.c:4313
macro expansion at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/test/runtests.jl:97 [inlined]
macro expansion at /source/usr/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined]
macro expansion at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/test/runtests.jl:91 [inlined]
macro expansion at /source/usr/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined]
macro expansion at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/test/runtests.jl:62 [inlined]
macro expansion at /source/usr/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined]
macro expansion at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/test/runtests.jl:17 [inlined]
macro expansion at /source/usr/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined]
top-level scope at /home/pkgeval/.julia/packages/SymbolicTracingUtils/A3yKh/test/runtests.jl:15
_jl_invoke at /source/src/gf.c:4116 [inlined]

the stacktrace suggests something is going wrong here I think

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked primary.log and reproduce the failure on Julia 1.13 using the SymbolicTracingUtils test at test/runtests.jl:14. Trace the RuntimeGeneratedFunctions.jl entries at src/RuntimeGeneratedFunctions.jl:152 and :164, then determine why generated_callfunc reaches an illegal instruction. Done means the crash is explained and the relevant test passes without triggering it.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.