JuliaApproximation / JuliaApproximation/FastTransforms.jl
LibFastTransforms crashing in tests on 1.12
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 281
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Testing Running tests...
Test Summary: | Pass Total Time
Special functions | 22 22 2.3s
Test Summary: | Pass Total Time
Chebyshev transform | 671 671 19.5s
Test Summary: | Pass Total Time
Fejér and Clenshaw–Curtis quadrature | 9 9 0.4s
[46986] signal 11 (2): Segmentation fault: 11
in expression starting at /Users/solver/Projects/FastTransforms.jl/test/libfasttransformstests.jl:5
__gmpn_mul_basecase at /Users/solver/Projects/julia-1.12/usr/lib/libgmp.10.dylib (unknown line)
__gmpn_mul at /Users/solver/Projects/julia-1.12/usr/lib/libgmp.10.dylib (unknown line)
mpfr_mul at /Users/solver/Projects/julia-1.12/usr/lib/libmpfr.6.dylib (unknown line)
ft_mpfr_trmv_ptr at /Users/solver/.julia/artifacts/62b9f023b0cbe33dd2ae8fd0a2230bcfb5ce0a5b/lib/libfasttransforms.dylib (unknown line)
lmul! at /Users/solver/Projects/FastTransforms.jl/src/libfasttransforms.jl:986
* at /Users/solver/Projects/FastTransforms.jl/src/libfasttransforms.jl:880 [inlined]
test_1d_plans at /Users/solver/Projects/FastTransforms.jl/test/libfasttransformstests.jl:28
jl_apply at /Users/solver/Projects/julia-1.12/src/julia.h:2387 [inlined]
do_call at /Users/solver/Projects/julia-1.12/src/interpreter.c:123
eval_stmt_value at /Users/solver/Projects/julia-1.12/src/interpreter.c:194 [inlined]
eval_body at /Users/solver/Projects/julia-1.12/src/interpreter.c:689
eval_body at /Users/solver/Projects/julia-1.12/src/interpreter.c:558
eval_body at /Users/solver/Projects/julia-1.12/src/interpreter.c:558
jl_interpret_toplevel_thunk at /Users/solver/Projects/julia-1.12/src/interpreter.c:898
jl_toplevel_eval_flex at /Users/solver/Projects/julia-1.12/src/toplevel.c:1035
jl_toplevel_eval_flex at /Users/solver/Projects/julia-1.12/src/toplevel.c:975
ijl_toplevel_eval at /Users/solver/Projects/julia-1.12/src/toplevel.c:1047 [inlined]
ijl_toplevel_eval_in at /Users/solver/Projects/julia-1.12/src/toplevel.c:1092
eval at ./boot.jl:489
include_string at ./loading.jl:2843
_include at ./loading.jl:2903
include at ./Base.jl:307
IncludeInto at ./Base.jl:308
jfptr_IncludeInto_101193 at /Users/solver/Projects/julia-1.12/usr/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/solver/Projects/julia-1.12/src/julia.h:2387 [inlined]
do_call at /Users/solver/Projects/julia-1.12/src/interpreter.c:123
eval_stmt_value at /Users/solver/Projects/julia-1.12/src/interpreter.c:194 [inlined]
eval_body at /Users/solver/Projects/julia-1.12/src/interpreter.c:689
jl_interpret_toplevel_thunk at /Users/solver/Projects/julia-1.12/src/interpreter.c:898
jl_toplevel_eval_flex at /Users/solver/Projects/julia-1.12/src/toplevel.c:1035
jl_toplevel_eval_flex at /Users/solver/Projects/julia-1.12/src/toplevel.c:975
ijl_toplevel_eval at /Users/solver/Projects/julia-1.12/src/toplevel.c:1047 [inlined]
ijl_toplevel_eval_in at /Users/solver/Projects/julia-1.12/src/toplevel.c:1092
eval at ./boot.jl:489
include_string at ./loading.jl:2843
_include at ./loading.jl:2903
include at ./Base.jl:307
IncludeInto at ./Base.jl:308
jfptr_IncludeInto_101193 at /Users/solver/Projects/julia-1.12/usr/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/solver/Projects/julia-1.12/src/julia.h:2387 [inlined]
do_call at /Users/solver/Projects/julia-1.12/src/interpreter.c:123
eval_stmt_value at /Users/solver/Projects/julia-1.12/src/interpreter.c:194 [inlined]
eval_body at /Users/solver/Projects/julia-1.12/src/interpreter.c:689
jl_interpret_toplevel_thunk at /Users/solver/Projects/julia-1.12/src/interpreter.c:898
jl_toplevel_eval_flex at /Users/solver/Projects/julia-1.12/src/toplevel.c:1035
jl_toplevel_eval_flex at /Users/solver/Projects/julia-1.12/src/toplevel.c:975
ijl_toplevel_eval at /Users/solver/Projects/julia-1.12/src/toplevel.c:1047 [inlined]
ijl_toplevel_eval_in at /Users/solver/Projects/julia-1.12/src/toplevel.c:1092
jlplt_ijl_toplevel_eval_in_57483 at /Users/solver/Projects/julia-1.12/usr/lib/julia/sys.dylib (unknown line)
eval at ./boot.jl:489
exec_options at ./client.jl:283
_start at ./client.jl:550
jfptr__start_101640 at /Users/solver/Projects/julia-1.12/usr/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/solver/Projects/julia-1.12/src/julia.h:2387 [inlined]
true_main at /Users/solver/Projects/julia-1.12/src/jlapi.c:971
jl_repl_entrypoint at /Users/solver/Projects/julia-1.12/src/jlapi.c:1139
Allocations: 99305013 (Pool: 99303908; Big: 1105); GC: 103
ERROR: Package FastTransforms errored during testing (received signal: 11)
@MikaelSlevinsky
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the crash by running the tests on Julia 1.12, starting with test/libfasttransformstests.jl and the test_1d_plans call at line 28. Trace the failing path through src/libfasttransforms.jl lines 880 and 986 into ft_mpfr_trmv_ptr in libfasttransforms.dylib. Done means the test suite completes without the signal 11 failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100