FastTransforms.jl
FastTransforms.jl copied to clipboard
LibFastTransforms crashing in tests on 1.12
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
It's an issue with BigFloat. Possibly something is now #undef that was previously populated
MWE:
julia> using FastTransforms; T = BigFloat; n = 64; x = T(1)./(1:n); Id = Matrix{T}(I, n, n); p1 = plan_leg2cheb(Id);
julia> p1*x
[50351] signal 11 (2): Segmentation fault: 11
in expression starting at REPL[3]:1
__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
unknown function (ip: 0x12cd581d7) at (unknown file)
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
__repl_entry_eval_expanded_with_loc at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:301
jl_apply at /Users/solver/Projects/julia-1.12/src/julia.h:2387 [inlined]
jl_f_invokelatest at /Users/solver/Projects/julia-1.12/src/builtins.c:881
toplevel_eval_with_hooks at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:308
toplevel_eval_with_hooks at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:312
toplevel_eval_with_hooks at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:305 [inlined]
eval_user_input at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:330
repl_backend_loop at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:452
#start_repl_backend#41 at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:427
start_repl_backend at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:424 [inlined]
#run_repl#50 at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:653
run_repl at /Users/solver/Projects/julia-1.12/usr/share/julia/stdlib/v1.12/REPL/src/REPL.jl:639
jfptr_run_repl_18292 at /Users/solver/Projects/julia-1.12/usr/share/julia/compiled/v1.12/REPL/u0gqU_Ej7oz.dylib (unknown line)
run_std_repl at ./client.jl:478
jfptr_run_std_repl_97638 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]
jl_f_invokelatest at /Users/solver/Projects/julia-1.12/src/builtins.c:881
run_main_repl at ./client.jl:499
repl_main at ./client.jl:586 [inlined]
_start at ./client.jl:561
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: 4741535 (Pool: 4741266; Big: 269); GC: 10
zsh: segmentation fault julia