-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Julia crash with FFTW fft_plan based fft #51249
Comments
@JuhaHeiskala thank you for your report. The JuliaLang/julia issue tracker is for issues with Julia the language, runtime or compiler, not for individual packages. I would recommend filling the issue with https://github.com/JuliaMath/FFTW.jl A quick debugging thing you could do is to start Julia with
|
For the benefit of future readers, the problem is serialising a pointer (contained in the plan object) in a julia session, and then deserialising it when loading the package in a different session: the pointer created in the old session points to garbage memory in the new session. The solution is not to try to serialise pointers during precompilation of a package. |
We serialized pointers to |
FYI:
Julia 1.9.3 installed from Generic linux package on Ubuntu 22.04 system.
I get a crash when using the below code as a module with
using Test
, but not if I load the source directly in REPLinclude("Test.jl")
.Test.jl code below
(Edit: view is not actually need, also
fft_plan*A[:,1]
crashes. I just used the view when hit this the first time)I.e. below does not crash
but this crashes
The text was updated successfully, but these errors were encountered: