SciML / SciML/RuntimeGeneratedFunctions.jl
Can crash julia on 1.13?
Open
Nobody has claimed this yet.
bug
- Dominant language
- Julia
- Stars
- 112
- Forks
- 19
- Avg merge
- 6h 11m
- Merged PRs (30d)
- 9
Description
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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