I am having a problem with IJulia throwing StackOverflowError: in 1.6.4. I am pretty sure that I was having no problem in 1.6.3 and have tested the notebook in 1.6.1 with no problems.
Is there any way I can get 1.6.3 to see if there is or is not a problem with 1.6.3 and stick with that version if it works ok. The downloads page only offers 1.6.4 and I did not save 1.6.3. My copy of 1.6.1 was on a machine that I rarely use, and I’m lucky to have it.
This code that throws the exception is complicated and I do not have an MWE yet. All I know is that it uses FFTW and allocates only a modest (< 100MB) amount of storage.
Yup. It was osx for me too. I’m not sure if it’s a 1.6.4 problem or a Monterey problem, but it is a problem. Given that it’s the two of us, perhaps 1.6.4 hates nonlinear solver work.
@rveltz ,were you able to come up with a MWE? Someone should file an issue if that someone could clearly identify the problem. That someone is not me, at least not yet.
I think it would be really helpful, if one of you could make minimum crashing example. Maybe it could become a test in some package to make sure we will get rid of this bug.
I am working on it, but it if happens in all of Juno/VScode/IJulia, it’ll be hard to find. If I make any progress I will post on this thread and file an issue, at least if I can figure out which package has the issue.
If the problem vanishes in 1.7, then it really does not matter.
1.7 has the same problem. Switching to the MKL BLAS solved it on my intel Macs and also with the x86 version of 1.7.0 on my M1 Mac. The success on M1 surprised me.
MKL has to be using rosetta2 and the performance was good. I did a few tests an it looks 10-20% faster than openblas in the REPL for moderately sized problems (1000x1000 Gaussian elimination …)
I’m now using x86 1.7.0 on all my machines while I wait for the openblas fix for the native M1 version.
So using MKL is now in my startup.jl and startup_ijulia.jl files. Problem solved!