JuliaDiff / JuliaDiff/ChainRules.jl

CI failing on julia 1.8.1 with Seg fault/memory error

Open
#677 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
475
Forks
98
PR merge metrics
No merged PRs in 30d

Description

The CI is failing on julia 1.8.1 for x86 with either a Segmentation fault or an LLVM memory error.

LLVM error example: https://github.com/JuliaDiff/ChainRules.jl/actions/runs/3087367821/jobs/4992664313

LLVM ERROR: out of memory
Allocation failed

signal (6): Aborted
in expression starting at /home/runner/work/ChainRules.jl/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:1
__kernel_vsyscall at linux-gate.so.1 (unknown line)
gsignal at /lib32/libc.so.6 (unknown line)
abort at /lib32/libc.so.6 (unknown line)

Segmentation fault example: https://github.com/JuliaDiff/ChainRules.jl/actions/runs/3095156256/jobs/5009272412

Testing rulesets/LinearAlgebra/symmetric.jl:

signal (11): Segmentation fault
in expression starting at /home/runner/work/ChainRules.jl/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:1
unknown function (ip: 0xf7ec43e0)

Both errors happen during the rulesets/LinearAlgebra tests.

Contributor guide

No contributing guide indexed for this repository

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 by reviewing the linked CI runs and reproducing the failure with Julia 1.8.1 on x86. Focus on the rulesets/LinearAlgebra tests, especially symmetric.jl, and compare the segmentation fault and LLVM out-of-memory traces. Done means these tests complete successfully in CI on Julia 1.8.1 without either failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.