VS Code + stackoverflowerror

Is anyone else getting the following error? I’m running Windows and I get the error for both 1.7 and 1.6.4 when running the following in VS Code (but not when it is run directly in the REPL)


function test()

    a = randn(241,241)
    b = randn(241)
    c = a\b
    
    return c

end

test()

Running the above, I get greeted with “ERROR: LoadError: StackOverflowError:”

This looks like
https://github.com/JuliaLang/julia/issues/43008

Yes. For me, Daviehh’s example runs without error when executed in the Julia REPL, but errors when run through VS Code.

At least two issues have been filed on this problem. The Julia developers understand it and are working on it. If you’re using an Intel machine then using the MKL blas will fix this problem.

See

https://github.com/JuliaLang/julia/issues/43242

1 Like