-
Notifications
You must be signed in to change notification settings - Fork 35
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
crash with Julia 1.8.4 under Windows 11 #95
Comments
Do you see any error? |
no. When I use directlty Julia (= without IDE), there is no error printed, just the Julia api closes and disappears. I observe the same problem with package XGBoost.jl. Both packages are wrappers for external libraries; may be this is linked. |
Okay. The exit code should mean heap corruption and since I have no idea how to debug that... can you try running the following code in a fresh Julia session? It is basically the body of
|
Thanks, I did run it:
Then this command below:
kills Julia (with no printed info). What I don't understand is that LIVSIM.jl works fine with my Julia 1.8.3 (same for XGBoost.jl). |
I guess you could try removing the precompile cache at Apart from that, I don't know how to proceed. If nobody else responds here, I suggest you to create a thread at Discourse. |
Removing the cache did not work. |
Under Windows11, both packages XGboost.jl or LIBSVM.j do not work from 1.8.4, even with v1.9.0-beta3. |
I see in the Discourse thread that the problem was already bisected, and it is mentioned in the XGBoost.jl issue that the problem is being investigated on the Julia's side. I don't think we can do much on the side of LIBSVM.jl. Let's just keep the issue open here so that other users who potentially observe the same problem know it has been reported. We can close it once it is resolved in Julia. |
FYI |
LIBSVM also seems to use OpenMP so @mkitti is probably right. Still, as I understand it, crashing |
Same issue with Julia 1.9.0 |
Fixed in Julia master by JuliaLang/julia#50135 |
Thanks @giordano! Can anyone with a Windows machine download a nightly version and verify that the issue is gone so we can close it? |
I built his branch. The tests pass.
|
Great! Thank you, @mkitti, for the verification. Let's close this issue then. For anyone affected: the fix will be part of Julia 1.10 (released in several months). The fix is also scheduled for back-porting to 1.9 so it should be present in the future version 1.9.2 (released in several weeks). In the meantime, consider using the nightly version of Julia, which already contains the fix. |
I am using LIBSVM.jl v0.8.0, under Windows 11.
It works fine with Julia 1.8.3:
julia> versioninfo()
Julia Version 1.8.3
Commit 0434deb161 (2022-11-14 20:14 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
Threads: 8 on 16 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS = 8
But when I uses Julia 1.8.4:
julia>
versioninfo()Julia Version 1.8.4
Commit 00177ebc4f (2022-12-23 21:32 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
Threads: 8 on 16 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS = 8`
running any function kills my Julia session, for instance after doing:
using LIBSVM
(X, y) = (randn(100,4), randn(100))
and then the command below;
svmtrain(X', y)
kills the process and closes directly Julia.
Did somebody observe the same problem and know what is happening?
The text was updated successfully, but these errors were encountered: