Open ludvigak opened 3 weeks ago
This might be a duplicate of https://github.com/JuliaMath/FFTW.jl/issues/200 and https://github.com/JuliaMath/FFTW.jl/issues/275
Tested your example on ubuntu 22.04 linux (Ryzen 2, 5700U), FFTW v1.8.0 (FFTW.version=3.3.10), Julia 1.10.0, and no crash, FYI.
Related to the FINUFFT.jl issue https://github.com/ludvigak/FINUFFT.jl/issues/61 we have boiled down that the following code causes a crash running on Windows with Julia v1.10.4 and FFTW v1.8.0, but only when explicitly setting the thread count in julia using
--threads
.e.g. running
julia --threads=8 fftwcrash.jl
gives the following output, although the number of iterations before the crash varies from run to runResults do vary with other choices of array length and arguments to
set_num_threads
and--threads
, but the above combination consistently crashes.