CUDA.jl on Jupyter / ubuntu 24

Hi,
I’m running the latest julia + CUDA (I update regularly) on two ubuntu 24.04.2 different machines. I use to develop my codes in jupyter (also latest) and in recent weeks I’m experimenting random crashes when doing CUDA operations, things I did not see before with previous versions. Run it once, works, run again, crashes, …seems a crash event. And running the same code on the REPL directly does not crash.
BTW I run that on both a RTX4060 and a RTX5060Ti, with the same result (as I said, two different computers)
An easy example would be the following

using CUDA

kind     = Float64
Nr       = 1025
δr       = sqrt(2π/Nr)
r        = [ δr*(n-Nr/2) for n in 0:Nr-1 ]
rc       = CuArray(kind.(r))

Fr_Ex(z) = complex(1.f0/(1.f0+z^2)^2);
fr_Ex_c  = Fr_Ex.(rc);

which is just a minimal part of a much larger code.

Now the question is: am I the only one experimenting these problems recently?
And if the problem is with Jupyter, what editors do you use that allow you to develop
using cells as jupyter?

Thanks a lot.