JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.43k stars 5.45k forks source link

Crash when opening julia 1.11-rc3 #55632

Closed hz-xiaxz closed 5 days ago

hz-xiaxz commented 2 weeks ago

I installed the latest julia 1.11-rc3 version using juliaup

(base) ➜  HUAWEI juliaup status
 Default  Channel  Version                     Update
------------------------------------------------------
       *  rc       1.11.0-rc3+0.x64.linux.gnu
          release  1.10.5+0.x64.linux.gnu

the startup of julia crashes at my Ubuntu system (in WSL2) and gives the output

(base) ➜  HUAWEI julia

[2666] signal 6 (-6): Aborted
in expression starting at none:0
pthread_kill at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
raise at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
jl_restore_system_image_from_stream_ at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/staticdata.c:3501
jl_restore_system_image_from_stream at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/staticdata.c:3694 [inlined]
ijl_restore_system_image_data at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/staticdata.c:3759
jl_load_sysimg_so at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/staticdata.c:624 [inlined]
ijl_restore_system_image at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/staticdata.c:3730
_finish_julia_init at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/init.c:861
julia_init at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/init.c:843
jl_repl_entrypoint at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/jlapi.c:1053
main at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/cli/loader_exe.c:58
unknown function (ip: 0x7f9739280d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4010b8)
Allocations: 0 (Pool: 0; Big: 0); GC: 0
[1]    2666 IOT instruction  julia

I ran sudo apt update and sudo apt upgrade to keep my package updated but the problem is unsolved.

giordano commented 2 weeks ago

For what is worth, the error is coming from https://github.com/JuliaLang/julia/blob/616e45539db4c49ab019b7ccd318800f240743f6/src/staticdata.c#L3501 That code seems to have been modified in #52119

ViralBShah commented 2 weeks ago

Any LD_LIBRARY_PATH or LD_PRELOAD?

hz-xiaxz commented 2 weeks ago

Any LD_LIBRARY_PATH or LD_PRELOAD?

Nope

(base) ➜  HUAWEI echo $LD_LIBRARY_PATH

(base) ➜  HUAWEI echo $LD_PRELOAD
Keno commented 6 days ago

If nobody else can reproduce this, I think the most plausible explanation is a corrupted system image. Maybe try re-downloading or at least checking the shasum.

ufechner7 commented 6 days ago

If nobody else can reproduce this, I think the most plausible explanation is a corrupted system image. Maybe try re-downloading or at least checking the shasum.

But did anybody try to reproduce it in WSL2 ?

hz-xiaxz commented 5 days ago

yes reinstall does help, I think I'll close it now