Skip to content

Julia 1.8.4, 1.8.5 and 1.9.0-beta3 crash with XGBoost.jl and LIBSVM.jl under Windows 11 #48187

@mlesnoff

Description

@mlesnoff

I am using LIBSVM.jl v0.8.0, and XGBoost.jl v2.2.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 of LIBSVM.jl or XGBoost.jl kills my Julia session, for instance after doing:

using XGBoost
(X, y) = (randn(100,4), randn(100))

then the command below;
bst = xgboost((X, y))

kills the process and closes directly Julia without any printed error in the terminal.

I created a thread at Discourse but got no solution.

I already opened two issues: JuliaML/LIBSVM.jl#95 and dmlc/XGBoost.jl#153. The second raised unexplained error on windows.

Both LIBSVM.jl and XGBoost.jl wrap C/C++ code; this may be linked.

Did somebody observe the same problem and know what could happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionsystem:windowsAffects only Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions